using common configuration complete to signal sib1 decoded
This commit is contained in:
@@ -365,9 +365,6 @@ typedef struct {
|
||||
/// SSB index from MIB decoding
|
||||
uint8_t mib_ssb;
|
||||
|
||||
/// Flag for SIB1
|
||||
uint8_t sib1_received;
|
||||
|
||||
/// Last NDI of UL HARQ processes
|
||||
uint8_t UL_ndi[NR_MAX_HARQ_PROCESSES];
|
||||
|
||||
|
||||
@@ -152,7 +152,8 @@ int8_t nr_ue_decode_mib(module_id_t module_id,
|
||||
uint32_t band;
|
||||
uint16_t ssb_start_symbol;
|
||||
|
||||
if ((get_softmodem_params()->sa == 1) && (mac->sib1_received == 0)) {
|
||||
if ((get_softmodem_params()->sa == 1) && (mac->common_configuration_complete == 0)) {
|
||||
|
||||
scs_ssb = get_softmodem_params()->numerology;
|
||||
band = mac->nr_band;
|
||||
ssb_start_symbol = get_ssb_start_symbol(band,scs_ssb,ssb_index);
|
||||
|
||||
@@ -1189,7 +1189,7 @@ int8_t nr_rrc_ue_decode_NR_BCCH_DL_SCH_Message(module_id_t module_id,
|
||||
check_requested_SI_List(module_id, NR_UE_rrc_inst[module_id].requested_SI_List, *sib1);
|
||||
if( nr_rrc_get_state(module_id) <= RRC_STATE_IDLE_NR ) {
|
||||
NR_UE_rrc_inst[module_id].ra_trigger = INITIAL_ACCESS_FROM_RRC_IDLE;
|
||||
LOG_I(PHY,"Setting state to NR_RRC_SI_RECEIVED\n");
|
||||
LOG_I(NR_RRC,"Setting state to NR_RRC_SI_RECEIVED\n");
|
||||
nr_rrc_set_state (module_id, NR_RRC_SI_RECEIVED);
|
||||
}
|
||||
// take ServingCellConfigCommon and configure L1/L2
|
||||
|
||||
Reference in New Issue
Block a user