Lines Matching refs:pRxData
189 rxData_t *pRxData = (rxData_t *)hRxData;
199 pRxData->hCtrlData = hCtrlData;
200 pRxData->hTxData = hTxData;
201 pRxData->hTnetwDrv = hTnetwDrv;
202 pRxData->hHalCtrl = hHalCtrl;
203 pRxData->hMlme = hMlme;
204 pRxData->hRsn = hRsn;
205 pRxData->hSiteMgr = hSiteMgr;
206 pRxData->hOs = hOs;
207 pRxData->hReport = hReport;
208 pRxData->hMemMngr = hMemMngr;
209 pRxData->hExcMgr = hExcMngr;
210 pRxData->hEvHandler = hEvHandler;
212 pRxData->rxDataExcludeUnencrypted = DEF_EXCLUDE_UNENCYPTED;
213 pRxData->rxDataExludeBroadcastUnencrypted = DEF_EXCLUDE_UNENCYPTED;
214 pRxData->rxDataEapolDestination = DEF_EAPOL_DESTINATION;
215 pRxData->rxDataPortStatus = DEF_RX_PORT_STATUS;
223 pRxData->rxData_dispatchMsdu[CLOSE][DATA_DATA_PACKET] = &rxData_discardMsdu; /* data */
224 pRxData->rxData_dispatchMsdu[CLOSE][DATA_EAPOL_PACKET] = &rxData_discardMsdu; /* eapol */
225 pRxData->rxData_dispatchMsdu[CLOSE][DATA_IAPP_PACKET] = &rxData_discardMsdu; /* Iapp */
226 pRxData->rxData_dispatchMsdu[CLOSE][DATA_VLAN_PACKET] = &rxData_discardMsduVlan; /* VLAN */
229 pRxData->rxData_dispatchMsdu[OPEN_NOTIFY][DATA_DATA_PACKET] = &rxData_rcvMsduInOpenNotify; /* data */
230 pRxData->rxData_dispatchMsdu[OPEN_NOTIFY][DATA_EAPOL_PACKET] = &rxData_rcvMsduInOpenNotify; /* eapol */
231 pRxData->rxData_dispatchMsdu[OPEN_NOTIFY][DATA_IAPP_PACKET] = &rxData_rcvMsduInOpenNotify; /* Iapp */
232 pRxData->rxData_dispatchMsdu[OPEN_NOTIFY][DATA_VLAN_PACKET] = &rxData_discardMsduVlan; /* VLAN */
235 pRxData->rxData_dispatchMsdu[OPEN_EAPOL][DATA_DATA_PACKET] = &rxData_discardMsdu; /* data */
236 pRxData->rxData_dispatchMsdu[OPEN_EAPOL][DATA_EAPOL_PACKET] = &rxData_rcvMsduEapol; /* eapol */
237 pRxData->rxData_dispatchMsdu[OPEN_EAPOL][DATA_IAPP_PACKET] = &rxData_discardMsdu; /* Iapp */
238 pRxData->rxData_dispatchMsdu[OPEN_EAPOL][DATA_VLAN_PACKET] = &rxData_discardMsduVlan; /* VLAN */
241 pRxData->rxData_dispatchMsdu[OPEN][DATA_DATA_PACKET] = &rxData_rcvMsduData; /* data */
242 pRxData->rxData_dispatchMsdu[OPEN][DATA_EAPOL_PACKET] = &rxData_rcvMsduEapol; /* eapol */
244 pRxData->rxData_dispatchMsdu[OPEN][DATA_IAPP_PACKET] = &rxData_rcvMsduIapp; /* Iapp */
246 pRxData->rxData_dispatchMsdu[OPEN][DATA_IAPP_PACKET] = &rxData_rcvMsduData; /* Iapp */
248 pRxData->rxData_dispatchMsdu[OPEN][DATA_VLAN_PACKET] = &rxData_discardMsduVlan;/* VLAN */
251 TnetwDrv_Register_CB(pRxData->hTnetwDrv,TNETW_DRIVER_RX_RECEIVE_PACKET,(void *)rxData_ReceivePacket,hRxData);
252 TnetwDrv_Register_CB(pRxData->hTnetwDrv,TNETW_DRIVER_RX_REQUEST_FOR_BUFFER,(void *)rxData_RequestForBuffer,hRxData);
255 pRxData->filteringEnabled = rxDataInitParams->rxDataFiltersEnabled;
256 pRxData->filteringDefaultAction = rxDataInitParams->rxDataFiltersDefaultAction;
258 whalCtrl_setRxDataFiltersParams(pRxData->hHalCtrl, pRxData->filteringEnabled, pRxData->filteringDefaultAction);
266 WLAN_REPORT_ERROR(pRxData->hReport, RX_DATA_MODULE_LOG,
274 rxData_resetCounters(pRxData);
275 rxData_resetDbgCounters(pRxData);
278 WLAN_REPORT_INIT(pRxData->hReport, RX_DATA_MODULE_LOG,
301 rxData_t *pRxData = (rxData_t *)hRxData;
304 if( pRxData == NULL )
306 WLAN_REPORT_ERROR(pRxData->hReport, RX_DATA_MODULE_LOG,
311 DistributorMgr_Destroy(pRxData->RxEventDistributor);
315 utils_nullTimerDestroy (pRxData->hOs, pRxData->hThroughputTimer);
319 os_memoryFree(pRxData->hOs, pRxData, sizeof(rxData_t));
340 rxData_t *pRxData = (rxData_t *)hRxData;
343 if( pRxData == NULL )
345 WLAN_REPORT_ERROR(pRxData->hReport, RX_DATA_MODULE_LOG,
350 pRxData->rxDataExcludeUnencrypted = DEF_EXCLUDE_UNENCYPTED;
351 pRxData->rxDataExludeBroadcastUnencrypted = DEF_EXCLUDE_UNENCYPTED;
352 pRxData->rxDataEapolDestination = DEF_EAPOL_DESTINATION;
353 pRxData->rxDataPortStatus = DEF_RX_PORT_STATUS;
357 /*rxData_resetCounters(pRxData);*/
358 /*rxData_resetDbgCounters(pRxData);*/
361 if (pRxData->rxThroughputTimerEnable)
363 os_timerStop (pRxData->hOs, pRxData->hThroughputTimer);
364 pRxData->rxThroughputTimerEnable = FALSE;
368 WLAN_REPORT_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG,
391 rxData_t *pRxData = (rxData_t *)hRxData;
394 if( pRxData == NULL )
396 WLAN_REPORT_ERROR(pRxData->hReport, RX_DATA_MODULE_LOG,
404 pParamInfo->content.rxDataExcludeUnencrypted = pRxData->rxDataExcludeUnencrypted;
408 pParamInfo->content.rxDataEapolDestination = pRxData->rxDataEapolDestination;
412 pParamInfo->content.rxDataPortStatus = pRxData->rxDataPortStatus;
416 pParamInfo->content.siteMgrTiWlanCounters.RecvOk = pRxData->rxDataCounters.RecvOk;
417 pParamInfo->content.siteMgrTiWlanCounters.DirectedBytesRecv = pRxData
418 pParamInfo->content.siteMgrTiWlanCounters.DirectedFramesRecv = pRxData->rxDataCounters.DirectedFramesRecv;
419 pParamInfo->content.siteMgrTiWlanCounters.MulticastBytesRecv = pRxData->rxDataCounters.MulticastBytesRecv;
420 pParamInfo->content.siteMgrTiWlanCounters.MulticastFramesRecv = pRxData->rxDataCounters.MulticastFramesRecv;
421 pParamInfo->content.siteMgrTiWlanCounters.BroadcastBytesRecv = pRxData->rxDataCounters.BroadcastBytesRecv;
422 pParamInfo->content.siteMgrTiWlanCounters.BroadcastFramesRecv = pRxData->rxDataCounters.BroadcastFramesRecv;
426 whalCtrl_getRxDataFiltersStatistics(pRxData->hHalCtrl,
436 /* WLAN_REPORT_ERROR(pRxData->hReport, RX_DATA_MODULE_LOG,
464 rxData_t *pRxData = (rxData_t *)hRxData;
467 if( pRxData == NULL )
469 WLAN_REPORT_ERROR(pRxData->hReport, RX_DATA_MODULE_LOG,
477 pRxData->rxDataExcludeUnencrypted = pParamInfo->content.rxDataExcludeUnencrypted;
480 pRxData->rxDataExludeBroadcastUnencrypted = pParamInfo->content.rxDataExcludeUnencrypted;
483 pRxData->rxDataEapolDestination = pParamInfo->content.rxDataEapolDestination;
487 pRxData->rxDataPortStatus = pParamInfo->content.rxDataPortStatus;
502 os_memoryCopy(pRxData->hOs, (PVOID) filterRequest.mask, (PVOID) pRequest->Mask, sizeof(filterRequest.mask));
503 os_memoryCopy(pRxData->hOs, (PVOID) filterRequest.pattern, (PVOID) pRequest->Pattern, sizeof(filterRequest.pattern));
517 os_memoryCopy(pRxData->hOs, (PVOID) filterRequest.mask, (PVOID) pRequest->Mask, sizeof(filterRequest.mask));
518 os_memoryCopy(pRxData->hOs, (PVOID) filterRequest.pattern, (PVOID) pRequest->Pattern, sizeof(filterRequest.pattern));
525 /* WLAN_REPORT_ERROR(pRxData->hReport, RX_DATA_MODULE_LOG,
552 rxData_t * pRxData = (rxData_t *) hRxData;
558 if (enabled == pRxData->filteringEnabled)
561 pRxData->filteringEnabled = enabled;
564 return (TI_STATUS) whalCtrl_setRxDataFiltersParams(pRxData->hHalCtrl, pRxData->filteringEnabled, pRxData->filteringDefaultAction);
584 rxData_t * pRxData = (rxData_t *) hRxData;
589 if (pRxData->isFilterSet[i])
591 if ((pRxData->filterRequests[i].offset == request->offset) &&
592 (pRxData->filterRequests[i].maskLength == request->maskLength) &&
593 (pRxData->filterRequests[i].patternLength == request->patternLength))
595 if ((os_memoryCompare(pRxData->hOs, pRxData->filterRequests[i].mask, request->mask, request->maskLength) == 0) &&
596 (os_memoryCompare(pRxData->hOs, pRxData->filterRequests[i].pattern, request->pattern, request->patternLength) == 0))
620 static void closeFieldPattern(rxData_t * pRxData, rxDataFilterFieldPattern_t * fieldPattern, UINT8 * fieldPatterns, UINT8 * lenFieldPatterns)
631 os_memoryCopy(pRxData->hOs, fieldPatterns + *lenFieldPatterns, fieldPattern->pattern, fieldPattern->length);
637 os_memoryCopy(pRxData->hOs, fieldPatterns + *lenFieldPatterns, fieldPattern->mask, fieldPattern->length);
641 WLAN_REPORT_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG, ("%s: Closed field pattern, length = %d, total length = %d, pattern bit mask = %d.\n", __FUNCTION__, fieldPattern->length, *lenFieldPatterns, ((fieldPattern->flag & RX_DATA_FILTER_FLAG_USE_BIT_MASK) == RX_DATA_FILTER_FLAG_USE_BIT_MASK)));
662 rxData_t * pRxData = (rxData_t *) hRxData;
680 WLAN_REPORT_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG,
701 WLAN_REPORT_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG,
709 WLAN_REPORT_ERROR(pRxData->hReport, RX_DATA_MODULE_LOG,
732 WLAN_REPORT_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG,
739 WLAN_REPORT_ERROR(pRxData->hReport, RX_DATA_MODULE_LOG,
751 WLAN_REPORT_ERROR(pRxData->hReport, RX_DATA_MODULE_LOG,
762 WLAN_REPORT_ERROR(pRxData->hReport, RX_DATA_MODULE_LOG,
795 rxData_t * pRxData = (rxData_t *) hRxData;
803 WLAN_REPORT_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG,
809 WLAN_REPORT_HEX_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG, request->mask, request->maskLength);
810 WLAN_REPORT_HEX_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG, request->pattern, request->patternLength);
815 WLAN_REPORT_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG,
824 if (pRxData->isFilterSet[index] == FALSE)
831 WLAN_REPORT_ERROR(pRxData->hReport, RX_DATA_MODULE_LOG,
837 WLAN_REPORT_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG,
848 pRxData->isFilterSet[index] = TRUE;
849 os_memoryCopy(pRxData->hOs, &pRxData->filterRequests[index], request, sizeof(pRxData->filterRequests[index]));
852 return (TI_STATUS) whalCtrl_setRxDataFilter(pRxData->hHalCtrl, index, ADD_FILTER, FILTER_SIGNAL,
876 rxData_t * pRxData = (rxData_t *) hRxData;
880 WLAN_REPORT_INFORMATION(pRxData->hOs, RX_DATA_MODULE_LOG,
886 WLAN_REPORT_HEX_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG, request->mask, request->maskLength);
887 WLAN_REPORT_HEX_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG, request->pattern, request->patternLength);
892 WLAN_REPORT_WARNING(pRxData->hOs, RX_DATA_MODULE_LOG,
898 WLAN_REPORT_INFORMATION(pRxData->hOs, RX_DATA_MODULE_LOG,
901 pRxData->isFilterSet[index] = FALSE;
903 return (TI_STATUS) whalCtrl_setRxDataFilter(pRxData->hHalCtrl, index, REMOVE_FILTER,
926 static VOID rxData_DistributorRxEvent(rxData_t *pRxData,UINT16 Mask,int DataLen)
928 DistributorMgr_EventCall(pRxData->RxEventDistributor,Mask,DataLen);
936 rxData_t *pRxData = (rxData_t *)hRxData;
939 return DistributorMgr_Reg(pRxData->RxEventDistributor,EventMask,(TI_HANDLE)CallBack,context,Cookie);
947 rxData_t *pRxData = (rxData_t *)hRxData;
950 return DistributorMgr_AddToMask(pRxData->RxEventDistributor,Notifh,EventMask);
960 rxData_t *pRxData = (rxData_t *)hRxData;
965 status = DistributorMgr_UnReg(pRxData->RxEventDistributor,RegEventHandle);
986 rxData_t *pRxData = (rxData_t *)hRxData;
991 WLAN_REPORT_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG,
998 WLAN_REPORT_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG,
1008 os_memoryCopy(pRxData->hOs, &address3, &pDot11Hdr->address3, sizeof(address3));
1013 if (NOK == siteMgr_CheckRxSignalValidity(pRxData->hSiteMgr, pRxAttr->Rssi, pRxAttr->channel,&address3))
1015 wlan_memMngrFreeMSDU(pRxData->hMemMngr, memMgr_MsduHandle(pMsdu));
1021 wlan_memMngrChangeMsduOwner(pRxData->hMemMngr,MLME_RX_MODULE,pMsdu);
1023 if( mlmeParser_recv(pRxData->hMlme, pMsdu, pRxAttr) != OK )
1025 WLAN_REPORT_WARNING(pRxData->hReport, RX_DATA_MODULE_LOG,
1033 siteMgr_updateRxSignal(pRxData->hSiteMgr, pRxAttr->SNR,
1035 /*WLAN_REPORT_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG,
1042 WLAN_REPORT_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG,
1051 WLAN_REPORT_ERROR(pRxData->hReport, RX_DATA_MODULE_LOG,
1054 WLAN_REPORT_DEBUG_RX(pRxData->hReport,
1058 wlan_memMngrFreeMSDU(pRxData->hMemMngr, memMgr_MsduHandle(pMsdu));
1080 rxData_t *pRxData = (rxData_t *)hRxData;
1086 DataPortStatus = pRxData->rxDataPortStatus;
1091 WLAN_REPORT_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG,
1101 if (excMngr_isIappPacket(pRxData->hExcMgr, pMsdu) == TRUE)
1103 WLAN_REPORT_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG,
1126 WLAN_REPORT_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG,
1134 WLAN_REPORT_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG,
1142 WLAN_REPORT_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG,
1150 pRxData->rxData_dispatchMsdu[DataPortStatus][DataPacketType](hRxData,pMsdu,pRxAttr);
1169 rxData_t *pRxData = (rxData_t *)hRxData;
1171 WLAN_REPORT_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG,
1172 (" rxData_discardMsdu: rx port status = %d , Msdu status = %d \n",pRxData->rxDataPortStatus,pRxAttr->status));
1174 WLAN_REPORT_DEBUG_RX(pRxData->hReport,
1175 (" rxData_discardMsdu: rx port status = %d , Msdu status = %d \n",pRxData->rxDataPortStatus,pRxAttr->status));
1178 pRxData->rxDataDbgCounters.excludedFrameCounter++;
1182 wlan_memMngrFreeMSDU(pRxData->hMemMngr, memMgr_MsduHandle(pMsdu));
1203 rxData_t *pRxData = (rxData_t *)hRxData;
1206 WLAN_REPORT_WARNING(pRxData->hReport, RX_DATA_MODULE_LOG,
1209 pRxData->rxDataDbgCounters.rxDroppedDueToVLANIncludedCnt++;
1213 wlan_memMngrFreeMSDU(pRxData->hMemMngr, memMgr_MsduHandle(pMsdu));
1232 rxData_t *pRxData = (rxData_t *)hRxData;
1234 WLAN_REPORT_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG,
1237 WLAN_REPORT_DEBUG_RX(pRxData->hReport,
1240 pRxData->rxDataDbgCounters.rcvUnicastFrameInOpenNotify++;
1243 wlan_memMngrFreeMSDU(pRxData->hMemMngr, memMgr_MsduHandle(pMsdu));
1262 rxData_t *pRxData = (rxData_t *)hRxData;
1264 WLAN_REPORT_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG,
1267 WLAN_REPORT_DEBUG_RX(pRxData->hReport,
1270 EvHandlerSendEvent(pRxData->hEvHandler, IPC_EVENT_EAPOL,
1274 wlan_memMngrChangeMsduOwner(pRxData->hMemMngr,OS_ABS_RX_MODULE,pMsdu);
1276 os_receivePacket(pRxData->hOs, pMsdu, (UINT16)pMsdu->dataLen);
1298 rxData_t *pRxData = (rxData_t *)hRxData;
1303 WLAN_REPORT_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG,
1306 WLAN_REPORT_DEBUG_RX(pRxData->hReport,
1313 if((pRxData->rxDataExcludeUnencrypted) && (!(pRxAttr->packetInfo & RX_PACKET_FLAGS_ENCRYPTION)))
1315 pRxData->rxDataDbgCounters.excludedFrameCounter++;
1317 WLAN_REPORT_WARNING(pRxData->hReport, RX_DATA_MODULE_LOG,
1320 wlan_memMngrFreeMSDU(pRxData->hMemMngr, memMgr_MsduHandle(pMsdu));
1327 if ((pRxData->rxDataExludeBroadcastUnencrypted) && (!(pRxAttr->packetInfo & RX_PACKET_FLAGS_ENCRYPTION)))
1329 pRxData->rxDataDbgCounters.excludedFrameCounter++;
1331 WLAN_REPORT_WARNING(pRxData->hReport, RX_DATA_MODULE_LOG,
1334 wlan_memMngrFreeMSDU(pRxData->hMemMngr, memMgr_MsduHandle(pMsdu));
1344 pCtrlData = (ctrlData_t *)pRxData->hCtrlData;
1347 pRxData->rxDataDbgCounters.excludedFrameCounter++;
1349 wlan_memMngrFreeMSDU(pRxData->hMemMngr, memMgr_MsduHandle(pMsdu));
1355 pRxData->rxDataCounters.RecvOk++;
1360 pRxData->rxDataCounters.DirectedFramesRecv++;
1361 pRxData->rxDataCounters.DirectedBytesRecv += pMsdu->dataLen;
1371 pRxData->rxDataCounters.BroadcastFramesRecv++;
1372 pRxData->rxDataCounters.BroadcastBytesRecv += pMsdu->dataLen;
1380 pRxData->rxDataCounters.MulticastFramesRecv++;
1381 pRxData->rxDataCounters.MulticastBytesRecv += pMsdu->dataLen;
1388 pRxData->rxDataCounters.LastSecBytesRecv += pMsdu->dataLen;
1393 WLAN_REPORT_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG,
1396 WLAN_REPORT_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG,
1398 EvHandlerSendEvent(pRxData->hEvHandler, IPC_EVENT_PREAUTH_EAPOL,
1404 rxData_DistributorRxEvent(pRxData,EventMask,(int)pMsdu->dataLen);
1407 wlan_memMngrChangeMsduOwner(pRxData->hMemMngr,OS_ABS_RX_MODULE,pMsdu);
1408 os_receivePacket(pRxData->hOs, pMsdu, (UINT16)pMsdu->dataLen);
1430 rxData_t *pRxData = (rxData_t *)hRxData;
1432 WLAN_REPORT_INFORMATION(pRxData->hReport, RX_DATA_MODULE_LOG,
1435 WLAN_REPORT_DEBUG_RX(pRxData->hReport,
1439 wlan_memMngrChangeMsduOwner(pRxData->hMemMngr,EXC_MANAGER_RX_MODULE,pMsdu);
1440 excMngr_recvIAPPPacket(pRxData->hExcMgr, pMsdu);
1443 wlan_memMngrFreeMSDU(pRxData->hMemMngr, memMgr_MsduHandle(pMsdu));
1474 rxData_t *pRxData = (rxData_t *)hRxData;
1546 MAC_COPY(pRxData->hOs, (&EthHeader.DstAddr), (&pDot11Header->address1));
1547 MAC_COPY(pRxData->hOs, (&EthHeader.SrcAddr), (&pDot11Header->address3));
1551 MAC_COPY(pRxData->hOs, (&EthHeader.DstAddr), (&pDot11Header->address1));
1552 MAC_COPY(pRxData->hOs, (&EthHeader.SrcAddr), (&pDot11Header->address2));
1567 os_memoryCopy(pRxData->hOs, dataBuf, (void*)&EthHeader, ETHERNET_HDR_LEN );
1573 wlan_memMngrFreeBD(pRxData->hMemMngr, pMsdu->firstBDPtr->nextBDPtr->handle);
1592 os_memoryCopy(pRxData->hOs, dataBuf, (void*)&EthHeader, ETHERNET_HDR_LEN );
1626 rxData_t *pRxData = (rxData_t *)hRxData;
1627 mem_MSDU_T *pMsdu = pRxData->pReqForBufMsdu;
1662 siteMgr_getParam (pRxData->hSiteMgr, &Param);
1675 WLAN_REPORT_ERROR(pRxData->hReport, RX_DATA_MODULE_LOG,
1679 rsn_reportMicFailure (pRxData->hRsn, &uKeyType, sizeof(uKeyType));
1680 wlan_memMngrFreeMSDU (pRxData->hMemMngr, memMgr_MsduHandle(pMsdu));
1686 if (pRxData->rxDataPortStatus == OPEN)
1688 WLAN_REPORT_WARNING(pRxData->hReport, RX_DATA_MODULE_LOG,
1692 wlan_memMngrFreeMSDU (pRxData->hMemMngr, memMgr_MsduHandle(pMsdu));
1697 WLAN_REPORT_ERROR(pRxData->hReport, RX_DATA_MODULE_LOG,
1701 wlan_memMngrFreeMSDU (pRxData->hMemMngr, memMgr_MsduHandle(pMsdu));
1705 WLAN_REPORT_INFORMATION (pRxData->hReport, RX_DATA_MODULE_LOG, ("ReceivePacket\n"));
1724 WLAN_REPORT_DEBUG_RX(pRxData->hReport,
1743 WLAN_REPORT_ERROR(pRxData->hReport, RX_DATA_MODULE_LOG,
1753 WLAN_REPORT_ERROR (pRxData->hReport, RX_DATA_MODULE_LOG,
1774 rxData_t *pRxData = (rxData_t *)hRxData;
1776 WLAN_REPORT_INFORMATION (pRxData->hReport, RX_DATA_MODULE_LOG,
1779 if (wlan_memMngrAllocMSDU(pRxData->hMemMngr, &pRxData->pReqForBufMsdu, aLength, HAL_RX_MODULE) != OK)
1781 WLAN_REPORT_ERROR(pRxData->hReport, HAL_CTRL_MODULE_LOG,
1786 return memMgr_BufData (pRxData->pReqForBufMsdu->firstBDPtr);
1803 rxData_t *pRxData = (rxData_t *)hRxData;
1805 os_memoryZero(pRxData->hOs, &pRxData->rxDataCounters, sizeof(rxDataCounters_t));
1822 rxData_t *pRxData = (rxData_t *)hRxData;
1824 os_memoryZero(pRxData->hOs, &pRxData->rxDataDbgCounters, sizeof(rxDataDbgCounters_t));
1833 rxData_t *pRxData = (rxData_t *)hRxData;
1835 if(pRxData)
1837 WLAN_OS_REPORT(("RecvOk = %d\n", pRxData->rxDataCounters.RecvOk));
1838 WLAN_OS_REPORT(("DirectedBytesRecv = %d\n", pRxData->rxDataCounters.DirectedBytesRecv));
1839 WLAN_OS_REPORT(("DirectedFramesRecv = %d\n", pRxData->rxDataCounters.DirectedFramesRecv));
1840 WLAN_OS_REPORT(("MulticastBytesRecv = %d\n", pRxData->rxDataCounters.MulticastBytesRecv));
1841 WLAN_OS_REPORT(("MulticastFramesRecv = %d\n", pRxData->rxDataCounters.MulticastFramesRecv));
1842 WLAN_OS_REPORT(("BroadcastBytesRecv = %d\n", pRxData->rxDataCounters.BroadcastBytesRecv));
1843 WLAN_OS_REPORT(("BroadcastFramesRecv = %d\n", pRxData->rxDataCounters.BroadcastFramesRecv));
1846 WLAN_OS_REPORT(("excludedFrameCounter = %d\n", pRxData->rxDataDbgCounters.excludedFrameCounter));
1847 WLAN_OS_REPORT(("rxDroppedDueToVLANIncludedCnt = %d\n", pRxData->rxDataDbgCounters.rxDroppedDueToVLANIncludedCnt));
1848 WLAN_OS_REPORT(("rxWrongBssTypeCounter = %d\n", pRxData->rxDataDbgCounters.rxWrongBssTypeCounter));
1849 WLAN_OS_REPORT(("rxWrongBssIdCounter = %d\n", pRxData->rxDataDbgCounters.rxWrongBssIdCounter));
1850 WLAN_OS_REPORT(("rcvUnicastFrameInOpenNotify = %d\n", pRxData->rxDataDbgCounters.rcvUnicastFrameInOpenNotify));
1857 rxData_t *pRxData = (rxData_t *)hRxData;
1859 WLAN_OS_REPORT(("hCtrlData = 0x%X\n", pRxData->hCtrlData));
1860 WLAN_OS_REPORT(("hMlme = 0x%X\n", pRxData->hMlme));
1861 WLAN_OS_REPORT(("hOs = 0x%X\n", pRxData->hOs));
1862 WLAN_OS_REPORT(("hReport = 0x%X\n", pRxData->hReport));
1863 WLAN_OS_REPORT(("hRsn = 0x%X\n", pRxData->hRsn));
1864 WLAN_OS_REPORT(("hSiteMgr = 0x%X\n", pRxData->hSiteMgr));
1865 WLAN_OS_REPORT(("hMemMngr = 0x%X\n", pRxData->hMemMngr));
1867 WLAN_OS_REPORT(("hCtrlData = 0x%X\n", pRxData->hCtrlData));
1868 WLAN_OS_REPORT(("hMlme = 0x%X\n", pRxData->hMlme));
1869 WLAN_OS_REPORT(("hOs = 0x%X\n", pRxData->hOs));
1870 WLAN_OS_REPORT(("hReport = 0x%X\n", pRxData->hReport));
1871 WLAN_OS_REPORT(("hRsn = 0x%X\n", pRxData->hRsn));
1872 WLAN_OS_REPORT(("hSiteMgr = 0x%X\n", pRxData->hSiteMgr));
1873 WLAN_OS_REPORT(("hMemMngr = 0x%X\n", pRxData->hMemMngr));
1875 WLAN_OS_REPORT(("rxDataPortStatus = %d\n", pRxData->rxDataPortStatus));
1876 WLAN_OS_REPORT(("rxDataExcludeUnencrypted = %d\n", pRxData->rxDataExcludeUnencrypted));
1877 WLAN_OS_REPORT(("rxDataEapolDestination = %d\n", pRxData->rxDataEapolDestination));
1884 rxData_t *pRxData = (rxData_t *)hRxData;
1886 if (!pRxData->rxThroughputTimerEnable)
1889 pRxData->rxDataCounters.LastSecBytesRecv = 0;
1890 pRxData->rxThroughputTimerEnable = TRUE;
1893 os_timerStart (pRxData->hOs, pRxData->hThroughputTimer, 1000, TRUE);
1901 rxData_t *pRxData = (rxData_t *)hRxData;
1903 if (pRxData->rxThroughputTimerEnable)
1905 os_timerStop (pRxData->hOs, pRxData->hThroughputTimer);
1906 pRxData->rxThroughputTimerEnable = FALSE;
1913 rxData_t *pRxData = (rxData_t *)hRxData;
1917 WLAN_OS_REPORT (("Throughput = %d KBits/sec\n", pRxData->rxDataCounters.LastSecBytesRecv * 8 / 1024));
1920 pRxData->rxDataCounters.LastSecBytesRecv = 0;
1926 rxData_t *pRxData = (rxData_t *)hRxData;
1930 if (pRxData->isFilterSet[index])
1933 HexDumpData(pRxData->filterRequests[index].pattern, pRxData->filterRequests[index].patternLength);
1934 HexDumpData(pRxData->filterRequests[index].mask, pRxData->filterRequests[index].maskLength);