Commit 15d4735a authored by lipingyu's avatar lipingyu

add NB-IoT L1 config in lte-softmodem.c

parent 9989f9ea
...@@ -71,6 +71,8 @@ ...@@ -71,6 +71,8 @@
#include "LAYER2/MAC/proto_NB_IoT.h" #include "LAYER2/MAC/proto_NB_IoT.h"
#include "NB_IoT_config.h"
//#include "LAYER2/MAC/defs_NB_IoT.h" //#include "LAYER2/MAC/defs_NB_IoT.h"
//#include "LAYER2/MAC/vars_NB_IoT.h" //#include "LAYER2/MAC/vars_NB_IoT.h"
...@@ -633,6 +635,13 @@ int main( int argc, char **argv ) { ...@@ -633,6 +635,13 @@ int main( int argc, char **argv ) {
RCconfig_L1(); RCconfig_L1();
} }
//nbiot L1 config
if (RC.nb_nb_iot_rrc_inst = 0){
printf("RC.nb_nb_iot_rrc_inst = 0, Initializing NB-IoT L1\n");
RCconfig_NbIoTL1();
}
///////end
if (RC.nb_inst > 0 && NODE_IS_CU(RC.rrc[0]->node_type)) { if (RC.nb_inst > 0 && NODE_IS_CU(RC.rrc[0]->node_type)) {
protocol_ctxt_t ctxt; protocol_ctxt_t ctxt;
ctxt.module_id = 0 ; ctxt.module_id = 0 ;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment