Skip to content
Snippets Groups Projects
Commit ea40eeeb authored by Wu Jing's avatar Wu Jing
Browse files

start L1_thread and ru_thread if it is RCC or RRU by adding...

start L1_thread and ru_thread if it is RCC or RRU by adding if(NFAPI==NFAPI_MODE_VNF||NFAPI_MODE_PNF)
parent 80e7531c
No related branches found
No related tags found
5 merge requests!650Release v1.1.0 Candidate,!649Develop: Integration 2019 Week 30,!642Develop: Integration 2019 Mid-Week 29,!630nfapi interface bug fix,!588Develop nr merge
...@@ -713,7 +713,7 @@ int main( int argc, char **argv ) { ...@@ -713,7 +713,7 @@ int main( int argc, char **argv ) {
} }
/* start threads if only L1 or not a CU */ /* start threads if only L1 or not a CU */
if (RC.nb_inst == 0 || !NODE_IS_CU(node_type)) { if (RC.nb_inst == 0 || !NODE_IS_CU(node_type) || NFAPI_MODE == NFAPI_MODE_PNF || NFAPI_MODE == NFAPI_MODE_VNF) {
// init UE_PF_PO and mutex lock // init UE_PF_PO and mutex lock
pthread_mutex_init(&ue_pf_po_mutex, NULL); pthread_mutex_init(&ue_pf_po_mutex, NULL);
memset (&UE_PF_PO[0][0], 0, sizeof(UE_PF_PO_t)*MAX_MOBILES_PER_ENB*MAX_NUM_CCs); memset (&UE_PF_PO[0][0], 0, sizeof(UE_PF_PO_t)*MAX_MOBILES_PER_ENB*MAX_NUM_CCs);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment