do not change BWP at MAC and do not free SIB1 at RRC
This commit is contained in:
@@ -711,7 +711,10 @@ void nr_rrc_mac_config_req_sib1(module_id_t module_id,
|
|||||||
mac->si_SchedulingInfo = si_SchedulingInfo;
|
mac->si_SchedulingInfo = si_SchedulingInfo;
|
||||||
mac->nr_band = *scc->downlinkConfigCommon.frequencyInfoDL.frequencyBandList.list.array[0]->freqBandIndicatorNR;
|
mac->nr_band = *scc->downlinkConfigCommon.frequencyInfoDL.frequencyBandList.list.array[0]->freqBandIndicatorNR;
|
||||||
config_common_ue_sa(mac, scc, module_id, cc_idP);
|
config_common_ue_sa(mac, scc, module_id, cc_idP);
|
||||||
configure_current_BWP(mac, scc, NULL);
|
// configure BWP only if it is a SIB1 detection in non connected state (after sync)
|
||||||
|
// not if it is a periodical update of SIB1 (no change of BWP in that case)
|
||||||
|
if(mac->state < UE_CONNECTED)
|
||||||
|
configure_current_BWP(mac, scc, NULL);
|
||||||
|
|
||||||
// Setup the SSB to Rach Occasionsif (cell_group_config->spCellConfig) { mapping according to the config
|
// Setup the SSB to Rach Occasionsif (cell_group_config->spCellConfig) { mapping according to the config
|
||||||
build_ssb_to_ro_map(mac);
|
build_ssb_to_ro_map(mac);
|
||||||
|
|||||||
@@ -779,8 +779,9 @@ static int8_t nr_rrc_ue_decode_NR_BCCH_DL_SCH_Message(module_id_t module_id,
|
|||||||
if (bcch_message->message.present == NR_BCCH_DL_SCH_MessageType_PR_c1) {
|
if (bcch_message->message.present == NR_BCCH_DL_SCH_MessageType_PR_c1) {
|
||||||
switch (bcch_message->message.choice.c1->present) {
|
switch (bcch_message->message.choice.c1->present) {
|
||||||
case NR_BCCH_DL_SCH_MessageType__c1_PR_systemInformationBlockType1:
|
case NR_BCCH_DL_SCH_MessageType__c1_PR_systemInformationBlockType1:
|
||||||
if(SI_info->sib1 != NULL)
|
LOG_D(NR_RRC, "[UE %"PRIu8"] Decoding SIB1\n", module_id);
|
||||||
SEQUENCE_free(&asn_DEF_NR_SIB1, (void *)SI_info->sib1, 1);
|
if(SI_info->sib1)
|
||||||
|
ASN_STRUCT_FREE(asn_DEF_NR_SIB1, SI_info->sib1);
|
||||||
NR_SIB1_t *sib1 = bcch_message->message.choice.c1->choice.systemInformationBlockType1;
|
NR_SIB1_t *sib1 = bcch_message->message.choice.c1->choice.systemInformationBlockType1;
|
||||||
SI_info->sib1 = sib1;
|
SI_info->sib1 = sib1;
|
||||||
if(g_log->log_component[NR_RRC].level >= OAILOG_DEBUG)
|
if(g_log->log_component[NR_RRC].level >= OAILOG_DEBUG)
|
||||||
|
|||||||
Reference in New Issue
Block a user