fix gNB that should always perform tx in case of rfsim (like continuous-tx
This commit is contained in:
@@ -114,7 +114,7 @@ static void tx_func(processingData_L1tx_t *info)
|
|||||||
pushNotifiedFIFO(&gNB->resp_L1, res);
|
pushNotifiedFIFO(&gNB->resp_L1, res);
|
||||||
|
|
||||||
int tx_slot_type = nr_slot_select(cfg, frame_tx, slot_tx);
|
int tx_slot_type = nr_slot_select(cfg, frame_tx, slot_tx);
|
||||||
if (tx_slot_type == NR_DOWNLINK_SLOT || tx_slot_type == NR_MIXED_SLOT || get_softmodem_params()->continuous_tx) {
|
if (tx_slot_type == NR_DOWNLINK_SLOT || tx_slot_type == NR_MIXED_SLOT || get_softmodem_params()->continuous_tx || IS_SOFTMODEM_RFSIM) {
|
||||||
start_meas(&info->gNB->phy_proc_tx);
|
start_meas(&info->gNB->phy_proc_tx);
|
||||||
phy_procedures_gNB_TX(info, frame_tx, slot_tx, 1);
|
phy_procedures_gNB_TX(info, frame_tx, slot_tx, 1);
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -759,7 +759,7 @@ void tx_rf(RU_t *ru, int frame,int slot, uint64_t timestamp)
|
|||||||
radio_tx_burst_flag_t flags_burst = TX_BURST_INVALID;
|
radio_tx_burst_flag_t flags_burst = TX_BURST_INVALID;
|
||||||
radio_tx_gpio_flag_t flags_gpio = 0;
|
radio_tx_gpio_flag_t flags_gpio = 0;
|
||||||
|
|
||||||
if (cfg->cell_config.frame_duplex_type.value == TDD && !get_softmodem_params()->continuous_tx) {
|
if (cfg->cell_config.frame_duplex_type.value == TDD && !get_softmodem_params()->continuous_tx && !IS_SOFTMODEM_RFSIM) {
|
||||||
int slot_type = nr_slot_select(cfg,frame,slot%fp->slots_per_frame);
|
int slot_type = nr_slot_select(cfg,frame,slot%fp->slots_per_frame);
|
||||||
if(slot_type == NR_MIXED_SLOT) {
|
if(slot_type == NR_MIXED_SLOT) {
|
||||||
int txsymb = 0;
|
int txsymb = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user