Cleanup UE mac_enabled conditions

- skipping RA procedures when MAC is disabled
- added mac_enabled flag that allows to disable RA and TA at UE from CL
This commit is contained in:
cig
2020-12-27 19:28:13 +01:00
parent a21e858f4f
commit 895d97d0e8
5 changed files with 18 additions and 27 deletions
-1
View File
@@ -93,7 +93,6 @@ void init_nr_ue_vars(PHY_VARS_NR_UE *ue,
int nb_connected_gNB = 1, gNB_id;
ue->Mod_id = UE_id;
ue->mac_enabled = 1;
ue->if_inst = nr_ue_if_module_init(0);
// Setting UE mode to NOT_SYNCHED by default