Commit be93c22f authored by Francesco Mani's avatar Francesco Mani

Revert "Fix to avoid RRC->X2AP ticking every msec when x2ap task is not enabled"

This reverts commit 1a5874d40f506724babec223537b086e4efc4596.
parent 37e43179
......@@ -58,7 +58,6 @@
#include "intertask_interface.h"
#include "executables/softmodem-common.h"
#include "x2ap_eNB.h"
const uint8_t slots_per_frame[5] = {10, 20, 40, 80, 160};
uint16_t nr_pdcch_order_table[6] = { 31, 31, 511, 2047, 2047, 8191 };
......@@ -433,8 +432,7 @@ void gNB_dlsch_ulsch_scheduler(module_id_t module_idP,
if ((slot & ((1 << *scc->ssbSubcarrierSpacing) - 1)) == 0) {
void nr_rlc_tick(int frame, int subframe);
nr_rlc_tick(frame, slot >> *scc->ssbSubcarrierSpacing);
if (is_x2ap_enabled())
nr_rrc_trigger(&ctxt, 0 /*CC_id*/, frame, slot >> *scc->ssbSubcarrierSpacing);
nr_rrc_trigger(&ctxt, 0 /*CC_id*/, frame, slot >> *scc->ssbSubcarrierSpacing);
}
const uint64_t dlsch_in_slot_bitmap = (1 << 1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment