do not handle not decoded cellGroupConfig (issue #1031)
This commit is contained in:
@@ -1161,13 +1161,11 @@ static void nr_rrc_ue_process_rrcReconfiguration(NR_UE_RRC_INST_t *rrc, int gNB_
|
|||||||
LOG_E(NR_RRC, "\n");
|
LOG_E(NR_RRC, "\n");
|
||||||
// free the memory
|
// free the memory
|
||||||
SEQUENCE_free(&asn_DEF_NR_CellGroupConfig, (void *)cellGroupConfig, 1);
|
SEQUENCE_free(&asn_DEF_NR_CellGroupConfig, (void *)cellGroupConfig, 1);
|
||||||
}
|
} else {
|
||||||
|
|
||||||
if (LOG_DEBUGFLAG(DEBUG_ASN1))
|
if (LOG_DEBUGFLAG(DEBUG_ASN1))
|
||||||
xer_fprint(stdout, &asn_DEF_NR_CellGroupConfig, (const void *) cellGroupConfig);
|
xer_fprint(stdout, &asn_DEF_NR_CellGroupConfig, (const void *) cellGroupConfig);
|
||||||
|
|
||||||
nr_rrc_cellgroup_configuration(rrc, cellGroupConfig, gNB_index);
|
nr_rrc_cellgroup_configuration(rrc, cellGroupConfig, gNB_index);
|
||||||
|
|
||||||
AssertFatal(!IS_SA_MODE(get_softmodem_params()), "secondaryCellGroup only used in NSA for now\n");
|
AssertFatal(!IS_SA_MODE(get_softmodem_params()), "secondaryCellGroup only used in NSA for now\n");
|
||||||
nr_mac_rrc_message_t rrc_msg = {0};
|
nr_mac_rrc_message_t rrc_msg = {0};
|
||||||
rrc_msg.payload_type = NR_MAC_RRC_CONFIG_CG;
|
rrc_msg.payload_type = NR_MAC_RRC_CONFIG_CG;
|
||||||
@@ -1176,6 +1174,7 @@ static void nr_rrc_ue_process_rrcReconfiguration(NR_UE_RRC_INST_t *rrc, int gNB_
|
|||||||
config_cg->UE_NR_Capability = rrc->UECap.UE_NR_Capability;
|
config_cg->UE_NR_Capability = rrc->UECap.UE_NR_Capability;
|
||||||
nr_rrc_send_msg_to_mac(rrc, &rrc_msg);
|
nr_rrc_send_msg_to_mac(rrc, &rrc_msg);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (ie->measConfig) {
|
if (ie->measConfig) {
|
||||||
LOG_I(NR_RRC, "RRCReconfiguration includes Measurement Configuration\n");
|
LOG_I(NR_RRC, "RRCReconfiguration includes Measurement Configuration\n");
|
||||||
nr_rrc_ue_process_measConfig(rrcNB, ie->measConfig, &rrc->timers_and_constants);
|
nr_rrc_ue_process_measConfig(rrcNB, ie->measConfig, &rrc->timers_and_constants);
|
||||||
|
|||||||
Reference in New Issue
Block a user