Commit 81fb7628 authored by Robert Schmidt's avatar Robert Schmidt

get_min_rb_unit(): all channel bandwidths

parent ffc4f464
...@@ -2776,19 +2776,21 @@ get_min_rb_unit(module_id_t module_id, ...@@ -2776,19 +2776,21 @@ get_min_rb_unit(module_id_t module_id,
int N_RB_DL = to_prb(RC.mac[module_id]->common_channels[CC_id].mib->message.dl_Bandwidth); int N_RB_DL = to_prb(RC.mac[module_id]->common_channels[CC_id].mib->message.dl_Bandwidth);
switch (N_RB_DL) { switch (N_RB_DL) {
case 6: // 1.4 MHz case 6: // 1.4MHz
min_rb_unit = 1; min_rb_unit = 1;
break; break;
case 25: // 5HMz case 15: // 3MHz
case 25: // 5MHz
min_rb_unit = 2; min_rb_unit = 2;
break; break;
case 50: // 10HMz case 50: // 10MHz
min_rb_unit = 3; min_rb_unit = 3;
break; break;
case 100: // 20HMz case 75: // 15MHz
case 100: // 20MHz
min_rb_unit = 4; min_rb_unit = 4;
break; break;
......
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