Commit bab16b7e authored by Sakthivel Velumani's avatar Sakthivel Velumani

Fix long PRACH slot selection

parent 82fb9fcc
...@@ -498,7 +498,7 @@ static void configure_prach_occasions(NR_UE_MAC_INST_t *mac, int scs) ...@@ -498,7 +498,7 @@ static void configure_prach_occasions(NR_UE_MAC_INST_t *mac, int scs)
sl *= 2; sl *= 2;
// if only 1 slot per subframe (or 60kHz slot) in case of 30 or 120kHz it's the odd one // if only 1 slot per subframe (or 60kHz slot) in case of 30 or 120kHz it's the odd one
// as defined in 5.3.2 of 211 // as defined in 5.3.2 of 211
if (prach_slots_in_sf == 1) if (((prach_info.format & 0xff) > 3) && prach_slots_in_sf == 1)
add_slot = 1; add_slot = 1;
} }
int slot = sl + add_slot; int slot = sl + add_slot;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment