Commit ed10f077 authored by Raymond Knopp's avatar Raymond Knopp

bug in uci stats handling

parent f8aa8564
......@@ -843,7 +843,6 @@ uint32_t rx_pucch(PHY_VARS_eNB *eNB,
if(fmt!=pucch_format3) { /* PUCCH format3 */
eNB_UCI_STATS_t *first_uci_stats=NULL;
LOG_I(PHY,"Getting UCI stats, UCI_id %d\n",UCI_id);
for (int i=0;i<NUMBER_OF_SCH_STATS_MAX;i++)
if (eNB->uci_stats[i].rnti == eNB->uci_vars[UCI_id].rnti) {
uci_stats = &eNB->uci_stats[i];
......
......@@ -854,7 +854,7 @@ uci_procedures(PHY_VARS_eNB *eNB,
int pucch1_thres = (uci->ue_type == 0) ? eNB->pucch1_DTX_threshold : eNB->pucch1_DTX_threshold_emtc[0];
metric_SR = rx_pucch(eNB,
uci->pucch_fmt,
uci->ue_id,
i,//uci->ue_id,
uci->n_pucch_1_0_sr[0],
0, // n2_pucch
uci->srs_active, // shortened format
......
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