Merge remote-tracking branch 'origin/develop' into feature-131-new-license
Conflicts: openair1/PHY/INIT/lte_init.c openair1/PHY/LTE_TRANSPORT/dci_tools.c openair1/PHY/LTE_TRANSPORT/ulsch_decoding.c openair1/SCHED/phy_procedures_lte_eNb.c openair1/SCHED/phy_procedures_lte_ue.c openair1/SIMULATION/LTE_PHY/dlsim.c openair1/SIMULATION/RF/adc.c openair2/LAYER2/MAC/lte_transport_init.c targets/RT/USER/lte-softmodem.c targets/RT/USER/sched_dlsch.c targets/RT/USER/sched_rx_pdsch.c targets/RT/USER/sched_ulsch.c targets/SIMU/USER/oaisim.c
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
void adc(double **r_re,
|
||||
double **r_im,
|
||||
void adc(double *r_re[2],
|
||||
double *r_im[2],
|
||||
unsigned int input_offset,
|
||||
unsigned int output_offset,
|
||||
unsigned int **output,
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
#include <stdio.h>
|
||||
#include "PHY/TOOLS/defs.h"
|
||||
|
||||
void dac(double **s_re,
|
||||
double **s_im,
|
||||
void dac(double *s_re[2],
|
||||
double *s_im[2],
|
||||
uint32_t **input,
|
||||
uint32_t input_offset,
|
||||
uint32_t nb_tx_antennas,
|
||||
@@ -53,8 +53,8 @@ void dac(double **s_re,
|
||||
}
|
||||
}
|
||||
|
||||
double dac_fixed_gain(double **s_re,
|
||||
double **s_im,
|
||||
double dac_fixed_gain(double *s_re[2],
|
||||
double *s_im[2],
|
||||
uint32_t **input,
|
||||
uint32_t input_offset,
|
||||
uint32_t nb_tx_antennas,
|
||||
@@ -93,6 +93,7 @@ double dac_fixed_gain(double **s_re,
|
||||
//printf("DL: amp1 %f dB (%d,%d), tx_power %f\n",20*log10(amp1),input_offset,input_offset_meas,txpwr_dBm);
|
||||
*/
|
||||
|
||||
|
||||
for (i=0; i<length; i++) {
|
||||
for (aa=0; aa<nb_tx_antennas; aa++) {
|
||||
s_re[aa][i] = amp*((double)(((short *)input[aa]))[((i+input_offset)<<1)])/amp1; ///(1<<(B-1));
|
||||
|
||||
@@ -36,16 +36,16 @@ void rf_rx(double **r_re,
|
||||
double IQ_imb_dB,
|
||||
double IQ_phase);
|
||||
|
||||
void rf_rx_simple(double **r_re,
|
||||
double **r_im,
|
||||
void rf_rx_simple(double *r_re[2],
|
||||
double *r_im[2],
|
||||
unsigned int nb_rx_antennas,
|
||||
unsigned int length,
|
||||
double s_time,
|
||||
double rx_gain_dB);
|
||||
|
||||
|
||||
void adc(double **r_re,
|
||||
double **r_im,
|
||||
void adc(double *r_re[2],
|
||||
double *r_im[2],
|
||||
unsigned int input_offset,
|
||||
unsigned int output_offset,
|
||||
int **output,
|
||||
@@ -53,8 +53,8 @@ void adc(double **r_re,
|
||||
unsigned int length,
|
||||
unsigned char B);
|
||||
|
||||
void dac(double **s_re,
|
||||
double **s_im,
|
||||
void dac(double *s_re[2],
|
||||
double *s_im[2],
|
||||
int **input,
|
||||
unsigned int input_offset,
|
||||
unsigned int nb_tx_antennas,
|
||||
@@ -64,8 +64,8 @@ void dac(double **s_re,
|
||||
unsigned int meas_length,
|
||||
unsigned int meas_offset);
|
||||
|
||||
double dac_fixed_gain(double **s_re,
|
||||
double **s_im,
|
||||
double dac_fixed_gain(double *s_re[2],
|
||||
double *s_im[2],
|
||||
int **input,
|
||||
unsigned int input_offset,
|
||||
unsigned int nb_tx_antennas,
|
||||
|
||||
@@ -178,8 +178,8 @@ void rf_rx(double **r_re,
|
||||
}
|
||||
}
|
||||
|
||||
void rf_rx_simple(double **r_re,
|
||||
double **r_im,
|
||||
void rf_rx_simple(double *r_re[2],
|
||||
double *r_im[2],
|
||||
unsigned int nb_rx_antennas,
|
||||
unsigned int length,
|
||||
double s_time,
|
||||
|
||||
Reference in New Issue
Block a user