Commit eef36889 authored by rajeshwari.p's avatar rajeshwari.p

Removed Phase compensation/nr_rotation in DL/UL if IF4P5 mode is used with single antenna

Signed-off-by: default avatarrajeshwari.p <rajeshwari.p@vvdntech.com>
parent 17c1c580
...@@ -227,6 +227,8 @@ void rx_func(void *param) { ...@@ -227,6 +227,8 @@ void rx_func(void *param) {
// Do PRACH RU processing // Do PRACH RU processing
L1_nr_prach_procedures(gNB,frame_rx,slot_rx); L1_nr_prach_procedures(gNB,frame_rx,slot_rx);
//WA: comment rotation in tx/rx
if((gNB->num_RU == 1) && (gNB->RU_list[0]->if_south != REMOTE_IF4p5)) {
//apply the rx signal rotation here //apply the rx signal rotation here
for (int aa = 0; aa < gNB->frame_parms.nb_antennas_rx; aa++) { for (int aa = 0; aa < gNB->frame_parms.nb_antennas_rx; aa++) {
apply_nr_rotation_ul(&gNB->frame_parms, apply_nr_rotation_ul(&gNB->frame_parms,
...@@ -235,6 +237,7 @@ void rx_func(void *param) { ...@@ -235,6 +237,7 @@ void rx_func(void *param) {
0, 0,
gNB->frame_parms.Ncp==EXTENDED?12:14); gNB->frame_parms.Ncp==EXTENDED?12:14);
} }
}
phy_procedures_gNB_uespec_RX(gNB, frame_rx, slot_rx); phy_procedures_gNB_uespec_RX(gNB, frame_rx, slot_rx);
} }
......
...@@ -196,7 +196,9 @@ void phy_procedures_gNB_TX(processingData_L1tx_t *msgTx, ...@@ -196,7 +196,9 @@ void phy_procedures_gNB_TX(processingData_L1tx_t *msgTx,
// if ((frame&127) == 0) dump_pdsch_stats(gNB); // if ((frame&127) == 0) dump_pdsch_stats(gNB);
//apply the OFDM symbol rotation here //apply the OFDM symbol rotation here
// WA: Comment rotation in tx/rx
if((gNB->num_RU == 1) && (gNB->RU_list[0]->if_south != REMOTE_IF4p5)) {
for (aa=0; aa<cfg->carrier_config.num_tx_ant.value; aa++) { for (aa=0; aa<cfg->carrier_config.num_tx_ant.value; aa++) {
apply_nr_rotation(fp,(int16_t*) &gNB->common_vars.txdataF[aa][txdataF_offset],slot,0,fp->Ncp==EXTENDED?12:14); apply_nr_rotation(fp,(int16_t*) &gNB->common_vars.txdataF[aa][txdataF_offset],slot,0,fp->Ncp==EXTENDED?12:14);
...@@ -204,7 +206,7 @@ void phy_procedures_gNB_TX(processingData_L1tx_t *msgTx, ...@@ -204,7 +206,7 @@ void phy_procedures_gNB_TX(processingData_L1tx_t *msgTx,
T_INT(frame), T_INT(slot), T_INT(frame), T_INT(slot),
T_INT(aa), T_BUFFER(&gNB->common_vars.txdataF[aa][txdataF_offset], fp->samples_per_slot_wCP*sizeof(int32_t))); T_INT(aa), T_BUFFER(&gNB->common_vars.txdataF[aa][txdataF_offset], fp->samples_per_slot_wCP*sizeof(int32_t)));
} }
}
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_gNB_TX+offset,0); VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_gNB_TX+offset,0);
} }
......
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