Use u64 for neighbour nr_cellid: is up to 38 bits
This commit is contained in:
@@ -1598,7 +1598,7 @@ static void fill_neighbour_cell_configuration(uint8_t gnb_idx, gNB_RRC_INST *rrc
|
|||||||
paramdef_t NeighbourCellParams[] = GNBNEIGHBOURCELLPARAMS_DESC;
|
paramdef_t NeighbourCellParams[] = GNBNEIGHBOURCELLPARAMS_DESC;
|
||||||
paramlist_def_t NeighbourCellParamList = {GNB_CONFIG_STRING_NEIGHBOUR_CELL_LIST, NULL, 0};
|
paramlist_def_t NeighbourCellParamList = {GNB_CONFIG_STRING_NEIGHBOUR_CELL_LIST, NULL, 0};
|
||||||
config_getlist(config_get_if(), &NeighbourCellParamList, NeighbourCellParams, sizeofArray(NeighbourCellParams), neighbourpath);
|
config_getlist(config_get_if(), &NeighbourCellParamList, NeighbourCellParams, sizeofArray(NeighbourCellParams), neighbourpath);
|
||||||
LOG_D(GNB_APP, "HO LOG: For the Cell: %d Neighbour Cell ELM NUM: %d\n", cell->nr_cell_id, NeighbourCellParamList.numelt);
|
LOG_D(GNB_APP, "HO LOG: For the Cell: %ld Neighbour Cell ELM NUM: %d\n", cell->nr_cell_id, NeighbourCellParamList.numelt);
|
||||||
if (NeighbourCellParamList.numelt < 1)
|
if (NeighbourCellParamList.numelt < 1)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|||||||
@@ -367,7 +367,7 @@ typedef struct {
|
|||||||
} nr_neighbour_gnb_configuration_t;
|
} nr_neighbour_gnb_configuration_t;
|
||||||
|
|
||||||
typedef struct neighbour_cell_configuration_s {
|
typedef struct neighbour_cell_configuration_s {
|
||||||
int nr_cell_id;
|
uint64_t nr_cell_id;
|
||||||
seq_arr_t *neighbour_cells;
|
seq_arr_t *neighbour_cells;
|
||||||
} neighbour_cell_configuration_t;
|
} neighbour_cell_configuration_t;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user