X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Fmac_msg_router.c;h=37f07ae6eb13ea61fb83d5574724679131be07fe;hb=f78bb742344bb919e27f38c2d7bc2d11fc37b184;hp=88fea7bd10504d18d81791da78b6e76f2be2ec69;hpb=6636207100c598cd70537d177670ef131e263931;p=o-du%2Fl2.git diff --git a/src/5gnrmac/mac_msg_router.c b/src/5gnrmac/mac_msg_router.c index 88fea7bd1..37f07ae6e 100755 --- a/src/5gnrmac/mac_msg_router.c +++ b/src/5gnrmac/mac_msg_router.c @@ -173,6 +173,25 @@ void MacHdlDuappEvents(Pst *pst, Buffer *mBuf) unpackMacDlPcchInd(MacProcDlPcchInd, pst, mBuf); break; } + case EVENT_MAC_DL_BROADCAST_REQ: + { + /* Process Dl Broadcast Request */ + unpackMacDlBroadcastReq(MacProcDlBroadcastReq, pst, mBuf); + break; + } + + case EVENT_MAC_UE_RESET_REQ: + { + /* Process UE Reset Request */ + unpackMacUeResetReq(MacProcUeResetReq, pst, mBuf); + break; + } + + case EVENT_MAC_STATISTICS_REQ: + { + /* Process Statistics Request */ + unpackMacStatsReq(MacProcStatsReq, pst, mBuf); + } default: RG_FREE_MSG(mBuf); @@ -324,6 +343,9 @@ void callFlowMacActvTsk(Pst *pst) case EVENT_MAC_SLICE_RECFG_REQ: strcpy(message,"EVENT_MAC_SLICE_RECFG_REQ"); break; + case EVENT_MAC_STATISTICS_REQ: + strcpy(message,"EVENT_MAC_STATISTICS_REQ"); + break; default: strcpy(message,"Invalid Event"); break; @@ -453,6 +475,16 @@ void callFlowMacActvTsk(Pst *pst) strcpy(message,"EVENT_DL_REL_HQ_PROC"); break; } + case EVENT_STATISTICS_RSP_TO_MAC: + { + strcpy(message,"EVENT_STATISTICS_RSP_TO_MAC"); + break; + } + case EVENT_STATISTICS_IND_TO_MAC: + { + strcpy(message,"EVENT_STATISTICS_IND_TO_MAC"); + break; + } default: strcpy(message,"Invalid Event"); break; @@ -597,6 +629,16 @@ uint8_t MacMessageRouter(Pst *pst, void *msg) MacSchReleaseDlHarqProc(pst, (SchRlsHqInfo *)msg); break; } + case EVENT_STATISTICS_RSP_TO_MAC: + { + MacProcSchStatsRsp(pst, (SchStatsRsp *)msg); + break; + } + case EVENT_STATISTICS_IND_TO_MAC: + { + MacProcSchStatsInd(pst, (SchStatsInd *)msg); + break; + } default: { return RFAILED;