Commit 44e1b7fb authored by Haruki NAOI's avatar Haruki NAOI

clean: mimo c-plane issue

(cherry picked from commit d553f48d6784894d73670670eb33a2b49132df71)
parent 59c5842b
......@@ -1105,17 +1105,24 @@ schedule_SI(module_id_t module_idP, frame_t frameP, sub_frame_t subframeP)
first_rb = 6;
break;
case 25:
//first_rb = 11;
#ifndef PHY_RM
first_rb = 11;
#else
first_rb = 21;
#endif
break;
case 50:
//first_rb = 23;
#ifndef PHY_RM
first_rb = 23;
#else
first_rb = 46;
break;
#endif break;
case 100:
//first_rb = 48;
#ifndef PHY_RM
first_rb = 48;
#else
first_rb = 96;
break;
#endif break;
}
vrb_map[first_rb] = 1;
......@@ -1126,34 +1133,54 @@ schedule_SI(module_id_t module_idP, frame_t frameP, sub_frame_t subframeP)
// Get MCS for length of SI, 3 PRBs
if (bcch_sdu_length <= 7) {
mcs = 0;
#ifdef PHY_RM
bcch_sdu_length = 7;
#endif
} else if (bcch_sdu_length <= 11) {
mcs = 1;
#ifdef PHY_RM
bcch_sdu_length = 11;
#endif
} else if (bcch_sdu_length <= 18) {
mcs = 2;
#ifdef PHY_RM
bcch_sdu_length = 18;
#endif
} else if (bcch_sdu_length <= 22) {
mcs = 3;
#ifdef PHY_RM
bcch_sdu_length = 22;
#endif
} else if (bcch_sdu_length <= 26) {
mcs = 4;
#ifdef PHY_RM
bcch_sdu_length = 26;
#endif
} else if (bcch_sdu_length <= 28) {
mcs = 5;
#ifdef PHY_RM
bcch_sdu_length = 28;
#endif
} else if (bcch_sdu_length <= 32) {
mcs = 6;
#ifdef PHY_RM
bcch_sdu_length = 32;
#endif
} else if (bcch_sdu_length <= 41) {
mcs = 7;
#ifdef PHY_RM
bcch_sdu_length = 41;
#endif
} else if (bcch_sdu_length <= 49) {
mcs = 8;
#ifdef PHY_RM
bcch_sdu_length = 49;
#endif
} else if (bcch_sdu_length <= 59) {
mcs = 9;
#ifdef PHY_RM
bcch_sdu_length = 59;
#endif
}
else AssertFatal(1==0,"Cannot Assign mcs for bcch_sdu_length %d (max mcs 9)\n",bcch_sdu_length);
......
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