Commit d95e6692 authored by ndomingues's avatar ndomingues

Increase the UL_tti_req_ahead_size to have enough room for MsgA-PUSCH

parent 0c6a38f1
...@@ -3074,8 +3074,9 @@ void UL_tti_req_ahead_initialization(gNB_MAC_INST * gNB, NR_ServingCellConfigCom ...@@ -3074,8 +3074,9 @@ void UL_tti_req_ahead_initialization(gNB_MAC_INST * gNB, NR_ServingCellConfigCom
return; return;
int size = n; int size = n;
if (scs == 0) // To have enough room for feedback possibly beyond the frame we need a larger array at 15kHz SCS
size <<= 1; // to have enough room for feedback possibly beyond the frame we need a larger array at 15kHz SCS // For 2-Step RA we need to schedule MsgA PUSCH in advance, usually in the next frame, so, we need also more time in advance
size = n << 1;
gNB->UL_tti_req_ahead_size = size; gNB->UL_tti_req_ahead_size = size;
gNB->UL_tti_req_ahead[CCid] = calloc(size, sizeof(nfapi_nr_ul_tti_request_t)); gNB->UL_tti_req_ahead[CCid] = calloc(size, sizeof(nfapi_nr_ul_tti_request_t));
......
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