added queues between VNF and MAC to handle indications.

This commit is contained in:
David Kim
2021-07-19 18:55:02 -07:00
parent 7df8064bb7
commit 4f23fa2f61
24 changed files with 467 additions and 97 deletions
+2
View File
@@ -443,6 +443,7 @@ static void *gNB_L1_thread( void *param ) {
if (gNB->CC_id==0) {
int next_slot;
next_slot = (slot_rx + 1) % 20;
LOG_I(PHY, "Calling rxtx1\n");
if (rxtx(gNB,frame_rx,next_slot,frame_tx,next_slot,thread_name) < 0) break;
}
if (wait_on_condition(&L1_proc->mutex,&L1_proc->cond,&L1_proc->instance_cnt,thread_name)<0) break;
@@ -457,6 +458,7 @@ static void *gNB_L1_thread( void *param ) {
if (oai_exit) break;
if (gNB->CC_id==0) {
LOG_I(PHY, "Calling rxtx2\n");
if (rxtx(gNB,frame_rx,slot_rx,frame_tx,slot_tx,thread_name) < 0) break;
}