Commit e049a6b4 authored by Raymond Knopp's avatar Raymond Knopp

fixed some amplitude issues in PSS/SSS

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7513 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 11f204db
...@@ -67,7 +67,7 @@ int generate_sss(mod_sym_t **txdataF, ...@@ -67,7 +67,7 @@ int generate_sss(mod_sym_t **txdataF,
Nsymb = (frame_parms->Ncp==NORMAL)?14:12; Nsymb = (frame_parms->Ncp==NORMAL)?14:12;
k = frame_parms->ofdm_symbol_size-3*12+5; k = frame_parms->ofdm_symbol_size-3*12+5;
a = (frame_parms->mode1_flag == 0) ? amp : (amp*ONE_OVER_SQRT2_Q15)>>15; a = (frame_parms->nb_antennas_tx == 1) ? amp : (amp*ONE_OVER_SQRT2_Q15)>>15;
for (i=0; i<62; i++) { for (i=0; i<62; i++) {
for (aa=0; aa<frame_parms->nb_antennas_tx; aa++) { for (aa=0; aa<frame_parms->nb_antennas_tx; aa++) {
......
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