Commit 3c7f2ff3 authored by Xiwen JIANG's avatar Xiwen JIANG

fill dci for TM7

parent 42ffffd9
......@@ -226,7 +226,7 @@ void fill_dci(DCI_PDU *DCI_pdu, uint8_t sched_subframe, PHY_VARS_eNB *phy_vars_e
DCI_pdu->dci_alloc[0].format = format1;
DCI_pdu->dci_alloc[0].ra_flag = 0;
if (transmission_mode<3) {
if (transmission_mode<3 || transmission_mode == 7) {
//user 1
switch (phy_vars_eNB->lte_frame_parms.N_RB_DL) {
case 25:
......
......@@ -1151,7 +1151,7 @@ int main(int argc, char **argv)
P_RNTI,
PHY_vars_eNB->eNB_UE_stats[0].DL_pmi_single);
if(transmission_mode==7)
if (transmission_mode == 7)
PHY_vars_eNB->dlsch_eNB[0][0]->harq_processes[0]->mimo_mode = TM7; //Xiwen: to check about harq_pid
num_dci++;
......
......@@ -653,6 +653,7 @@ schedule_ue_spec(
switch (mac_xface->get_transmission_mode(module_idP,CC_id,rnti)) {
case 1:
case 2:
case 7:
default:
switch (frame_parms[CC_id]->N_RB_DL) {
case 6:
......@@ -1545,6 +1546,8 @@ fill_DLSCH_dci(
case 1:
case 2:
case 7:
LOG_D(MAC,"[eNB %d] CC_id %d Adding UE %d spec DCI for %d PRBS \n",module_idP, CC_id, UE_id, nb_rb);
if (PHY_vars_eNB_g[module_idP][CC_id]->lte_frame_parms.frame_type == TDD) {
......
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