mirror of https://github.com/PentHertz/srsLTE.git
Added rrc has nr neighbour cells
This commit is contained in:
parent
0e4d77da76
commit
5df2fb1fa1
|
@ -149,6 +149,10 @@ protected:
|
|||
bool is_serving_cell(uint32_t earfcn, uint32_t pci) const;
|
||||
int start_cell_select();
|
||||
|
||||
#ifdef HAVE_5GNR
|
||||
bool has_neighbour_cell_nr(uint32_t earfcn, uint32_t pci) const;
|
||||
#endif
|
||||
|
||||
private:
|
||||
typedef struct {
|
||||
enum { PCCH, RLF, RA_COMPLETE, STOP } command;
|
||||
|
|
|
@ -570,6 +570,13 @@ bool rrc::has_neighbour_cell(uint32_t earfcn, uint32_t pci) const
|
|||
return meas_cells.has_neighbour_cell(earfcn, pci);
|
||||
}
|
||||
|
||||
#ifdef HAVE_5GNR
|
||||
bool rrc::has_neighbour_cell_nr(uint32_t earfcn, uint32_t pci) const
|
||||
{
|
||||
return meas_cells_nr.has_neighbour_cell(earfcn, pci);
|
||||
}
|
||||
#endif
|
||||
|
||||
bool rrc::is_serving_cell(uint32_t earfcn, uint32_t pci) const
|
||||
{
|
||||
return meas_cells.serving_cell().phy_cell.earfcn == earfcn and meas_cells.serving_cell().phy_cell.pci == pci;
|
||||
|
|
Loading…
Reference in New Issue