Commit a461496e authored by luis_pereira87's avatar luis_pereira87

Fix nRNRB for LTE

parent c1b0dc0b
...@@ -43,8 +43,12 @@ extern RAN_CONTEXT_t RC; ...@@ -43,8 +43,12 @@ extern RAN_CONTEXT_t RC;
int nrb_lut[29] = {11, 18, 24, 25, 31, 32, 38, 51, 52, 65, 66, 78, 79, 93, 106, 107, 121, 132, 133, 135, 160, 162, 189, 216, 217, 245, 264, 270, 273}; int nrb_lut[29] = {11, 18, 24, 25, 31, 32, 38, 51, 52, 65, 66, 78, 79, 93, 106, 107, 121, 132, 133, 135, 160, 162, 189, 216, 217, 245, 264, 270, 273};
int to_NRNRB(int nrb) { int to_NRNRB(int nrb) {
for (int i=0;i<29;i++) if (nrb_lut[i] == nrb) return i; if (RC.nrrrc) {
AssertFatal(1==0,"nrb %d is not in the list of possible NRNRB\n",nrb); for (int i=0;i<29;i++) if (nrb_lut[i] == nrb) return i;
AssertFatal(1==0,"nrb %d is not in the list of possible NRNRB\n",nrb);
} else {
return nrb;
}
} }
int DU_handle_RESET(instance_t instance, int DU_handle_RESET(instance_t instance,
......
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