uint8_tnb_of_assoc_period;// Nb of association periods within the association pattern
uint8_tnb_of_prach_conf_period_in_max_period;// Nb of PRACH configuration periods within the maximum association pattern period (according to the size of the configured PRACH
uint8_tnb_of_frame;// Total number of frames included in the association pattern period (after mapping the SSBs and determining the real association pattern length)
}prach_association_pattern_t;
// SSB details
typedefstructssb_info{
booltransmitted;// True if the SSB index is transmitted according to the SSB positions map configuration
prach_occasion_info_t*mapped_ro[MAX_NB_RO_PER_SSB_IN_ASSOCIATION_PATTERN];// List of mapped RACH Occasions to this SSB index
uint32_tnb_mapped_ro;// Total number of mapped ROs to this SSB index
}ssb_info_t;
// List of all the possible SSBs and their details
typedefstructssb_list_info{
ssb_info_ttx_ssb[MAX_NB_SSB];
uint8_tnb_tx_ssb;
}ssb_list_info_t;
/*!\brief Top level UE MAC structure */
typedefstruct{
NR_UE_L2_STATE_tstate;
...
...
@@ -402,6 +439,9 @@ typedef struct {
NR_PHR_Config_t*phr_Config;
NR_RNTI_Value_t*cs_RNTI;
NR_MIB_t*mib;
structNR_SI_SchedulingInfo*si_SchedulingInfo;
intsi_window_start;
ssb_list_info_tssb_list;
NR_UE_DL_BWP_tcurrent_DL_BWP;
NR_UE_UL_BWP_tcurrent_UL_BWP;
...
...
@@ -485,43 +525,5 @@ typedef struct {
}NR_UE_MAC_INST_t;
// The PRACH Config period is a series of selected slots in one or multiple frames
uint8_tnb_of_assoc_period;// Nb of association periods within the association pattern
uint8_tnb_of_prach_conf_period_in_max_period;// Nb of PRACH configuration periods within the maximum association pattern period (according to the size of the configured PRACH
uint8_tnb_of_frame;// Total number of frames included in the association pattern period (after mapping the SSBs and determining the real association pattern length)
}prach_association_pattern_t;
// SSB details
typedefstructssb_info{
booltransmitted;// True if the SSB index is transmitted according to the SSB positions map configuration
prach_occasion_info_t*mapped_ro[MAX_NB_RO_PER_SSB_IN_ASSOCIATION_PATTERN];// List of mapped RACH Occasions to this SSB index
uint32_tnb_mapped_ro;// Total number of mapped ROs to this SSB index
}ssb_info_t;
// List of all the possible SSBs and their details