Commit 2ce76e77 authored by Raymond Knopp's avatar Raymond Knopp

extra logging

parent 8aa24af9
......@@ -1036,7 +1036,7 @@ void pscch_decoding(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,int frame_rx,int subfra
slsch->group_destination_id = (sci_rx_flip>>(63-1-7-5-11-8-RAbits+1))&255;
ue->slcch_received = 1;
ue->slsch_decoded = 0;
#ifdef DEBUG_SCI_DECODING
//#ifdef DEBUG_SCI_DECODING
printf("sci %lx (%d bits,RAbits %d) : freq_hop %d, resource_block_coding %d, time_resource_pattern %d, mcs %d, timing_advance_indication %d, group_destination_id %d (gid shift %d result %lx => %lx\n",
sci_rx_flip,length,RAbits,
slsch->freq_hopping_flag,
......@@ -1049,7 +1049,7 @@ void pscch_decoding(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc,int frame_rx,int subfra
(sci_rx_flip>>(63-1-7-5-11-8-RAbits+1)),
(sci_rx_flip>>(63-1-7-5-11-8-RAbits+1))&255
);
#endif
//#endif
// check group_id here (not done yet)
ue->slsch_rx_sdu_active=1;
/*
......@@ -1534,6 +1534,8 @@ void rx_slsch(PHY_VARS_UE *ue,UE_rxtx_proc_t *proc, int frame_rx,int subframe_rx
else slsch->ljmod10++;
if (slsch->ljmod10 == 10) slsch->ljmod10 = 0;
LOG_D(PHY,"Receiving slsch for rvidx %d\n",slsch->rvidx);
if (slsch->rvidx == 0) { // first new transmission in period, get a new packet
ue->slsch_decoded = 0;
slsch_decoding(ue,proc,frame_rx,subframe_rx,slsch->ljmod10);
......
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