[OAI-UE] fixes:
1- frame/subframe update
2- ccch discard regression
This commit is contained in:
@@ -1035,8 +1035,8 @@ void *UE_thread(void *arg) {
|
||||
|
||||
}// start_rx_stream==0
|
||||
else {
|
||||
UE->proc.proc_rxtx[0].frame_rx++;
|
||||
UE->proc.proc_rxtx[1].frame_rx++;
|
||||
//UE->proc.proc_rxtx[0].frame_rx++;
|
||||
//UE->proc.proc_rxtx[1].frame_rx++;
|
||||
|
||||
for (int sf=0;sf<10;sf++) {
|
||||
for (i=0; i<UE->frame_parms.nb_antennas_rx; i++)
|
||||
@@ -1122,6 +1122,11 @@ void *UE_thread(void *arg) {
|
||||
}
|
||||
// increment instance count and change proc subframe/frame variables
|
||||
int instance_cnt_rxtx = ++proc->instance_cnt_rxtx;
|
||||
if(sf == 0)
|
||||
{
|
||||
UE->proc.proc_rxtx[0].frame_rx++;
|
||||
UE->proc.proc_rxtx[1].frame_rx++;
|
||||
}
|
||||
proc->subframe_rx=sf;
|
||||
proc->subframe_tx=(sf+4)%10;
|
||||
proc->frame_tx = proc->frame_rx + ((proc->subframe_rx>5)?1:0);
|
||||
|
||||
Reference in New Issue
Block a user