Commit 4d1b88e7 authored by Stone WU's avatar Stone WU

bug #126520: select default TDA(not mixed tda) when configure UL grant from SS

parent d2187d28
......@@ -41,6 +41,11 @@
const int get_ul_tda(gNB_MAC_INST *nrmac, const NR_ServingCellConfigCommon_t *scc, int frame, int slot) {
if(nrmac->grant_prb){
/*If configured from SS, don't use mixed slot. Use default TDA */
return 0;
}
/* there is a mixed slot only when in TDD */
const NR_TDD_UL_DL_Pattern_t *tdd = scc->tdd_UL_DL_ConfigurationCommon ? &scc->tdd_UL_DL_ConfigurationCommon->pattern1 : NULL;
AssertFatal(tdd || nrmac->common_channels->frame_type == FDD, "Dynamic TDD not handled yet\n");
......
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