Commit 803864d4 authored by Robert Schmidt's avatar Robert Schmidt

Merge branch 'develop-2x2-segFault' into 'develop'

Fix segmentation fault at UE for 2x2

See merge request oai/openairinterface5g!1527
parents 9a330b3d 31319e80
......@@ -539,8 +539,8 @@ int nr_initial_sync(UE_nr_rxtx_proc_t *proc,
int coreset_start_rb=0;
// Hold the channel estimates in frequency domain.
int32_t pdcch_est_size = fp->symbols_per_slot*(fp->ofdm_symbol_size+LTE_CE_FILTER_LENGTH);
int32_t pdcch_dl_ch_estimates[4*fp->nb_antennas_rx][pdcch_est_size];
int32_t pdcch_est_size = ((((fp->symbols_per_slot*(fp->ofdm_symbol_size+LTE_CE_FILTER_LENGTH))+15)/16)*16);
__attribute__ ((aligned(16))) int32_t pdcch_dl_ch_estimates[4*fp->nb_antennas_rx][pdcch_est_size];
for(int n_ss = 0; n_ss<phy_pdcch_config.nb_search_space; n_ss++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment