Commit 54980609 authored by Raymond Knopp's avatar Raymond Knopp

SLDCH RX statistics

parent 46ca2820
...@@ -284,10 +284,11 @@ void sldch_decoding(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,int frame_rx,int subfra ...@@ -284,10 +284,11 @@ void sldch_decoding(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,int frame_rx,int subfra
// printf("slsch decoding round %d ret %d\n",ue->dlsch_rx_sldch->harq_processes[0]->round,ret); // printf("slsch decoding round %d ret %d\n",ue->dlsch_rx_sldch->harq_processes[0]->round,ret);
if (ret<ue->dlsch_rx_sldch[npsdch]->max_turbo_iterations) { if (ret<ue->dlsch_rx_sldch[npsdch]->max_turbo_iterations) {
LOG_I(PHY,"SLDCH received for npsdch %d (rvidx %d, iter %d)\n", LOG_D(PHY,"SLDCH received for npsdch %d (rvidx %d, iter %d)\n",
npsdch, npsdch,
rvidx,ret); rvidx,ret);
ue->sldch_received[npsdch] = 1; ue->sldch_received[npsdch] = 1;
ue->sldch_rxcnt[npsdch]++;
} }
//exit(-1); //exit(-1);
......
...@@ -1313,6 +1313,7 @@ typedef struct { ...@@ -1313,6 +1313,7 @@ typedef struct {
LTE_UE_DLSCH_t *dlsch_rx_slsch; LTE_UE_DLSCH_t *dlsch_rx_slsch;
LTE_UE_DLSCH_t *dlsch_rx_sldch[MAX_SLDCH]; LTE_UE_DLSCH_t *dlsch_rx_sldch[MAX_SLDCH];
int sldch_received[MAX_SLDCH]; int sldch_received[MAX_SLDCH];
int sldch_rxcnt[MAX_SLDCH];
int16_t **sl_rxdataF[RX_NB_TH_MAX]; int16_t **sl_rxdataF[RX_NB_TH_MAX];
int16_t **sl_rxdata_7_5kHz[RX_NB_TH_MAX]; int16_t **sl_rxdata_7_5kHz[RX_NB_TH_MAX];
int16_t *slsch_dlsch_llr; int16_t *slsch_dlsch_llr;
......
...@@ -4788,7 +4788,8 @@ void phy_procedures_UE_SL_RX(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc) { ...@@ -4788,7 +4788,8 @@ void phy_procedures_UE_SL_RX(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc) {
if (ue->is_SynchRef == 0 && frame_rx==0 && subframe_rx==0) LOG_I(PHY,"Connected with SyncRef UE (slbch errors %d/%d)\n", if (ue->is_SynchRef == 0 && frame_rx==0 && subframe_rx==0) LOG_I(PHY,"Connected with SyncRef UE (slbch errors %d/%d)\n",
ue->slbch_errors,ue->slbch_rxops); ue->slbch_errors,ue->slbch_rxops);
if (frame_rx==0 && subframe_rx==0)
for (int i=0;i<MAX_SLDCH;i++) if (ue->sldch_rxcnt[i]>0) LOG_I(PHY,"n_psdch %d count %d\n",i,ue->sldch_rxcnt[i]);
} }
int phy_procedures_UE_RX(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,uint8_t eNB_id, int phy_procedures_UE_RX(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,uint8_t eNB_id,
......
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