X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fphy_stub%2Fphy_stub_thread_hdl.c;h=5b09351a2f80d526186da97edf881509ef4be5d9;hb=438594773b3c93b5bbe8d1cb1d16626a02238b8b;hp=e76c067ef8ecb9476e159c394141fb5da97e0f04;hpb=aa4e78164447b8cad6f38791047377640fd0c6f2;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 e76c067ef..5b09351a2 100644 --- a/src/phy_stub/phy_stub_thread_hdl.c +++ b/src/phy_stub/phy_stub_thread_hdl.c @@ -23,6 +23,7 @@ #include "du_log.h" uint8_t l1SendUlUserData(); +uint8_t l1SendStatusPdu(); uint16_t l1BuildAndSendSlotIndication(); pthread_t thread = 0; @@ -123,6 +124,12 @@ void *l1ConsoleHandler(void *args) DU_LOG("\nDEBUG --> PHY STUB: Sending UL User Data"); l1SendUlUserData(); } + else if((ch = getchar()) == 'c') + { + /* Send Control PDU from PHY stub to DU */ + DU_LOG("\nDEBUG --> PHY STUB: Sending Status PDU"); + l1SendStatusPdu(); + } } }