added queues between VNF and MAC to handle indications.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -178,15 +178,6 @@ static void L1_nsa_prach_procedures(frame_t frame, int slot, fapi_nr_ul_config_p
|
||||
LOG_I(NR_MAC, "Melissa, We have successfully filled the rach_ind queue with the recently filled rach ind\n");
|
||||
}
|
||||
|
||||
static void reset_queue(queue_t *q)
|
||||
{
|
||||
void *p;
|
||||
while ((p = get_queue(q)) != NULL)
|
||||
{
|
||||
free(p);
|
||||
}
|
||||
}
|
||||
|
||||
static bool sfn_slot_matcher(void *wanted, void *candidate)
|
||||
{
|
||||
nfapi_p7_message_header_t *msg = candidate;
|
||||
|
||||
Reference in New Issue
Block a user