F1 Initial UL RRC message: fill PLMN and Cell ID
This commit is contained in:
@@ -2916,8 +2916,11 @@ void send_initial_ul_rrc_message(gNB_MAC_INST *mac, int rnti, const uint8_t *sdu
|
||||
uint8_t du2cu[1024];
|
||||
int encoded = encode_cellGroupConfig(UE->CellGroup, du2cu, sizeof(du2cu));
|
||||
|
||||
DevAssert(mac->f1_config.setup_req != NULL);
|
||||
AssertFatal(mac->f1_config.setup_req->num_cells_available == 1, "can handle only one cell\n");
|
||||
const f1ap_initial_ul_rrc_message_t ul_rrc_msg = {
|
||||
/* TODO: add mcc, mnc, cell_id, ..., is not available at MAC yet */
|
||||
.plmn = mac->f1_config.setup_req->cell[0].info.plmn,
|
||||
.nr_cellid = mac->f1_config.setup_req->cell[0].info.nr_cellid,
|
||||
.gNB_DU_ue_id = rnti,
|
||||
.crnti = rnti,
|
||||
.rrc_container = (uint8_t *) sdu,
|
||||
|
||||
Reference in New Issue
Block a user