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