Commit a3d868e2 authored by brobert's avatar brobert

sending vars through unique structure

parent 43b826e9
...@@ -530,14 +530,14 @@ int nr_pusch_channel_estimation(PHY_VARS_gNB *gNB, ...@@ -530,14 +530,14 @@ int nr_pusch_channel_estimation(PHY_VARS_gNB *gNB,
rdata->nushift = nushift; rdata->nushift = nushift;
// Call the inner_channel_estimation function // Call the inner_channel_estimation function
int result = inner_channel_estimation(rdata); inner_channel_estimation(rdata);
// value update of rdata to be passed to the next inner call // value update of rdata to be passed to the next inner call
max_ch = rdata->max_ch; // Placeholder for max channel value update max_ch = rdata->max_ch; // Placeholder for max channel value update
noise_amp2 = rdata->noise_amp2; // Placeholder for noise amplitude squared update noise_amp2 = rdata->noise_amp2; // Placeholder for noise amplitude squared update
delay->est_delay = rdata->delay->est_delay; // Placeholder for estimated delay update delay->est_delay = rdata->delay->est_delay; // Placeholder for estimated delay update
nest_count = rdata->nest_count; // Placeholder for nested count update nest_count = rdata->nest_count; // Placeholder for nested count update
ul_ls_est = rdata->ul_ls_est; // ul_ls_est = rdata->ul_ls_est; // Is this needed?
} }
// Free the allocated memory // Free the allocated memory
......
...@@ -767,7 +767,7 @@ typedef struct { ...@@ -767,7 +767,7 @@ typedef struct {
int symbolSize; int symbolSize;
nfapi_nr_pusch_pdu_t *pusch_pdu; nfapi_nr_pusch_pdu_t *pusch_pdu;
int chest_freq; int chest_freq;
c16_t pilot[3280] __attribute__((aligned(32))); c16_t *pilot;
int k0; int k0;
int nb_rb_pusch; int nb_rb_pusch;
unsigned short p; unsigned short p;
......
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