#include "mac_sch_interface.h"
#include "lwr_mac_upr_inf.h"
#include "mac.h"
+#include "rlc_mac_inf.h"
#include "mac_upr_inf_api.h"
#include "lwr_mac.h"
#include "lwr_mac_fsm.h"
* @return
* -# ROK
**/
-PUBLIC int MacSchGenCfgReq(Pst *pst, RgMngmt *cfg)
+uint8_t MacSchGenCfgReq(Pst *pst, RgMngmt *cfg)
{
printf("\nReceived Scheduler gen config at MAC");
pst->dstInst = DEFAULT_CELLS + 1;
* @return
* -# ROK
**/
-PUBLIC uint8_t SchSendCfgCfm(Pst *pst, RgMngmt *cfm)
+uint8_t SchSendCfgCfm(Pst *pst, RgMngmt *cfm)
{
printf("\nSending Scheduler config confirm to DU APP");
pst->dstEnt = ENTDUAPP;
{
Pst cfmPst;
uint16_t cellIdx;
- uint16_t ret = ROK;
+ uint8_t ret = ROK;
MacCellCb *macCellCb;
- cmMemset((uint8_t *)&cfmPst, 0, sizeof(Pst));
+ memset(&cfmPst, 0, sizeof(Pst));
MAC_ALLOC(macCellCb, sizeof(MacCellCb));
if(macCellCb == NULLP)
{
SchCellCfg schCellCfg;
Pst cfgPst;
- int ret;
+ uint8_t ret;
- cmMemset((uint8_t *)&cfgPst, 0, sizeof(Pst));
+ memset(&cfgPst, 0, sizeof(Pst));
schCellCfg.cellId = macCellCfg->cellId;
schCellCfg.phyCellId = macCellCfg->phyCellId;
schCellCfg.bandwidth = macCellCfg->dlCarrCfg.bw;
uint16_t cellIdx;
MacCellCfgCfm macCellCfgCfm;
- cmMemset((uint8_t *)&pst, 0, sizeof(Pst));
+ memset(&pst, 0, sizeof(Pst));
GET_CELL_IDX(cellId, cellIdx);
macCellCfgCfm.cellId = macCb.macCell[cellIdx]->macCellCfg.cellId;