X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Frg_ex_ms.c;h=abb301489d4b1804db88d0b1c0c46ca1989af6c8;hb=451e626d5ac7c7e7586bab23358161230449af46;hp=b7fc99fc8359986fc501dbced1b4d2539051e35f;hpb=d349ae65e1495488772f87e5cfa1ae71d9eab075;p=o-du%2Fl2.git diff --git a/src/5gnrmac/rg_ex_ms.c b/src/5gnrmac/rg_ex_ms.c index b7fc99fc8..abb301489 100755 --- a/src/5gnrmac/rg_ex_ms.c +++ b/src/5gnrmac/rg_ex_ms.c @@ -47,11 +47,13 @@ registered with SSI during the LTE MAC Task initialization. #include "rgu.h" /* RGU defines */ #include "tfu.h" /* RGU defines */ #include "lrg.h" /* layer management defines for LTE-MAC */ +#include "rgr.h" /* layer management defines for LTE-MAC */ #include "crg.h" /* CRG interface includes */ #include "rg_sch_inf.h" /* SCH interface includes */ #include "rg_prg.h" /* PRG interface includes */ #include "rg_env.h" /* customisable defines and macros for LTE-MAC */ #include "rg.h" /* defines and macros for MAC */ +#include "rgr.h" /* defines and macros for SCH */ /* header/extern include files (.x) */ @@ -67,9 +69,11 @@ registered with SSI during the LTE MAC Task initialization. #include "rgu.x" /* RGU types */ #include "tfu.x" /* RGU types */ #include "lrg.x" /* layer management typedefs for MAC */ +#include "rgr.x" /* layer management typedefs for MAC */ #include "crg.x" /* CRG interface typedes */ #include "rg_sch_inf.x" /* SCH interface typedefs */ #include "rg_prg.x" /*PRG interface includes*/ +#include "du_app_mac_inf.h" #include "rg.x" /* typedefs for MAC */ @@ -108,6 +112,13 @@ Buffer *mBuf; /* message buffer */ /* Process a config. request */ cmUnpkLrgCfgReq(RgMiLrgCfgReq, pst, mBuf); break; + case EVTMACSCHGENCFGREQ: + /* Process a config. request */ + cmUnpkLrgSchCfgReq(MacSchGenCfgReq, pst, mBuf); + break; + case EVTMACSCHCFGREQ: + cmUnpkRgrCfgReq(MacSchCfgReq, pst, mBuf); + break; case EVTLRGCNTRLREQ: /* Process a control request */ cmUnpkLrgCntrlReq(RgMiLrgCntrlReq, pst, mBuf); @@ -121,6 +132,10 @@ Buffer *mBuf; /* message buffer */ cmUnpkLrgStsReq(RgMiLrgStsReq, pst, mBuf); break; #endif /* LCRGMILRG */ + case EVENT_MAC_CELL_CONFIG_REQ: + /* Process MAC cell config */ + unpackDuMacCellCfg(MacHdlCellCfgReq, pst, mBuf); + break; default: RG_FREE_MSG(mBuf); break; @@ -212,17 +227,11 @@ Buffer *mBuf; /* message buffer */ case EVTRGUUBNDREQ: cmUnpkRguUbndReq(RgUiRguUbndReq, pst, mBuf); break; - case EVTRGUCDATREQ: - cmUnpkRguCDatReq(RgUiRguCDatReq, pst, mBuf); - break; - case EVTRGUDDATREQ: - cmUnpkRguDDatReq(RgUiRguDDatReq, pst, mBuf); - break; - case EVTRGUCSTARSP: - cmUnpkRguCStaRsp(RgUiRguCStaRsp, pst, mBuf); + case EVTRLCDLDAT: + unpackDlData(RgUiRguDDatReq, pst, mBuf); break; - case EVTRGUDSTARSP: - cmUnpkRguDStaRsp(RgUiRguDStaRsp, pst, mBuf); + case EVTRLCBOSTA: + unpackBOStatus(RgUiRguDStaRsp, pst, mBuf); break; #ifdef LTE_L2_MEAS