• Guido Casati's avatar
    Refactor NRRCConfig · b61de645
    Guido Casati authored
    * the goal of this function is to initialize and configure the RAN Context
    * the goal of get_options is to get command line options
    * this commit aims at making the implementation more consistent
    * move initialization of RC.nb_nr_CC to this function
    * cleanup redundant initializations of RC.nb_nr_macrlc_inst outside NRRCConfig
    * cleanup redundant initization of RC.nb_nr_macrlc_inst from getter function (get_node_type)
    * cleanup RC initialization in RCconfig_NR_L1
    * removed redundant log lines (print number of instances in NRRCConfig only)
    * do RC init after getting CL options and configuration
    * get_node_type shall access configuration only, not RC context
    * NRRCConfig shall be called only once: made it thread-safe
    b61de645
gnb_config.c 133 KB