small bugfix: missing beam index when addressing txdataF in T tracer command. Also changed order of if(gNB->phase_comp) so that data is exported in any case.
This commit is contained in:
committed by
Robert Schmidt
parent
f3eb713084
commit
183b4a1d0f
@@ -289,10 +289,10 @@ void phy_procedures_gNB_TX(processingData_L1tx_t *msgTx,
|
|||||||
}
|
}
|
||||||
|
|
||||||
//apply the OFDM symbol rotation here
|
//apply the OFDM symbol rotation here
|
||||||
if (gNB->phase_comp) {
|
start_meas(&gNB->phase_comp_stats);
|
||||||
start_meas(&gNB->phase_comp_stats);
|
for (int i = 0; i < gNB->common_vars.num_beams_period; ++i) {
|
||||||
for(int i = 0; i < gNB->common_vars.num_beams_period; ++i) {
|
for (int aa = 0; aa < cfg->carrier_config.num_tx_ant.value; aa++) {
|
||||||
for (int aa = 0; aa < cfg->carrier_config.num_tx_ant.value; aa++) {
|
if (gNB->phase_comp) {
|
||||||
apply_nr_rotation_TX(fp,
|
apply_nr_rotation_TX(fp,
|
||||||
&gNB->common_vars.txdataF[i][aa][txdataF_offset],
|
&gNB->common_vars.txdataF[i][aa][txdataF_offset],
|
||||||
fp->symbol_rotation[0],
|
fp->symbol_rotation[0],
|
||||||
@@ -300,13 +300,16 @@ void phy_procedures_gNB_TX(processingData_L1tx_t *msgTx,
|
|||||||
fp->N_RB_DL,
|
fp->N_RB_DL,
|
||||||
0,
|
0,
|
||||||
fp->Ncp == EXTENDED ? 12 : 14);
|
fp->Ncp == EXTENDED ? 12 : 14);
|
||||||
T(T_GNB_PHY_DL_OUTPUT_SIGNAL, T_INT(0),
|
|
||||||
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(T_GNB_PHY_DL_OUTPUT_SIGNAL,
|
||||||
|
T_INT(0),
|
||||||
|
T_INT(frame),
|
||||||
|
T_INT(slot),
|
||||||
|
T_INT(aa),
|
||||||
|
T_BUFFER(&gNB->common_vars.txdataF[i][aa][txdataF_offset], fp->samples_per_slot_wCP * sizeof(int32_t)));
|
||||||
}
|
}
|
||||||
stop_meas(&gNB->phase_comp_stats);
|
|
||||||
}
|
}
|
||||||
|
stop_meas(&gNB->phase_comp_stats);
|
||||||
|
|
||||||
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_gNB_TX + gNB->CC_id, 0);
|
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_PROCEDURES_gNB_TX + gNB->CC_id, 0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user