deleting some old unused files

oaisim now also compiles with OPENAIR2=0
PDCCH now generates dummy data instead of zeors (needed for power measurements)
fixed bug in DAC (power levels)


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4483 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
Florian Kaltenberger
2013-11-21 11:33:59 +00:00
parent c0ea1f682d
commit 6463bb93c2
8 changed files with 27 additions and 208 deletions
+5 -6
View File
@@ -64,14 +64,13 @@ double dac_fixed_gain(double **s_re,
int aa;
double amp,amp1;
amp = pow(10.0,.05*txpwr_dBm);
amp = amp/sqrt(nb_tx_antennas); //this is amp per tx antenna
amp = pow(10.0,.05*txpwr_dBm)/sqrt(nb_tx_antennas); //this is amp per tx antenna
amp1 = sqrt((double)signal_energy((s32*)&input[0][input_offset_meas],length_meas));
if (nb_tx_antennas>1) {
amp1 += sqrt((double)signal_energy((s32*)&input[1][input_offset_meas],length_meas));
amp1/=2;
amp1 = 0;
for (aa=0;aa<nb_tx_antennas;aa++) {
amp1 += sqrt((double)signal_energy((s32*)&input[aa][input_offset_meas],length_meas) * (512.0/300.0));
}
amp1/=nb_tx_antennas;
//printf("UL: amp1 %f dB (%d,%d), tx_power %f\n",20*log10(amp1),input_offset,input_offset_meas,txpwr_dBm);