int32_t to c16_t conversion

This commit includes changes to the function
footprints for vaiours NR UE and gNB functions.
It does not updated the LTE code. For functions
shared by both LTE and 5G, we maintained the original
LTE footprint and argument structure.

Several of the simulators that use these functions
have been updated as well. The specific usage of these
functions which index into the int32_t buffers and
treat the first int16_t and the real and the second
as the complex should be modified in the near future.
This commit is contained in:
Melissa Elkadi
2023-03-15 12:45:39 -07:00
parent bf03abae6a
commit 4dd579e042
34 changed files with 165 additions and 151 deletions
+4 -4
View File
@@ -97,8 +97,8 @@ int nr_slot_fep_ul(NR_DL_FRAME_PARMS *frame_parms,
*/
void nr_dft(int32_t *z,int32_t *d, uint32_t Msc_PUSCH);
int nr_beam_precoding(int32_t **txdataF,
int32_t **txdataF_BF,
int nr_beam_precoding(c16_t **txdataF,
c16_t **txdataF_BF,
NR_DL_FRAME_PARMS *frame_parms,
int32_t ***beam_weights,
int slot,
@@ -109,7 +109,7 @@ int nr_beam_precoding(int32_t **txdataF,
);
void apply_nr_rotation(NR_DL_FRAME_PARMS *fp,
int16_t* txdata,
c16_t* txdata,
int slot,
int first_symbol,
int nsymb);
@@ -119,7 +119,7 @@ void init_symbol_rotation(NR_DL_FRAME_PARMS *fp);
void init_timeshift_rotation(NR_DL_FRAME_PARMS *fp);
void apply_nr_rotation_ul(NR_DL_FRAME_PARMS *frame_parms,
int32_t *rxdataF,
c16_t *rxdataF,
int slot,
int first_symbol,
int nsymb);