Commit 7e172e34 authored by Roberto Louro Magueta's avatar Roberto Louro Magueta

Fix from frame_parms->nb_antennas_tx to UE->frame_parms.nb_antennas_tx in ulsim

parent cb456a23
...@@ -1224,7 +1224,7 @@ int main(int argc, char **argv) ...@@ -1224,7 +1224,7 @@ int main(int argc, char **argv)
//////////////////////////////////////////////////// ////////////////////////////////////////////////////
tx_offset = frame_parms->get_samples_slot_timestamp(slot,frame_parms,0); tx_offset = frame_parms->get_samples_slot_timestamp(slot,frame_parms,0);
txlev_sum = 0; txlev_sum = 0;
for (int aa=0; aa<frame_parms->nb_antennas_tx; aa++) { for (int aa=0; aa<UE->frame_parms.nb_antennas_tx; aa++) {
atxlev[aa] = signal_energy(&UE->common_vars.txdata[aa][tx_offset + 5*frame_parms->ofdm_symbol_size + 4*frame_parms->nb_prefix_samples + frame_parms->nb_prefix_samples0], atxlev[aa] = signal_energy(&UE->common_vars.txdata[aa][tx_offset + 5*frame_parms->ofdm_symbol_size + 4*frame_parms->nb_prefix_samples + frame_parms->nb_prefix_samples0],
frame_parms->ofdm_symbol_size + frame_parms->nb_prefix_samples); frame_parms->ofdm_symbol_size + frame_parms->nb_prefix_samples);
......
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