fixing an issue in n0 measurements
This commit is contained in:
@@ -366,7 +366,7 @@ void fill_ul_rb_mask(PHY_VARS_gNB *gNB, int frame_rx, int slot_rx) {
|
|||||||
|
|
||||||
int rb2, rb, nb_rb;
|
int rb2, rb, nb_rb;
|
||||||
for (int symbol=0;symbol<14;symbol++) {
|
for (int symbol=0;symbol<14;symbol++) {
|
||||||
|
if (gNB->gNB_config.tdd_table.max_tdd_periodicity_list[slot_rx].max_num_of_symbol_per_slot_list[symbol].slot_config.value==1){
|
||||||
nb_rb = 0;
|
nb_rb = 0;
|
||||||
for (int m=0;m<9;m++) gNB->rb_mask_ul[m] = 0;
|
for (int m=0;m<9;m++) gNB->rb_mask_ul[m] = 0;
|
||||||
gNB->ulmask_symb = -1;
|
gNB->ulmask_symb = -1;
|
||||||
@@ -423,6 +423,7 @@ void fill_ul_rb_mask(PHY_VARS_gNB *gNB, int frame_rx, int slot_rx) {
|
|||||||
if (nb_rb<gNB->frame_parms.N_RB_UL)
|
if (nb_rb<gNB->frame_parms.N_RB_UL)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void phy_procedures_gNB_common_RX(PHY_VARS_gNB *gNB, int frame_rx, int slot_rx) {
|
void phy_procedures_gNB_common_RX(PHY_VARS_gNB *gNB, int frame_rx, int slot_rx) {
|
||||||
|
|||||||
Reference in New Issue
Block a user