X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrmac%2Flwr_mac.h;h=687286fa7fb989ad9bc4e4fa7e150a4fbbe615c7;hb=HEAD;hp=e1c075eb66bdce8e9f91af00356661fb8563053d;hpb=528b3d3a09d7486a0c549820bac601db60fde18e;p=o-du%2Fl2.git diff --git a/src/5gnrmac/lwr_mac.h b/src/5gnrmac/lwr_mac.h index e1c075eb6..687286fa7 100644 --- a/src/5gnrmac/lwr_mac.h +++ b/src/5gnrmac/lwr_mac.h @@ -42,6 +42,9 @@ typedef enum /* Events in Lower Mac */ typedef enum{ +#ifdef INTEL_TIMER_MODE + UL_IQ_SAMPLE, +#endif PARAM_REQUEST, PARAM_RESPONSE, CONFIG_REQUEST, @@ -63,6 +66,7 @@ typedef struct lwrMacGlobalCb Region region; Pool pool; bool clCfgDone; /* CL configuration done */ + uint8_t phySlotIndCntr; LwrMacCellCb cellCb[MAX_NUM_CELL]; /* List of Cells configured */ uint8_t numCell; /* Number of Cells configured */ PhyState phyState; /* State of PHY */ @@ -265,12 +269,11 @@ typedef struct clCellParam RssiMeasurement rssiMeasurementSupport; }ClCellParam; -LwrMacCb lwrMacCb; +extern LwrMacCb lwrMacCb; LwrMacCellCb * lwrMacGetCellCb ARGS((uint16_t cellId)); uint32_t reverseBits(uint32_t num, uint8_t numBits); void fillDlDciPayload(uint8_t *buf, uint8_t *bytePos, uint8_t *bitPos,\ uint32_t val, uint8_t valSize); -void lwrMacLayerInit(); #endif