Commit 428af852 authored by Tsung-Yu Chan's avatar Tsung-Yu Chan Committed by Tsung Yu Chan

fix / clean the unused variable

parent e51d8a9b
......@@ -1717,8 +1717,6 @@ int nr_rx_pusch_tp(PHY_VARS_gNB *gNB,
NR_gNB_PUSCH *pusch_vars = &gNB->pusch_vars[ulsch_id];
pusch_vars->dmrs_symbol = INVALID_VALUE;
pusch_vars->cl_done = 0;
memset(pusch_vars->extraction_done,0,14*sizeof(int));
gNB->nbSymb=0;
bwp_start_subcarrier = ((rel15_ul->rb_start + rel15_ul->bwp_start)*NR_NB_SC_PER_RB + frame_parms->first_carrier_offset) % frame_parms->ofdm_symbol_size;
LOG_D(PHY,"pusch %d.%d : bwp_start_subcarrier %d, rb_start %d, first_carrier_offset %d\n", frame,slot,bwp_start_subcarrier, rel15_ul->rb_start, frame_parms->first_carrier_offset);
......@@ -1881,9 +1879,6 @@ int nr_rx_pusch_tp(PHY_VARS_gNB *gNB,
else
pusch_vars->log2_maxh = (log2_approx(avgs) >> 1);
pusch_vars->cl_done = 1;
pusch_vars->extraction_done[meas_symbol] = 1;
stop_meas(&gNB->rx_pusch_init_stats);
start_meas(&gNB->rx_pusch_symbol_processing_stats);
......
......@@ -411,10 +411,6 @@ typedef struct {
int16_t *ul_valid_re_per_slot;
/// \brief offset for llr corresponding to each symbol
int llr_offset[14];
/// flag to verify if channel level computation is done
uint8_t cl_done;
/// flag to indicate if channel extraction is done
int extraction_done[14];
/// flag to indicate DTX on reception
int DTX;
} NR_gNB_PUSCH;
......
......@@ -397,21 +397,6 @@ static int nr_ulsch_procedures(PHY_VARS_gNB *gNB, int frame_rx, int slot_rx, int
number_dmrs_symbols, // number of dmrs symbols irrespective of single or double symbol dmrs
pusch_pdu->qam_mod_order,
pusch_pdu->nrOfLayers);
// nr_ulsch_layer_demapping(gNB->pusch_vars[ULSCH_id].llr,
// pusch_pdu->nrOfLayers,
// pusch_pdu->qam_mod_order,
// G,
// gNB->pusch_vars[ULSCH_id].llr_layers);
// //----------------------------------------------------------
// //------------------- ULSCH unscrambling -------------------
// //----------------------------------------------------------
// start_meas(&gNB->ulsch_unscrambling_stats);
// nr_ulsch_unscrambling(gNB->pusch_vars[ULSCH_id].llr, G, pusch_pdu->data_scrambling_id, pusch_pdu->rnti);
// stop_meas(&gNB->ulsch_unscrambling_stats);
//----------------------------------------------------------
//--------------------- ULSCH decoding ---------------------
......
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