fix polar race condition
This commit is contained in:
@@ -147,7 +147,7 @@ void do_OFDM_mod_l(int32_t **txdataF, int32_t **txdata, uint16_t next_slot, LTE_
|
||||
}
|
||||
|
||||
void DL_channel(RU_t *ru,PHY_VARS_UE *UE,uint subframe,int awgn_flag,double SNR, int tx_lev,int hold_channel,int abstx, int num_rounds, int trials, int round, channel_desc_t *eNB2UE[4],
|
||||
double *s_re[2],double *s_im[2],double *r_re[2],double *r_im[2],FILE *csv_fd) {
|
||||
double *s_re[NB_ANTENNAS_TX],double *s_im[[NB_ANTENNAS_TX],double *r_re[NB_ANTENNAS_RX],double *r_im[NB_ANTENNAS_RX],FILE *csv_fd) {
|
||||
int i,u;
|
||||
int aa,aarx,aatx;
|
||||
double channelx,channely;
|
||||
|
||||
@@ -340,10 +340,10 @@ int main(int argc, char **argv) {
|
||||
double s_re1[30720],s_im1[30720],r_re1[30720],r_im1[30720];
|
||||
double r_re2[30720],r_im2[30720];
|
||||
double r_re3[30720],r_im3[30720];
|
||||
double *s_re[2]= {s_re0,s_re1};
|
||||
double *s_im[2]= {s_im0,s_im1};
|
||||
double *r_re[4]= {r_re0,r_re1,r_re2,r_re3};
|
||||
double *r_im[4]= {r_im0,r_im1,r_im2,r_im3};
|
||||
double *s_re[NB_ANTENNAS_TX]= {s_re0,s_re1, NULL, NULL};
|
||||
double *s_im[NB_ANTENNAS_TX]= {s_im0,s_im1, NULL, NULL};
|
||||
double *r_re[NB_ANTENNAS_RX]= {r_re0,r_re1,r_re2,r_re3};
|
||||
double *r_im[NB_ANTENNAS_RX]= {r_im0,r_im1,r_im2,r_im3};
|
||||
double forgetting_factor=0.0; //in [0,1] 0 means a new channel every time, 1 means keep the same channel
|
||||
double iqim=0.0;
|
||||
int cqi_error,cqi_errors,ack_errors,cqi_crc_falsepositives,cqi_crc_falsenegatives;
|
||||
|
||||
Reference in New Issue
Block a user