Changes requested

master
Guillem Foreman 6 years ago
parent ca6d9576c3
commit eab73829f6

@ -67,7 +67,7 @@ option(ENABLE_SRSENB "Build srsENB application" ON)
option(ENABLE_SRSEPC "Build srsEPC application" ON) option(ENABLE_SRSEPC "Build srsEPC application" ON)
option(DISABLE_SIMD "disable simd instructions" OFF) option(DISABLE_SIMD "disable simd instructions" OFF)
option(ENABLE_GUI "Enable GUI (using srsGUI)" OFF) option(ENABLE_GUI "Enable GUI (using srsGUI)" ON)
option(ENABLE_UHD "Enable UHD" ON) option(ENABLE_UHD "Enable UHD" ON)
option(ENABLE_BLADERF "Enable BladeRF" ON) option(ENABLE_BLADERF "Enable BladeRF" ON)
option(ENABLE_SOAPYSDR "Enable SoapySDR" ON) option(ENABLE_SOAPYSDR "Enable SoapySDR" ON)

@ -94,12 +94,12 @@ typedef struct {
bool enable_cfo_ref; bool enable_cfo_ref;
bool average_subframe; bool average_subframe;
char *rf_dev; char *rf_dev;
char *rf_args; char* rf_args;
uint32_t rf_nof_rx_ant; uint32_t rf_nof_rx_ant;
double rf_freq; double rf_freq;
float rf_gain; float rf_gain;
int net_port; int net_port;
char *net_address; char* net_address;
int net_port_signal; int net_port_signal;
char *net_address_signal; char *net_address_signal;
int decimate; int decimate;

@ -615,7 +615,7 @@ static void csi_correction(srslte_pdsch_t *q, srslte_pdsch_cfg_t *cfg, uint32_t
} else { } else {
int i = 0; int i = 0;
#ifndef LV_HAVE_SSE #ifdef LV_HAVE_SSE
__m128 _csi_scale = _mm_set1_ps(INT16_MAX / csi_max); __m128 _csi_scale = _mm_set1_ps(INT16_MAX / csi_max);
__m64* _e = (__m64*)e; __m64* _e = (__m64*)e;
@ -666,7 +666,8 @@ static void csi_correction(srslte_pdsch_t *q, srslte_pdsch_cfg_t *cfg, uint32_t
_csi = _mm_mul_ps(_csi, _csi_scale); _csi = _mm_mul_ps(_csi, _csi_scale);
_e[0] = _mm_mulhi_pi16(_e[0], _mm_cvtps_pi16(_csi)); _e[0] = _mm_mulhi_pi16(_e[0], _mm_cvtps_pi16(_csi));
_e += 1; _e[1] = _mm_mulhi_pi16(_e[1], _mm_cvtps_pi16(_csi));
_e += 2;
} }
break; break;
} }

@ -50,9 +50,7 @@ foreach (cell_n_prb 6 15 25 50 75 100)
set(phy_dl_test_args ${phy_dl_test_args} -q) set(phy_dl_test_args ${phy_dl_test_args} -q)
endif (${allow_256}) endif (${allow_256})
set(phy_dl_test_args ${phy_dl_test_args} -m ${ue_dl_mcs}) set(phy_dl_test_args ${phy_dl_test_args} -m ${ue_dl_mcs})
string(REGEX REPLACE "\ " "" test_name_args ${phy_dl_test_args}) string(REGEX REPLACE "\ " "" test_name_args ${phy_dl_test_args})
message(${phy_dl_test_args})
add_test(phy_dl_test${test_name_args} phy_dl_test ${phy_dl_test_args}) add_test(phy_dl_test${test_name_args} phy_dl_test ${phy_dl_test_args})
endforeach (ue_dl_mcs) endforeach (ue_dl_mcs)
endforeach (ue_dl_tm) endforeach (ue_dl_tm)

Loading…
Cancel
Save