fixes after merge
This commit is contained in:
@@ -145,12 +145,12 @@ void PHY_ofdm_mod(int *input, /// pointer to complex input
|
|||||||
|
|
||||||
#ifndef __AVX2__
|
#ifndef __AVX2__
|
||||||
// handle 128-bit alignment for 128-bit SIMD (SSE4,NEON,AltiVEC)
|
// handle 128-bit alignment for 128-bit SIMD (SSE4,NEON,AltiVEC)
|
||||||
idft((int16_t *)&input[i<<log2fftsize],
|
idft((int16_t *)&input[i*fftsize],
|
||||||
(fftsize==128) ? (int16_t *)temp : (int16_t *)&output[(i*fftsize) + ((1+i)*nb_prefix_samples)],
|
(fftsize==128) ? (int16_t *)temp : (int16_t *)&output[(i*fftsize) + ((1+i)*nb_prefix_samples)],
|
||||||
1);
|
1);
|
||||||
#else
|
#else
|
||||||
// on AVX2 need 256-bit alignment
|
// on AVX2 need 256-bit alignment
|
||||||
idft((int16_t *)&input[i<<log2fftsize],
|
idft((int16_t *)&input[i*fftsize],
|
||||||
(fftsize<=512) ? (int16_t *)temp : (int16_t *)&output[(i*fftsize) + ((1+i)*nb_prefix_samples)],
|
(fftsize<=512) ? (int16_t *)temp : (int16_t *)&output[(i*fftsize) + ((1+i)*nb_prefix_samples)],
|
||||||
1);
|
1);
|
||||||
|
|
||||||
|
|||||||
@@ -215,7 +215,7 @@ int main(int argc, char **argv)
|
|||||||
// void *data;
|
// void *data;
|
||||||
// int ii;
|
// int ii;
|
||||||
// int bler;
|
// int bler;
|
||||||
double blerr[4],uncoded_ber;//,avg_ber;
|
double blerr[4],uncoded_ber,avg_ber;
|
||||||
short *uncoded_ber_bit=NULL;
|
short *uncoded_ber_bit=NULL;
|
||||||
uint8_t N_RB_DL=25,osf=1;
|
uint8_t N_RB_DL=25,osf=1;
|
||||||
frame_t frame_type = FDD;
|
frame_t frame_type = FDD;
|
||||||
|
|||||||
Reference in New Issue
Block a user