Commit fc525896 authored by Robert Schmidt's avatar Robert Schmidt

nr_gen_ref_conj_symbols()/nr_ptrs_cpe_estimation(): const input

parent 46ca5210
...@@ -61,7 +61,7 @@ uint8_t allowed_xlsch_re_in_dmrs_symbol(uint16_t k, ...@@ -61,7 +61,7 @@ uint8_t allowed_xlsch_re_in_dmrs_symbol(uint16_t k,
uint8_t numDmrsCdmGrpsNoData, uint8_t numDmrsCdmGrpsNoData,
uint8_t dmrs_type); uint8_t dmrs_type);
void nr_gen_ref_conj_symbols(uint32_t *in, uint32_t length, int16_t *output, uint16_t offset, int mod_order); void nr_gen_ref_conj_symbols(const uint32_t *in, uint32_t length, int16_t *output, uint16_t offset, int mod_order);
int8_t get_next_dmrs_symbol_in_slot(uint16_t ul_dmrs_symb_pos, uint8_t counter, uint8_t end_symbol); int8_t get_next_dmrs_symbol_in_slot(uint16_t ul_dmrs_symb_pos, uint8_t counter, uint8_t end_symbol);
uint8_t get_dmrs_symbols_in_slot(uint16_t l_prime_mask, uint16_t nb_symb, uint8_t start); uint8_t get_dmrs_symbols_in_slot(uint16_t l_prime_mask, uint16_t nb_symb, uint8_t start);
int8_t get_valid_dmrs_idx_for_channel_est(uint16_t dmrs_symb_pos, uint8_t counter); int8_t get_valid_dmrs_idx_for_channel_est(uint16_t dmrs_symb_pos, uint8_t counter);
......
...@@ -245,7 +245,7 @@ void nr_pbch_dmrs_rx(int symbol, const unsigned int *nr_gold_pbch, c16_t *output ...@@ -245,7 +245,7 @@ void nr_pbch_dmrs_rx(int symbol, const unsigned int *nr_gold_pbch, c16_t *output
\param length is number of RE in a OFDM symbol \param length is number of RE in a OFDM symbol
\param *output pointer to all ptrs RE in a OFDM symbol \param *output pointer to all ptrs RE in a OFDM symbol
*/ */
void nr_gen_ref_conj_symbols(uint32_t *in, uint32_t length, c16_t *output, uint16_t offset, int mod_order) void nr_gen_ref_conj_symbols(const uint32_t *in, uint32_t length, c16_t *output, uint16_t offset, int mod_order)
{ {
uint8_t idx, b_idx; uint8_t idx, b_idx;
for (int i=0; i<length/mod_order; i++) for (int i=0; i<length/mod_order; i++)
......
...@@ -191,7 +191,7 @@ void nr_ptrs_cpe_estimation(uint8_t K_ptrs, ...@@ -191,7 +191,7 @@ void nr_ptrs_cpe_estimation(uint8_t K_ptrs,
unsigned char symbol, unsigned char symbol,
uint16_t ofdm_symbol_size, uint16_t ofdm_symbol_size,
int16_t *rxF_comp, int16_t *rxF_comp,
uint32_t *gold_seq, const uint32_t *gold_seq,
int16_t *error_est, int16_t *error_est,
int32_t *ptrs_sc) int32_t *ptrs_sc)
{ {
......
...@@ -95,7 +95,7 @@ void nr_ptrs_cpe_estimation(uint8_t K_ptrs, ...@@ -95,7 +95,7 @@ void nr_ptrs_cpe_estimation(uint8_t K_ptrs,
unsigned char symbol, unsigned char symbol,
uint16_t ofdm_symbol_size, uint16_t ofdm_symbol_size,
int16_t *rxF_comp, int16_t *rxF_comp,
uint32_t *gold_seq, const uint32_t *gold_seq,
int16_t *error_est, int16_t *error_est,
int32_t *ptrs_sc); int32_t *ptrs_sc);
......
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