Comments from MR
This commit is contained in:
@@ -116,7 +116,7 @@ int8_t polar_decoder(double *input,
|
|||||||
}
|
}
|
||||||
|
|
||||||
//The index of the last 1-valued bit that appears in each column.
|
//The index of the last 1-valued bit that appears in each column.
|
||||||
AssertFatal(polarParams->crcParityBits > 0, "UB for VLA");
|
AssertFatal(polarParams->crcParityBits > 0, "UB for VLA. crcParityBits negative\n");
|
||||||
uint16_t last1ind[polarParams->crcParityBits];
|
uint16_t last1ind[polarParams->crcParityBits];
|
||||||
|
|
||||||
for (int j=0; j<polarParams->crcParityBits; j++) {
|
for (int j=0; j<polarParams->crcParityBits; j++) {
|
||||||
|
|||||||
@@ -698,7 +698,8 @@ void nr_dlsch_deinterleaving(uint8_t symbol,
|
|||||||
N_bundle = nb_rb_pdsch/L;
|
N_bundle = nb_rb_pdsch/L;
|
||||||
C=N_bundle/R;
|
C=N_bundle/R;
|
||||||
|
|
||||||
uint32_t *bundle_deint = calloc(N_bundle, sizeof(uint32_t));
|
uint32_t bundle_deint[N_bundle];
|
||||||
|
memset(bundle_deint, 0 , sizeof(bundle_deint));
|
||||||
|
|
||||||
printf("N_bundle %u L %d nb_rb_pdsch %d\n",N_bundle, L,nb_rb_pdsch);
|
printf("N_bundle %u L %d nb_rb_pdsch %d\n",N_bundle, L,nb_rb_pdsch);
|
||||||
|
|
||||||
@@ -726,7 +727,6 @@ void nr_dlsch_deinterleaving(uint8_t symbol,
|
|||||||
//printf("k %d m %d bundle_deint %d llr_deint %d\n", k, m, bundle_deint[k], llr_deint[bundle_deint[k]*nb_re*L+m]);
|
//printf("k %d m %d bundle_deint %d llr_deint %d\n", k, m, bundle_deint[k], llr_deint[bundle_deint[k]*nb_re*L+m]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
free(bundle_deint);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//==============================================================================================
|
//==============================================================================================
|
||||||
|
|||||||
@@ -370,10 +370,8 @@ bool rx_sss_nr(PHY_VARS_NR_UE *ue,
|
|||||||
c16_t rxdataF[][ue->frame_parms.samples_per_slot_wCP])
|
c16_t rxdataF[][ue->frame_parms.samples_per_slot_wCP])
|
||||||
{
|
{
|
||||||
uint8_t i;
|
uint8_t i;
|
||||||
c16_t pss_ext[NB_ANTENNAS_RX][LENGTH_PSS_NR];
|
c16_t pss_ext[NB_ANTENNAS_RX][LENGTH_PSS_NR] = {0};
|
||||||
memset(pss_ext, 0, NB_ANTENNAS_RX * LENGTH_SSS_NR * sizeof(c16_t));
|
c16_t sss_ext[NB_ANTENNAS_RX][LENGTH_SSS_NR] = {0};
|
||||||
c16_t sss_ext[NB_ANTENNAS_RX][LENGTH_SSS_NR];
|
|
||||||
memset(sss_ext, 0, NB_ANTENNAS_RX * LENGTH_SSS_NR * sizeof(c16_t));
|
|
||||||
uint8_t Nid2 = GET_NID2(ue->common_vars.nid2);
|
uint8_t Nid2 = GET_NID2(ue->common_vars.nid2);
|
||||||
uint16_t Nid1;
|
uint16_t Nid1;
|
||||||
uint8_t phase;
|
uint8_t phase;
|
||||||
|
|||||||
@@ -86,9 +86,6 @@
|
|||||||
#define openair_sched_exit() exit(-1)
|
#define openair_sched_exit() exit(-1)
|
||||||
|
|
||||||
#define bzero(s,n) (memset((s),0,(n)))
|
#define bzero(s,n) (memset((s),0,(n)))
|
||||||
//#define cmax(a,b) ((a>b) ? (a) : (b))
|
|
||||||
//#define cmin(a,b) ((a<b) ? (a) : (b))
|
|
||||||
//#define cmax3(a,b,c) ((cmax(a,b)>c) ? (cmax(a,b)) : (c))
|
|
||||||
/// suppress compiler warning for unused arguments
|
/// suppress compiler warning for unused arguments
|
||||||
#define UNUSED(x) (void)x;
|
#define UNUSED(x) (void)x;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user