From 3e3ef8cfd0cafcd11dd181d8b34d9b64422bffdb Mon Sep 17 00:00:00 2001 From: Sakthivel Velumani Date: Fri, 15 Nov 2024 14:16:32 -0500 Subject: [PATCH] Enable usrp-tx-thread-config in UE Setting this option will start a separate thread for writing samples to USRP. --- executables/nr-ue.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/executables/nr-ue.c b/executables/nr-ue.c index 530c2ba103..e2aec679db 100644 --- a/executables/nr-ue.c +++ b/executables/nr-ue.c @@ -802,6 +802,8 @@ void *UE_thread(void *arg) UE->is_synchronized = 0; int tmp2 = UE->rfdevice.trx_start_func(&UE->rfdevice); AssertFatal(tmp2 == 0, "Could not start the device\n"); + if (usrp_tx_thread == 1) + UE->rfdevice.trx_write_init(&UE->rfdevice); notifiedFIFO_t nf; initNotifiedFIFO(&nf);