fix(rftest): Remove superfluous configmodule call with gNB params

The purpose is to avoid adding unused variables in rftest every time we
add gNB option due to this superfluous configmodule call.
Signed-off-by: default avatarRomain Beurdouche <romain.beurdouche@eurecom.fr>
parent 76d0449e
...@@ -19,20 +19,6 @@ uint64_t downlink_frequency[MAX_NUM_CCs][4]; ...@@ -19,20 +19,6 @@ uint64_t downlink_frequency[MAX_NUM_CCs][4];
int64_t uplink_frequency_offset[MAX_NUM_CCs][4]; int64_t uplink_frequency_offset[MAX_NUM_CCs][4];
int cpu_meas_enabled; int cpu_meas_enabled;
THREAD_STRUCT thread_struct; THREAD_STRUCT thread_struct;
uint32_t target_ul_mcs = 9;
uint32_t target_ul_mcs_table_index = 0;
uint32_t target_dl_mcs = 9;
uint32_t target_dl_mcs_table_index = 0;
uint32_t target_dl_pmi = 0;
uint64_t dlsch_slot_bitmap = (1<<1);
uint64_t ulsch_slot_bitmap = (1<<8);
uint32_t target_ul_bw = 50;
uint32_t target_dl_bw = 50;
uint32_t target_dl_Nl;
uint32_t target_ul_Nl;
char *uecap_file;
uint32_t dlsch_slot_modval;
uint32_t ulsch_slot_modval;
#include <executables/nr-softmodem.h> #include <executables/nr-softmodem.h>
int read_recplayconfig(recplay_conf_t **recplay_conf, recplay_state_t **recplay_state) {return 0;} int read_recplayconfig(recplay_conf_t **recplay_conf, recplay_state_t **recplay_state) {return 0;}
...@@ -47,11 +33,9 @@ int main(int argc, char **argv) { ...@@ -47,11 +33,9 @@ int main(int argc, char **argv) {
setvbuf(stdout, NULL, _IONBF, 0); setvbuf(stdout, NULL, _IONBF, 0);
setvbuf(stderr, NULL, _IONBF, 0); setvbuf(stderr, NULL, _IONBF, 0);
logInit(); logInit();
paramdef_t cmdline_params[] = CMDLINE_PARAMS_DESC_GNB ;
CONFIG_SETRTFLAG(CONFIG_NOEXITONHELP); CONFIG_SETRTFLAG(CONFIG_NOEXITONHELP);
get_common_options(uniqCfg); get_common_options(uniqCfg);
config_process_cmdline(uniqCfg, cmdline_params, sizeofArray(cmdline_params), NULL);
CONFIG_CLEARRTFLAG(CONFIG_NOEXITONHELP); CONFIG_CLEARRTFLAG(CONFIG_NOEXITONHELP);
lock_memory_to_ram(); lock_memory_to_ram();
......
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