From ddfff3edad194e5f0ffe3c7a30dffabcb928a30a Mon Sep 17 00:00:00 2001 From: Xavier Arteaga Date: Thu, 11 Mar 2021 19:09:20 +0100 Subject: [PATCH] SRSUE: Zero transmit buffer if the slot is not UL --- srsue/src/phy/nr/cc_worker.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srsue/src/phy/nr/cc_worker.cc b/srsue/src/phy/nr/cc_worker.cc index 4fd724988..1c6550a31 100644 --- a/srsue/src/phy/nr/cc_worker.cc +++ b/srsue/src/phy/nr/cc_worker.cc @@ -271,6 +271,8 @@ bool cc_worker::work_ul() { // Check if it is a DL slot, if not skip if (!srslte_tdd_nr_is_ul(&phy->cfg.tdd, 0, ul_slot_cfg.idx)) { + // No NR signal shall be transmitted + srslte_vec_cf_zero(tx_buffer[0], ue_ul.ifft.sf_sz); return true; }