Commit 8c051201 authored by francescomani's avatar francescomani

fix for RA NSA

parent 26e469cb
...@@ -3836,7 +3836,7 @@ uint8_t get_pusch_mcs_table(long *mcs_Table, ...@@ -3836,7 +3836,7 @@ uint8_t get_pusch_mcs_table(long *mcs_Table,
if (*mcs_Table == NR_PUSCH_Config__mcs_Table_qam256) if (*mcs_Table == NR_PUSCH_Config__mcs_Table_qam256)
return 1; return 1;
else else
return (2+(is_tp<<1)); return (2 + (is_tp << 1));
} }
else { else {
if ((*mcs_Table == NR_PUSCH_Config__mcs_Table_qam256) && if ((*mcs_Table == NR_PUSCH_Config__mcs_Table_qam256) &&
...@@ -3847,14 +3847,12 @@ uint8_t get_pusch_mcs_table(long *mcs_Table, ...@@ -3847,14 +3847,12 @@ uint8_t get_pusch_mcs_table(long *mcs_Table,
if ((*mcs_Table == NR_PUSCH_Config__mcs_Table_qam64LowSE) && if ((*mcs_Table == NR_PUSCH_Config__mcs_Table_qam64LowSE) &&
(target_ss == NR_SearchSpace__searchSpaceType_PR_ue_Specific) && (target_ss == NR_SearchSpace__searchSpaceType_PR_ue_Specific) &&
((rnti_type == NR_RNTI_C ) || (rnti_type == NR_RNTI_SP_CSI))) ((rnti_type == NR_RNTI_C ) || (rnti_type == NR_RNTI_SP_CSI)))
return (2+(is_tp<<1)); return (2 + (is_tp << 1));
if (rnti_type == NR_RNTI_MCS_C) if (rnti_type == NR_RNTI_MCS_C)
return (2+(is_tp<<1)); return (2 + (is_tp << 1));
AssertFatal(1==0,"Invalid configuration to set MCS table");
} }
} }
else return (0 + (is_tp * 3));
return (0+(is_tp*3));
} }
......
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