From b476d839ffced99873d4176305fcc174975a462a Mon Sep 17 00:00:00 2001 From: Melissa Elkadi Date: Wed, 20 Dec 2023 14:47:54 +0000 Subject: [PATCH] Enabling multi-ue support in the open-source L2 proxy. MR-2401 changed the argument to the init_nrUE_standalone_thread to be zero instead of the ue_id_g. This causes every port to be opened for multiple UEs to have the same value, therefore only allowing one UE to be connected to the proxy. If the ue_id_g global is an issue, we should open a new ticket for a proper fix. --- openair2/RRC/NR_UE/rrc_UE.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openair2/RRC/NR_UE/rrc_UE.c b/openair2/RRC/NR_UE/rrc_UE.c index 389f849b20..1c6264bb32 100644 --- a/openair2/RRC/NR_UE/rrc_UE.c +++ b/openair2/RRC/NR_UE/rrc_UE.c @@ -1674,8 +1674,8 @@ void start_oai_nrue_threads() LOG_E(MAC, "sem_init() error\n"); abort(); } - - init_nrUE_standalone_thread(0); + extern uint16_t ue_id_g; + init_nrUE_standalone_thread(ue_id_g); } static void nsa_rrc_ue_process_ueCapabilityEnquiry(void)