X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fphy_stub%2Fphy_stub_thread_hdl.c;h=d1d3664ad1160764d8d7721b8cb99919c9d51407;hb=a6fdf00681f781fbccf7aa4bf95582f20e3039bb;hp=7699009c6b6d0885481216e0b18a60aa16977d5a;hpb=d6a9e599366473a5cff5782859e4fd0dc94c62e6;p=o-du%2Fl2.git diff --git a/src/phy_stub/phy_stub_thread_hdl.c b/src/phy_stub/phy_stub_thread_hdl.c index 7699009c6..d1d3664ad 100644 --- a/src/phy_stub/phy_stub_thread_hdl.c +++ b/src/phy_stub/phy_stub_thread_hdl.c @@ -21,7 +21,7 @@ #include "common_def.h" #include "phy_stub_utils.h" #ifdef INTEL_FAPI -#include "fapi.h" +#include "nr5g_fapi_internal.h" #include "fapi_vendor_extension.h" #endif #include "phy_stub.h" @@ -205,6 +205,18 @@ void *l1ConsoleHandler(void *args) } } } + else if(ch == 'r') + { + /* Trigger RACH Indication towards DU */ + if(phyDb.ueDb.ueCb[phyDb.ueDb.numActvUe].rachIndSent == false) + { + phyDb.ueDb.ueCb[phyDb.ueDb.numActvUe].rachIndSent = true; + phyDb.ueDb.ueCb[phyDb.ueDb.numActvUe].isCFRA = true; + l1BuildAndSendRachInd(slotValue, sfnValue, CF_RA_PREAMBLE_IDX); + phyDb.ueDb.numActvUe++; + } + + } DU_LOG("\n"); continue; }