X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fphy_stub%2Fphy_stub_thread_hdl.c;h=72ddaacf3daf94d5b77b732cc7ab3977e5c5e364;hb=de75b3ff94fc026cbfc329bdf26356dde2fd84e1;hp=d1d3664ad1160764d8d7721b8cb99919c9d51407;hpb=15cfc9c3834a5c77b0cfbbe8b6cb0c576db140e6;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 d1d3664ad..72ddaacf3 100644 --- a/src/phy_stub/phy_stub_thread_hdl.c +++ b/src/phy_stub/phy_stub_thread_hdl.c @@ -27,10 +27,14 @@ #include "phy_stub.h" #include "mac_sch_interface.h" +uint16_t sfnValue; +uint16_t slotValue; +PhyDb phyDb; extern uint16_t l1BuildAndSendBSR(uint8_t ueIdx, BsrType bsrType,\ LcgBufferSize lcgBsIdx[MAX_NUM_LOGICAL_CHANNEL_GROUPS]); pthread_t thread = 0; int socket_fd =0; +bool slotIndicationStarted; /******************************************************************* * @@ -159,7 +163,7 @@ void *l1ConsoleHandler(void *args) while(counter) { /* Start Pumping data from PHY stub to DU */ - for(ueIdx=0; ueIdx < MAX_NUM_UE; ueIdx++) + for(ueIdx=0; ueIdx < phyDb.ueDb.numActvUe; ueIdx++) { for(drbIdx = 0; drbIdx < NUM_DRB_TO_PUMP_DATA; drbIdx++) //Number of DRB times the loop will run {