Remove unnecessary memset of UE TX time domain samples array
Remove memset of the UE TX time domain samples array after trx_write in RU_write() This memset is unnecessary and can break openair0 libraries. Some functionalities, e.g. usrp_lib write_thread expect the samples to be present in the array after trx_write returns. The array is always set before being sent either in idft or using memset so there is no risk of sending the same data twice.
This commit is contained in:
@@ -553,9 +553,6 @@ static void RU_write(nr_rxtx_thread_data_t *rxtxD, bool sl_tx_action)
|
||||
|
||||
int tmp = openair0_write_reorder(&UE->rfdevice, writeTimestamp, txp, writeBlockSize, fp->nb_antennas_tx, flags);
|
||||
AssertFatal(tmp == writeBlockSize, "");
|
||||
|
||||
for (int i = 0; i < fp->nb_antennas_tx; i++)
|
||||
memset(txp[i], 0, writeBlockSize);
|
||||
}
|
||||
|
||||
void processSlotTX(void *arg)
|
||||
|
||||
Reference in New Issue
Block a user