X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Flwr_mac.h;h=017ece504bbda51fe6c57cd477744a8224665351;hb=4fc13842d17b3cce83876c95cba9eef4b2a413dd;hp=c5791947eb702dd1237001286925cd377c5754db;hpb=451e626d5ac7c7e7586bab23358161230449af46;p=o-du%2Fl2.git diff --git a/src/5gnrmac/lwr_mac.h b/src/5gnrmac/lwr_mac.h index c5791947e..017ece504 100644 --- a/src/5gnrmac/lwr_mac.h +++ b/src/5gnrmac/lwr_mac.h @@ -26,10 +26,12 @@ #include "gen.h" #include "ssi.h" #include "cm_hash.h" +#include "cm_lte.h" #include "gen.x" #include "ssi.x" #include "cm_hash.x" +#include "cm_lte.x" #include "cm_lib.x" #include "du_app_mac_inf.h" @@ -43,10 +45,12 @@ typedef enum /* Events in Lower Mac */ typedef enum{ - PARAM_REQ, - CONFIG_REQ = 2, - START_REQ = 4, - STOP_REQ, + PARAM_REQUEST, + PARAM_RESPONSE, + CONFIG_REQUEST, + CONFIG_RESPONSE, + START_REQUEST, + STOP_REQUEST, MAX_EVENT }EventState; @@ -70,7 +74,7 @@ typedef struct cellCb typedef enum { - RELEASE_15 + FAPI_RELEASE_15 }ReleaseCapab; typedef enum @@ -264,9 +268,12 @@ typedef struct clCellParam RssiMeasurement rssiMeasurementSupport; }ClCellParam; - EXTERN ClCb clGlobalCp; EXTERN ClCellCb * rgClUtlGetCellCb ARGS((U16 cellId)); +EXTERN uint32_t reverseBits(uint32_t num, uint8_t numBits); +EXTERN void fillDlDciPayload(uint8_t *buf, uint8_t *bytePos, uint8_t *bitPos,\ + uint32_t val, uint8_t valSize); +EXTERN void lwrMacInit(); #endif