Enable usrp-tx-thread-config in UE

Setting this option will start a separate thread for writing samples to
USRP.
This commit is contained in:
Sakthivel Velumani
2024-11-15 14:16:32 -05:00
parent daeb110ae1
commit 3e3ef8cfd0
+2
View File
@@ -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);