From 5c86590c17102d331cd2ab7d5ca156010e89ddfe Mon Sep 17 00:00:00 2001 From: mir Date: Fri, 14 Oct 2022 14:59:54 +0200 Subject: [PATCH] Dependencies for lte-uesoftmodem removed --- targets/RT/USER/lte-softmodem.h | 9 --------- targets/RT/USER/lte-ue.c | 7 ------- targets/RT/USER/lte-uesoftmodem.c | 2 -- 3 files changed, 18 deletions(-) diff --git a/targets/RT/USER/lte-softmodem.h b/targets/RT/USER/lte-softmodem.h index ca15c7ed31..b466bf7f80 100644 --- a/targets/RT/USER/lte-softmodem.h +++ b/targets/RT/USER/lte-softmodem.h @@ -116,15 +116,6 @@ /*-----------------------------------------------------------------------------------------------------------------------------*/ /* command line parameters specific to UE threads */ /* optname helpstr paramflags XXXptr defXXXval type numelt */ -/*-----------------------------------------------------------------------------------------------------------------------------*/ -#define CMDLINE_UETHREADSPARAMS_DESC { \ - {"threadOneSubframe", NULL, 0, iptr:&(threads.one), defintval:1, TYPE_INT, 0}, \ - {"threadTwoSubframe", NULL, 0, iptr:&(threads.two), defintval:1, TYPE_INT, 0}, \ - {"threadThreeSubframe", NULL, 0, iptr:&(threads.three), defintval:1, TYPE_INT, 0}, \ - {"threadSlot1ProcOne", NULL, 0, iptr:&(threads.slot1_proc_one), defintval:1, TYPE_INT, 0}, \ - {"threadSlot1ProcTwo", NULL, 0, iptr:&(threads.slot1_proc_two), defintval:1, TYPE_INT, 0}, \ - } -// {"threadIQ", NULL, 0, iptr:&(threads.iq), defintval:1, TYPE_INT, 0}, #define DEFAULT_DLF 2680000000 diff --git a/targets/RT/USER/lte-ue.c b/targets/RT/USER/lte-ue.c index 5b59e91f43..07ef048232 100644 --- a/targets/RT/USER/lte-ue.c +++ b/targets/RT/USER/lte-ue.c @@ -155,13 +155,6 @@ pthread_t main_ue_thread; pthread_attr_t attr_UE_thread; struct sched_param sched_param_UE_thread; - -void get_uethreads_params(void) { - paramdef_t cmdline_threadsparams[] =CMDLINE_UETHREADSPARAMS_DESC; - config_process_cmdline( cmdline_threadsparams,sizeof(cmdline_threadsparams)/sizeof(paramdef_t),NULL); -} - - void phy_init_lte_ue_transport(PHY_VARS_UE *ue,int absraction_flag); PHY_VARS_UE *init_ue_vars(LTE_DL_FRAME_PARMS *frame_parms, diff --git a/targets/RT/USER/lte-uesoftmodem.c b/targets/RT/USER/lte-uesoftmodem.c index 24d444751f..7b49e50922 100644 --- a/targets/RT/USER/lte-uesoftmodem.c +++ b/targets/RT/USER/lte-uesoftmodem.c @@ -155,7 +155,6 @@ uint64_t num_missed_slots=0; // counter for the number of missed slots // prototypes from function implemented in lte-ue.c, probably should be elsewhere in a include file. extern void init_UE_stub_single_thread(int nb_inst,int eMBMS_active, int uecap_xer_in, char *emul_iface); extern PHY_VARS_UE *init_ue_vars(LTE_DL_FRAME_PARMS *frame_parms, uint8_t UE_id, uint8_t abstraction_flag); -extern void get_uethreads_params(void); int transmission_mode=1; @@ -284,7 +283,6 @@ static void get_options(void) { /* unknown parameters on command line will be checked in main after all init have been performed */ get_common_options(SOFTMODEM_4GUE_BIT ); - get_uethreads_params(); paramdef_t cmdline_uemodeparams[] =CMDLINE_UEMODEPARAMS_DESC; paramdef_t cmdline_ueparams[] =CMDLINE_UEPARAMS_DESC; config_process_cmdline( cmdline_uemodeparams,sizeof(cmdline_uemodeparams)/sizeof(paramdef_t),NULL);