Fixed PRACH preamble when non-contention based RA

master
Ismael Gomez 7 years ago
parent 19129cf152
commit 8f206eb438

@ -222,7 +222,7 @@ void ra_proc::step_resource_selection() {
if (preambleIndex > 0) { if (preambleIndex > 0) {
// Preamble is chosen by Higher layers (ie Network) // Preamble is chosen by Higher layers (ie Network)
sel_maskIndex = maskIndex; sel_maskIndex = maskIndex;
sel_preamble = (uint32_t) preambleIndex%nof_preambles; sel_preamble = (uint32_t) preambleIndex;
} else { } else {
// Preamble is chosen by MAC UE // Preamble is chosen by MAC UE
if (!msg3_transmitted) { if (!msg3_transmitted) {

Loading…
Cancel
Save