Commit 43b826e9 authored by brobert's avatar brobert

sending vars through unique structure

parent d8a83c1e
...@@ -65,7 +65,7 @@ __attribute__((always_inline)) inline c16_t c32x16cumulVectVectWithSteps(c16_t * ...@@ -65,7 +65,7 @@ __attribute__((always_inline)) inline c16_t c32x16cumulVectVectWithSteps(c16_t *
} }
int inner_channel_estimation(inner_channel_estimation_params *rdata) { int inner_channel_estimation(puschAntennaProc_t *rdata) {
PHY_VARS_gNB *gNB = rdata->gNB; PHY_VARS_gNB *gNB = rdata->gNB;
int aarx = rdata->aarx; int aarx = rdata->aarx;
const int symbol_offset = rdata->symbol_offset; const int symbol_offset = rdata->symbol_offset;
...@@ -513,9 +513,8 @@ int nr_pusch_channel_estimation(PHY_VARS_gNB *gNB, ...@@ -513,9 +513,8 @@ int nr_pusch_channel_estimation(PHY_VARS_gNB *gNB,
rdata->gNB = gNB; rdata->gNB = gNB;
rdata->nb_antennas_rx = gNB->frame_parms.nb_antennas_rx
rdata->symbol_offset = symbol_offset; rdata->symbol_offset = symbol_offset;
rtada->ul_ch_estimates = ul_ch_estimates; rdata->ul_ch_estimates = ul_ch_estimates;
rdata->nl = nl; rdata->nl = nl;
rdata->ch_offset = ch_offset; rdata->ch_offset = ch_offset;
rdata->symbolSize = symbolSize; rdata->symbolSize = symbolSize;
......
This diff is collapsed.
...@@ -760,25 +760,25 @@ typedef struct ulAntennaProc_s { ...@@ -760,25 +760,25 @@ typedef struct ulAntennaProc_s {
typedef struct { typedef struct {
PHY_VARS_gNB *gNB; PHY_VARS_gNB *gNB;
int aarx; int aarx;
const int symbol_offset; int symbol_offset;
c16_t **ul_ch_estimates; c16_t **ul_ch_estimates;
int nl; int nl;
int ch_offset; int ch_offset;
const int symbolSize; int symbolSize;
nfapi_nr_pusch_pdu_t *pusch_pdu; nfapi_nr_pusch_pdu_t *pusch_pdu;
const int chest_freq; int chest_freq;
c16_t pilot[3280] __attribute__((aligned(32))); c16_t pilot[3280] __attribute__((aligned(32)));
const int k0; int k0;
const int nb_rb_pusch; int nb_rb_pusch;
unsigned short p; unsigned short p;
const int soffset; int soffset;
int *max_ch; int *max_ch;
c16_t ul_ls_est[symbolSize]; c16_t *ul_ls_est;
NR_gNB_PUSCH *pusch_vars; NR_gNB_PUSCH *pusch_vars;
delay_t *delay; delay_t *delay;
uint64_t noise_amp2; uint64_t noise_amp2;
int nest_count; int nest_count;
const int nushift; int nushift;
} puschAntennaProc_t; } puschAntennaProc_t;
struct puschSymbolReqId { struct puschSymbolReqId {
......
This diff is collapsed.
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