{
/* fill Pst structure to send to lwr_mac to MAC */
Pst pst;
- uint16_t ret;
- SlotIndInfo *slotInd;
+ uint16_t ret = 0;
+ SlotIndInfo *slotInd = {0};
MAC_ALLOC_SHRABL_BUF(slotInd, sizeof(SlotIndInfo));
if(slotInd)
uint8_t procRxDataInd(fapi_rx_data_indication_t *fapiRxDataInd)
{
Pst pst;
- uint8_t pduIdx;
+ uint8_t pduIdx =0;
RxDataInd *rxDataInd = NULLP;
RxDataIndPdu *pdu = NULLP;
{
#ifdef INTEL_FAPI
/* extract the header */
- fapi_msg_t *header;
+ fapi_msg_t *header = NULLP;
header = (fapi_msg_t *)msg;
switch(header->msg_id)
{
+#ifdef INTEL_TIMER_MODE
+ case FAPI_VENDOR_EXT_UL_IQ_SAMPLES:
+ {
+ printf("\nLWR_MAC: Received FAPI_VENDOR_EXT_UL_IQ_SAMPLES");
+ //send config req
+ uint16_t cellId = 1;
+ sendToLowerMac(CONFIG_REQUEST, 0, (void *)&cellId);
+ break;
+ }
+#endif
case FAPI_PARAM_RESPONSE:
{
sendToLowerMac(PARAM_RESPONSE, msgSize, msg);
lwrMacCb.cellCb[0].state = PHY_STATE_RUNNING;
}
- fapi_slot_ind_t *slotInd;
+ fapi_slot_ind_t *slotInd = NULLP;
slotInd = (fapi_slot_ind_t *)msg;
procSlotInd(slotInd);
break;