fixing nr-softmodem
This commit is contained in:
@@ -2753,6 +2753,7 @@ add_executable(nr-softmodem
|
|||||||
${s1ap_h}
|
${s1ap_h}
|
||||||
# ${OPENAIR_BIN_DIR}/messages_xml.h
|
# ${OPENAIR_BIN_DIR}/messages_xml.h
|
||||||
${OPENAIR_DIR}/executables/nr-gnb.c
|
${OPENAIR_DIR}/executables/nr-gnb.c
|
||||||
|
${OPENAIR_DIR}/common/utils/threadPool/thread-pool.c
|
||||||
${OPENAIR_DIR}/executables/nr-ru.c
|
${OPENAIR_DIR}/executables/nr-ru.c
|
||||||
${OPENAIR_DIR}/executables/nr-softmodem.c
|
${OPENAIR_DIR}/executables/nr-softmodem.c
|
||||||
${OPENAIR_DIR}/executables/softmodem-common.c
|
${OPENAIR_DIR}/executables/softmodem-common.c
|
||||||
|
|||||||
@@ -796,7 +796,8 @@ void init_gNB_proc(int inst) {
|
|||||||
|
|
||||||
gNB->threadPool = (tpool_t*)malloc(sizeof(tpool_t));
|
gNB->threadPool = (tpool_t*)malloc(sizeof(tpool_t));
|
||||||
gNB->respDecode = (notifiedFIFO_t*) malloc(sizeof(notifiedFIFO_t));
|
gNB->respDecode = (notifiedFIFO_t*) malloc(sizeof(notifiedFIFO_t));
|
||||||
initTpool("n", gNB->threadPool, true);
|
char ul_pool[] = "-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1";
|
||||||
|
initTpool(ul_pool, gNB->threadPool, false);
|
||||||
initNotifiedFIFO(gNB->respDecode);
|
initNotifiedFIFO(gNB->respDecode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -473,8 +473,8 @@ int main(int argc, char **argv)
|
|||||||
gNB = RC.gNB[0];
|
gNB = RC.gNB[0];
|
||||||
gNB->threadPool = (tpool_t*)malloc(sizeof(tpool_t));
|
gNB->threadPool = (tpool_t*)malloc(sizeof(tpool_t));
|
||||||
gNB->respDecode = (notifiedFIFO_t*) malloc(sizeof(notifiedFIFO_t));
|
gNB->respDecode = (notifiedFIFO_t*) malloc(sizeof(notifiedFIFO_t));
|
||||||
char tp_param[] = "-1,-1,-1,-1,-1,-1";
|
char tp_param[] = "n";
|
||||||
initTpool(tp_param, gNB->threadPool, false);
|
initTpool(tp_param, gNB->threadPool, true);
|
||||||
initNotifiedFIFO(gNB->respDecode);
|
initNotifiedFIFO(gNB->respDecode);
|
||||||
//gNB_config = &gNB->gNB_config;
|
//gNB_config = &gNB->gNB_config;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user