Lines Matching refs:pRxData
132 rxData_t *pRxData;
143 pRxData = os_memoryAlloc(hOs, (sizeof(rxData_t)));
145 if (!pRxData)
152 os_memoryZero (hOs, pRxData, (sizeof(rxData_t)));
154 pRxData->RxEventDistributor = DistributorMgr_Create (hOs, MAX_RX_NOTIF_REQ_ELMENTS);
156 pRxData->hOs = hOs;
158 return (TI_HANDLE)pRxData;
174 rxData_t *pRxData = (rxData_t *)(pStadHandles->hRxData);
176 pRxData->hCtrlData = pStadHandles->hCtrlData;
177 pRxData->hTWD = pStadHandles->hTWD;
178 pRxData->hMlme = pStadHandles->hMlmeSm;
179 pRxData->hRsn = pStadHandles->hRsn;
180 pRxData->hSiteMgr = pStadHandles->hSiteMgr;
181 pRxData->hOs = pStadHandles->hOs;
182 pRxData->hReport = pStadHandles->hReport;
183 pRxData->hXCCMgr = pStadHandles->hXCCMngr;
184 pRxData->hEvHandler = pStadHandles->hEvHandler;
185 pRxData->hTimer = pStadHandles->hTimer;
186 pRxData->hPowerMgr = pStadHandles->hPowerMgr;
188 pRxData->rxDataExcludeUnencrypted = DEF_EXCLUDE_UNENCYPTED;
189 pRxData->rxDataExludeBroadcastUnencrypted = DEF_EXCLUDE_UNENCYPTED;
190 pRxData->rxDataEapolDestination = DEF_EAPOL_DESTINATION;
191 pRxData->rxDataPortStatus = DEF_RX_PORT_STATUS;
198 pRxData->rxData_dispatchBuffer[CLOSE][DATA_DATA_PACKET] = &rxData_discardPacket; /* data */
199 pRxData->rxData_dispatchBuffer[CLOSE][DATA_EAPOL_PACKET] = &rxData_discardPacket; /* eapol */
200 pRxData->rxData_dispatchBuffer[CLOSE][DATA_IAPP_PACKET] = &rxData_discardPacket; /* Iapp */
201 pRxData->rxData_dispatchBuffer[CLOSE][DATA_VLAN_PACKET] = &rxData_discardPacketVlan; /* VLAN */
204 pRxData->rxData_dispatchBuffer[OPEN_NOTIFY][DATA_DATA_PACKET] = &rxData_rcvPacketInOpenNotify; /* data */
205 pRxData->rxData_dispatchBuffer[OPEN_NOTIFY][DATA_EAPOL_PACKET] = &rxData_rcvPacketInOpenNotify; /* eapol */
206 pRxData->rxData_dispatchBuffer[OPEN_NOTIFY][DATA_IAPP_PACKET] = &rxData_rcvPacketInOpenNotify; /* Iapp */
207 pRxData->rxData_dispatchBuffer[OPEN_NOTIFY][DATA_VLAN_PACKET] = &rxData_discardPacketVlan; /* VLAN */
210 pRxData->rxData_dispatchBuffer[OPEN_EAPOL][DATA_DATA_PACKET] = &rxData_discardPacket; /* data */
211 pRxData->rxData_dispatchBuffer[OPEN_EAPOL][DATA_EAPOL_PACKET] = &rxData_rcvPacketEapol; /* eapol */
212 pRxData->rxData_dispatchBuffer[OPEN_EAPOL][DATA_IAPP_PACKET] = &rxData_discardPacket; /* Iapp */
213 pRxData->rxData_dispatchBuffer[OPEN_EAPOL][DATA_VLAN_PACKET] = &rxData_discardPacketVlan; /* VLAN */
216 pRxData->rxData_dispatchBuffer[OPEN][DATA_DATA_PACKET] = &rxData_rcvPacketData; /* data */
217 pRxData->rxData_dispatchBuffer[OPEN][DATA_EAPOL_PACKET] = &rxData_rcvPacketEapol; /* eapol */
219 pRxData->rxData_dispatchBuffer[OPEN][DATA_IAPP_PACKET] = &rxData_rcvPacketIapp; /* Iapp */
221 pRxData->rxData_dispatchBuffer[OPEN][DATA_IAPP_PACKET] = &rxData_rcvPacketData; /* Iapp */
223 pRxData->rxData_dispatchBuffer[OPEN][DATA_VLAN_PACKET] = &rxData_discardPacketVlan;/* VLAN */
226 TWD_RegisterCb (pRxData->hTWD,
231 TWD_RegisterCb (pRxData->hTWD,
240 rxData_t *pRxData = (rxData_t *)hRxData;
244 pRxData->filteringEnabled = rxDataInitParams->rxDataFiltersEnabled;
245 pRxData->filteringDefaultAction = rxDataInitParams->rxDataFiltersDefaultAction;
246 TWD_CfgEnableRxDataFilter (pRxData->hTWD, pRxData->filteringEnabled, pRxData->filteringDefaultAction);
254 TRACE1(pRxData->hReport, REPORT_SEVERITY_ERROR, ": Invalid Rx Data Filter configured at init stage (at index %d)!\n", i);
259 pRxData->reAuthActiveTimer = tmr_CreateTimer (pRxData->hTimer);
260 if (pRxData->reAuthActiveTimer == NULL)
266 pRxData->reAuthActiveTimeout = rxDataInitParams->reAuthActiveTimeout;
268 rxData_SetReAuthInProgress(pRxData, TI_FALSE);
272 rxData_resetCounters(pRxData);
273 rxData_resetDbgCounters(pRxData);
276 pRxData->hThroughputTimer = tmr_CreateTimer (pRxData->hTimer);
277 if (pRxData->hThroughputTimer == NULL)
279 TRACE0(pRxData->hReport, REPORT_SEVERITY_ERROR, "rxData_SetDefaults(): Failed to create hThroughputTimer!\n");
282 pRxData->rxThroughputTimerEnable = TI_FALSE;
286 TRACE0(pRxData->hReport, REPORT_SEVERITY_INIT, ".....Rx Data configured successfully\n");
305 rxData_t *pRxData = (rxData_t *)hRxData;
308 if (pRxData == NULL)
313 DistributorMgr_Destroy(pRxData->RxEventDistributor);
317 if (pRxData->hThroughputTimer)
319 tmr_DestroyTimer (pRxData->hThroughputTimer);
323 if (pRxData->reAuthActiveTimer)
325 tmr_DestroyTimer (pRxData->reAuthActiveTimer);
329 os_memoryFree(pRxData->hOs, pRxData, sizeof(rxData_t));
349 rxData_t *pRxData = (rxData_t *)hRxData;
352 if (pRxData == NULL)
357 pRxData->rxDataExcludeUnencrypted = DEF_EXCLUDE_UNENCYPTED;
358 pRxData->rxDataExludeBroadcastUnencrypted = DEF_EXCLUDE_UNENCYPTED;
359 pRxData->rxDataEapolDestination = DEF_EAPOL_DESTINATION;
360 pRxData->rxDataPortStatus = DEF_RX_PORT_STATUS;
364 /*rxData_resetCounters(pRxData);*/
365 /*rxData_resetDbgCounters(pRxData);*/
368 if (pRxData->rxThroughputTimerEnable)
370 tmr_StopTimer (pRxData->hThroughputTimer);
371 pRxData->rxThroughputTimerEnable = TI_FALSE;
375 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_stop() : Succeeded.\n");
396 rxData_t *pRxData = (rxData_t *)hRxData;
399 if (pRxData == NULL)
407 pParamInfo->content.rxDataExcludeUnencrypted = pRxData->rxDataExcludeUnencrypted;
411 pParamInfo->content.rxDataEapolDestination = pRxData->rxDataEapolDestination;
415 pParamInfo->content.rxDataPortStatus = pRxData->rxDataPortStatus;
419 pParamInfo->content.siteMgrTiWlanCounters.RecvOk = pRxData
420 pParamInfo->content.siteMgrTiWlanCounters.DirectedBytesRecv = pRxData->rxDataCounters.DirectedBytesRecv;
421 pParamInfo->content.siteMgrTiWlanCounters.DirectedFramesRecv = pRxData->rxDataCounters.DirectedFramesRecv;
422 pParamInfo->content.siteMgrTiWlanCounters.MulticastBytesRecv = pRxData->rxDataCounters.MulticastBytesRecv;
423 pParamInfo->content.siteMgrTiWlanCounters.MulticastFramesRecv = pRxData->rxDataCounters.MulticastFramesRecv;
424 pParamInfo->content.siteMgrTiWlanCounters.BroadcastBytesRecv = pRxData->rxDataCounters.BroadcastBytesRecv;
425 pParamInfo->content.siteMgrTiWlanCounters.BroadcastFramesRecv = pRxData->rxDataCounters.BroadcastFramesRecv;
429 TWD_ItrDataFilterStatistics (pRxData->hTWD,
436 pParamInfo->content.siteMgrCurrentRxRate = pRxData->uLastDataPktRate;
440 TRACE0(pRxData->hReport, REPORT_SEVERITY_ERROR, " rxData_getParam() : PARAMETER NOT SUPPORTED \n");
463 rxData_t *pRxData = (rxData_t *)hRxData;
466 if( pRxData == NULL )
474 pRxData->rxDataExcludeUnencrypted = pParamInfo->content.rxDataExcludeUnencrypted;
477 pRxData->rxDataExludeBroadcastUnencrypted = pParamInfo->content.rxDataExcludeUnencrypted;
480 pRxData->rxDataEapolDestination = pParamInfo->content.rxDataEapolDestination;
484 pRxData->rxDataPortStatus = pParamInfo->content.rxDataPortStatus;
505 TRACE0(pRxData->hReport, REPORT_SEVERITY_ERROR, " rxData_setParam() : PARAMETER NOT SUPPORTED \n");
529 rxData_t * pRxData = (rxData_t *) hRxData;
535 if (enabled == pRxData->filteringEnabled)
538 pRxData->filteringEnabled = enabled;
540 return TWD_CfgEnableRxDataFilter (pRxData->hTWD, pRxData->filteringEnabled, pRxData->filteringDefaultAction);
560 rxData_t * pRxData = (rxData_t *) hRxData;
565 if (pRxData->isFilterSet[i])
567 if ((pRxData->filterRequests[i].offset == request->offset) &&
568 (pRxData->filterRequests[i].maskLength == request->maskLength) &&
569 (pRxData->filterRequests[i].patternLength == request->patternLength))
571 if ((os_memoryCompare(pRxData->hOs, pRxData->filterRequests[i].mask, request->mask, request->maskLength) == 0) &&
572 (os_memoryCompare(pRxData->hOs, pRxData->filterRequests[i].pattern, request->pattern, request->patternLength) == 0))
596 static void closeFieldPattern (rxData_t * pRxData, rxDataFilterFieldPattern_t * fieldPattern, TI_UINT8 * fieldPatterns, TI_UINT8 * lenFieldPatterns)
607 os_memoryCopy(pRxData->hOs, fieldPatterns + *lenFieldPatterns, fieldPattern->pattern, fieldPattern->length);
613 os_memoryCopy(pRxData->hOs, fieldPatterns + *lenFieldPatterns, fieldPattern->mask, fieldPattern->length);
617 TRACE3(pRxData->hReport, REPORT_SEVERITY_INFORMATION, ": Closed field pattern, length = %d, total length = %d, pattern bit mask = %d.\n", fieldPattern->length, *lenFieldPatterns, ((fieldPattern->flag & RX_DATA_FILTER_FLAG_USE_BIT_MASK) == RX_DATA_FILTER_FLAG_USE_BIT_MASK));
638 rxData_t * pRxData = (rxData_t *) hRxData;
656 TRACE4(pRxData->hReport, REPORT_SEVERITY_INFORMATION, ": MaskIter = %d, Byte = %d, Bit = %d, isSet = %d\n", maskIter, byte, bit, isSet);
676 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, ": Creating a new field pattern.\n");
683 TRACE1(pRxData->hReport, REPORT_SEVERITY_ERROR, ": Invalid filter, too many field patterns, maximum of %u is allowed!\n", RX_DATA_FILTER_MAX_FIELD_PATTERNS);
705 TRACE2(pRxData->hReport, REPORT_SEVERITY_INFORMATION, ": offset = %d, flag = %d.\n", fieldPattern.offset, fieldPattern.flag);
711 TRACE0(pRxData->hReport, REPORT_SEVERITY_ERROR, ": Invalid filter, mask and pattern length are not consistent!\n");
722 TRACE1(pRxData->hReport, REPORT_SEVERITY_ERROR, ": Invalid filter, pattern matching cannot exceed first %u characters.\n", RX_DATA_FILTER_FILTER_BOUNDARY);
732 TRACE0(pRxData->hReport, REPORT_SEVERITY_ERROR, ": Invalid filter, mask and pattern lengths are not consistent!\n");
764 rxData_t * pRxData = (rxData_t *) hRxData;
775 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, ": Filter already exists.\n");
783 if (pRxData->isFilterSet[index] == TI_FALSE)
790 TRACE0(pRxData->hReport, REPORT_SEVERITY_ERROR, ": No place to insert filter!\n");
795 TRACE1(pRxData->hReport, REPORT_SEVERITY_INFORMATION, ": Inserting filter at index %d.\n", index);
805 pRxData->isFilterSet[index] = TI_TRUE;
806 os_memoryCopy(pRxData->hOs, &pRxData->filterRequests[index], request, sizeof(pRxData->filterRequests[index]));
809 return TWD_CfgRxDataFilter (pRxData->hTWD,
836 rxData_t * pRxData = (rxData_t *) hRxData;
843 TRACE0(pRxData->hReport, REPORT_SEVERITY_WARNING, ": Remove data filter request received but the specified filter was not found!");
848 TRACE1(pRxData->hReport, REPORT_SEVERITY_INFORMATION, ": Removing filter at index %d.", index);
850 pRxData->isFilterSet[index] = TI_FALSE;
852 return TWD_CfgRxDataFilter (pRxData->hTWD,
876 static void rxData_DistributorRxEvent (rxData_t *pRxData, TI_UINT16 Mask, int DataLen)
878 DistributorMgr_EventCall (pRxData->RxEventDistributor, Mask, DataLen);
886 rxData_t *pRxData = (rxData_t *)hRxData;
891 return DistributorMgr_Reg (pRxData->RxEventDistributor, EventMask, (TI_HANDLE)CallBack, context, Cookie);
899 rxData_t *pRxData = (rxData_t *)hRxData;
904 return DistributorMgr_AddToMask (pRxData->RxEventDistributor, Notifh, EventMask);
913 rxData_t *pRxData = (rxData_t *)hRxData;
918 return DistributorMgr_UnReg (pRxData->RxEventDistributor, RegEventHandle);
938 rxData_t *pRxData = (rxData_t *)hRxData;
942 TRACE1(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_receivePacketFromWlan() : pRxAttr->packetType = %d\n", pRxAttr->ePacketType);
949 TRACE1(pRxData->hReport, REPORT_SEVERITY_INFORMATION, "rxData_receivePacketFromWlan(): Received management Buffer len = %d\n", RX_BUF_LEN(pBuffer));
958 os_memoryCopy(pRxData->hOs, &address3, &pDot11Hdr->address3, sizeof(address3));
961 if( mlmeParser_recv(pRxData->hMlme, pBuffer, pRxAttr) != TI_OK )
963 TRACE0(pRxData->hReport, REPORT_SEVERITY_WARNING, " rxData_receivePacketFromWlan() : MLME returned error \n");
973 TRACE1(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_receivePacketFromWlan() : Received Data Buffer len = %d\n", RX_BUF_LEN(pBuffer));
982 TRACE0(pRxData->hReport, REPORT_SEVERITY_WARNING, " rxData_receivePacketFromWlan(): Received unspecified packet type !!! \n");
983 RxBufFree(pRxData->hOs, pBuffer);
1006 rxData_t *pRxData = (rxData_t *)hRxData;
1011 DataPortStatus = pRxData->rxDataPortStatus;
1016 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_dataPacketDisptcher() : Received Data Buffer while Rx data port is closed \n");
1024 pRxData->uLastDataPktRate = pRxAttr->Rate; /* save Rx packet rate for statistics */
1027 if (XCCMngr_isIappPacket (pRxData->hXCCMgr, pBuffer) == TI_TRUE)
1029 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_dataPacketDisptcher() : Received Iapp Buffer \n");
1034 pRxData->rxData_dispatchBuffer[DataPortStatus][DataPacketType] (hRxData, pBuffer, pRxAttr);
1060 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_dataPacketDisptcher() : Received VLAN packet \n");
1066 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_dataPacketDisptcher() : Received Eapol packet \n");
1068 if (rxData_IsReAuthInProgress(pRxData))
1071 rxData_StopReAuthActiveTimer(pRxData);
1072 rxData_StartReAuthActiveTimer(pRxData);
1076 if (PowerMgr_getReAuthActivePriority(pRxData->hPowerMgr))
1079 rxData_SetReAuthInProgress(pRxData, TI_TRUE);
1080 rxData_StartReAuthActiveTimer(pRxData);
1081 rxData_ReauthEnablePriority(pRxData);
1082 EvHandlerSendEvent(pRxData->hEvHandler, IPC_EVENT_RE_AUTH_STARTED, NULL, 0);
1090 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_dataPacketDisptcher() : Received Data packet \n");
1096 pRxData->rxData_dispatchBuffer[DataPortStatus][DataPacketType] (hRxData, pBuffer, pRxAttr);
1117 rxData_t *pRxData = (rxData_t *)hRxData;
1119 TRACE2(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_discardPacket: rx port status = %d , Buffer status = %d \n", pRxData->rxDataPortStatus, pRxAttr->status);
1121 pRxData->rxDataDbgCounters.excludedFrameCounter++;
1124 RxBufFree(pRxData->hOs, pBuffer);
1143 rxData_t *pRxData = (rxData_t *)hRxData;
1145 TRACE0(pRxData->hReport, REPORT_SEVERITY_WARNING, " rxData_discardPacketVlan : drop packet that contains VLAN tag\n");
1147 pRxData->rxDataDbgCounters.rxDroppedDueToVLANIncludedCnt++;
1150 RxBufFree(pRxData->hOs, pBuffer);
1170 rxData_t *pRxData = (rxData_t *)hRxData;
1172 TRACE0(pRxData->hReport, REPORT_SEVERITY_WARNING, " rxData_rcvPacketInOpenNotify: receiving data packet while in rx port status is open notify\n");
1174 pRxData->rxDataDbgCounters.rcvUnicastFrameInOpenNotify++;
1177 RxBufFree(pRxData->hOs, pBuffer);
1197 rxData_t *pRxData = (rxData_t *)hRxData;
1199 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_rcvPacketEapol() : Received an EAPOL frame tranferred to OS\n");
1201 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_rcvPacketEapol() : Received an EAPOL frame tranferred to OS\n");
1203 EvHandlerSendEvent (pRxData->hEvHandler, IPC_EVENT_EAPOL, NULL, 0);
1204 os_receivePacket (pRxData->hOs, pBuffer, (TI_UINT16)RX_ETH_PKT_LEN(pBuffer));
1224 rxData_t *pRxData = (rxData_t *)hRxData;
1229 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_rcvPacketData() : Received DATA frame tranferred to OS\n");
1231 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_rcvPacketData() : Received DATA frame tranferred to OS\n");
1237 if((pRxData->rxDataExcludeUnencrypted) && (!(pRxAttr->packetInfo & RX_DESC_ENCRYPT_MASK)))
1239 pRxData->rxDataDbgCounters.excludedFrameCounter++;
1241 TRACE0(pRxData->hReport, REPORT_SEVERITY_WARNING, " rxData_rcvPacketData() : exclude unicast unencrypted is TI_TRUE & packet encryption is OFF\n");
1243 RxBufFree(pRxData->hOs, pBuffer);
1249 if ((pRxData->rxDataExludeBroadcastUnencrypted) && (!(pRxAttr->packetInfo & RX_DESC_ENCRYPT_MASK)))
1251 pRxData->rxDataDbgCounters.excludedFrameCounter++;
1253 TRACE0(pRxData->hReport, REPORT_SEVERITY_WARNING, " rxData_rcvPacketData() : exclude broadcast unencrypted is TI_TRUE & packet encryption is OFF\n");
1255 RxBufFree(pRxData->hOs, pBuffer);
1265 pFwInfo = TWD_GetFWInfo (pRxData->hTWD);
1268 pRxData->rxDataDbgCounters.excludedFrameCounter++;
1270 RxBufFree(pRxData->hOs, pBuffer);
1276 pRxData->rxDataCounters.RecvOk++;
1282 pRxData->rxDataCounters.DirectedFramesRecv++;
1283 pRxData->rxDataCounters.DirectedBytesRecv += RX_ETH_PKT_LEN(pBuffer);
1290 pRxData->rxDataCounters.BroadcastFramesRecv++;
1291 pRxData
1298 pRxData->rxDataCounters.MulticastFramesRecv++;
1299 pRxData->rxDataCounters.MulticastBytesRecv += RX_ETH_PKT_LEN(pBuffer);
1303 pRxData->rxDataCounters.LastSecBytesRecv += RX_ETH_PKT_LEN(pBuffer);
1308 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_rcvPacketData() : Received an Pre-Auth EAPOL frame tranferred to OS\n");
1311 rxData_DistributorRxEvent (pRxData, EventMask, RX_ETH_PKT_LEN(pBuffer));
1314 os_receivePacket (pRxData->hOs, pBuffer, (TI_UINT16)RX_ETH_PKT_LEN(pBuffer));
1336 rxData_t *pRxData = (rxData_t *)hRxData;
1338 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_rcvPacketIapp() : Received IAPP frame tranferred to XCCMgr\n");
1340 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_rcvPacketIapp() : Received IAPP frame tranferred to XCCMgr\n");
1343 XCCMngr_recvIAPPPacket (pRxData->hXCCMgr, pBuffer, pRxAttr);
1346 RxBufFree(pRxData->hOs, pBuffer);
1376 rxData_t *pRxData = (rxData_t *)hRxData;
1453 os_memoryCopy (pRxData->hOs, dataBuf, (void*)&EthHeader, ETHERNET_HDR_LEN);
1490 rxData_t *pRxData = (rxData_t *)hRxData;
1507 TRACE1(pRxData->hReport, REPORT_SEVERITY_INFORMATION, "rxData_ConvertAmsduToEthPackets(): A-MSDU received in length %d \n",uAmsduDataLen);
1517 TRACE1(pRxData->hReport, REPORT_SEVERITY_ERROR, "rxData_ConvertAmsduToEthPackets(): cannot alloc MSDU packet. length %d \n",uDataLen);
1527 os_memoryCopy (pRxData->hOs, pDataBuf, pBuffer, sizeof(RxIfDescriptor_t));
1540 os_memoryCopy (pRxData->hOs, pEthHeader, pMsduEthHeader, ETHERNET_HDR_LEN);
1550 os_memoryCopy (pRxData->hOs,
1558 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_ConvertAmsduToEthPackets() : Received VLAN Buffer \n");
1564 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_ConvertAmsduToEthPackets() : Received Eapol pBuffer \n");
1570 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_ConvertAmsduToEthPackets() : Received Data pBuffer \n");
1582 pRxData->rxData_dispatchBuffer[pRxData->rxDataPortStatus][DataPacketType] (hRxData, pDataBuf, pRxAttr);
1607 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, "rxData_ConvertAmsduToEthPackets(): A-MSDU Packe conversion done.\n");
1610 RxBufFree(pRxData->hOs, pBuffer);
1632 rxData_t *pRxData = (rxData_t *)hRxData;
1634 TRACE1(pRxData->hReport, REPORT_SEVERITY_INFORMATION, "rxData_ReceivePacket: Received BUF %x\n", pBuffer);
1659 if (pRxData->rxDataPortStatus == OPEN)
1661 TRACE0(pRxData->hReport, REPORT_SEVERITY_WARNING, "rxData_ReceivePacket: Received Packet with RX_DESC_DECRYPT_FAIL\n");
1664 RxBufFree(pRxData->hOs, pBuffer);
1674 siteMgr_getParam (pRxData->hSiteMgr, &Param);
1680 TRACE0(pRxData->hReport, REPORT_SEVERITY_ERROR, "rxData_ReceivePacket: Received Packet MIC failure. Type = Group\n");
1686 TRACE0(pRxData->hReport, REPORT_SEVERITY_ERROR, "rxData_ReceivePacket: Received Packet MIC failure. Type = Pairwise\n");
1690 rsn_reportMicFailure (pRxData->hRsn, &uKeyType, sizeof(uKeyType));
1691 RxBufFree(pRxData->hOs, pBuffer);
1698 TRACE0(pRxData->hReport, REPORT_SEVERITY_ERROR, "rxData_ReceivePacket: Received Packet with Rx queue error \n");
1700 pRxData->hOs, pBuffer);
1706 TRACE1(pRxData->hReport, REPORT_SEVERITY_ERROR, "rxData_ReceivePacket: Received Packet with unknown status = %d\n", (pRxParams->status & RX_DESC_STATUS_MASK));
1708 RxBufFree(pRxData->hOs, pBuffer);
1712 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION , "Receive good Packet\n");
1716 TRACE1(pRxData->hReport, REPORT_SEVERITY_ERROR , "rxData_ReceivePacket: can't convert hwRate=0x%x\n", pRxParams->rate);
1734 os_memoryCopy (pRxData->hOs,
1740 TRACE8(pRxData->hReport, REPORT_SEVERITY_INFORMATION, "rxData_ReceivePacket: channel=%d, info=0x%x, type=%d, rate=0x%x, RSSI=%d, SNR=%d, status=%d, scan tag=%d\n", RxAttr.channel, RxAttr.packetInfo, RxAttr.ePacketType, RxAttr.Rate, RxAttr.Rssi, RxAttr.SNR, RxAttr.status, RxAttr.eScanTag);
1750 TRACE0(pRxData->hReport, REPORT_SEVERITY_ERROR , "rxData_ReceivePacket: null Buffer received");
1773 rxData_t *pRxData = (rxData_t *)hRxData;
1775 TRACE1(pRxData->hReport, REPORT_SEVERITY_INFORMATION , " RequestForBuffer, length = %d \n",aLength);
1777 *pBuf = RxBufAlloc (pRxData->hOs, aLength, ePacketClassTag);
1809 rxData_t *pRxData = (rxData_t *)hRxData;
1811 os_memoryZero(pRxData->hOs, &pRxData->rxDataCounters, sizeof(rxDataCounters_t));
1828 rxData_t *pRxData = (rxData_t *)hRxData;
1830 os_memoryZero(pRxData->hOs, &pRxData->rxDataDbgCounters, sizeof(rxDataDbgCounters_t));
1840 rxData_t *pRxData = (rxData_t *)hRxData;
1842 if (pRxData)
1844 WLAN_OS_REPORT(("RecvOk = %d\n", pRxData->rxDataCounters.RecvOk));
1845 WLAN_OS_REPORT(("DirectedBytesRecv = %d\n", pRxData->rxDataCounters.DirectedBytesRecv));
1846 WLAN_OS_REPORT(("DirectedFramesRecv = %d\n", pRxData->rxDataCounters.DirectedFramesRecv));
1847 WLAN_OS_REPORT(("MulticastBytesRecv = %d\n", pRxData->rxDataCounters.MulticastBytesRecv));
1848 WLAN_OS_REPORT(("MulticastFramesRecv = %d\n", pRxData->rxDataCounters.MulticastFramesRecv));
1849 WLAN_OS_REPORT(("BroadcastBytesRecv = %d\n", pRxData->rxDataCounters.BroadcastBytesRecv));
1850 WLAN_OS_REPORT(("BroadcastFramesRecv = %d\n", pRxData->rxDataCounters.BroadcastFramesRecv));
1853 WLAN_OS_REPORT(("excludedFrameCounter = %d\n", pRxData->rxDataDbgCounters.excludedFrameCounter));
1854 WLAN_OS_REPORT(("rxDroppedDueToVLANIncludedCnt = %d\n", pRxData->rxDataDbgCounters.rxDroppedDueToVLANIncludedCnt));
1855 WLAN_OS_REPORT(("rxWrongBssTypeCounter = %d\n", pRxData->rxDataDbgCounters.rxWrongBssTypeCounter));
1856 WLAN_OS_REPORT(("rxWrongBssIdCounter = %d\n", pRxData->rxDataDbgCounters.rxWrongBssIdCounter));
1857 WLAN_OS_REPORT(("rcvUnicastFrameInOpenNotify = %d\n", pRxData->rxDataDbgCounters.rcvUnicastFrameInOpenNotify));
1866 rxData_t *pRxData = (rxData_t *)hRxData;
1868 WLAN_OS_REPORT(("hCtrlData = 0x%X\n", pRxData->hCtrlData));
1869 WLAN_OS_REPORT(("hMlme = 0x%X\n", pRxData->hMlme));
1870 WLAN_OS_REPORT(("hOs = 0x%X\n", pRxData->hOs));
1871 WLAN_OS_REPORT(("hReport = 0x%X\n", pRxData->hReport));
1872 WLAN_OS_REPORT(("hRsn = 0x%X\n", pRxData->hRsn));
1873 WLAN_OS_REPORT(("hSiteMgr = 0x%X\n", pRxData->hSiteMgr));
1875 WLAN_OS_REPORT(("hCtrlData = 0x%X\n", pRxData->hCtrlData));
1876 WLAN_OS_REPORT(("hMlme = 0x%X\n", pRxData->hMlme));
1877 WLAN_OS_REPORT(("hOs = 0x%X\n", pRxData->hOs));
1878 WLAN_OS_REPORT(("hReport = 0x%X\n", pRxData->hReport));
1879 WLAN_OS_REPORT(("hRsn = 0x%X\n", pRxData->hRsn));
1880 WLAN_OS_REPORT(("hSiteMgr = 0x%X\n", pRxData->hSiteMgr));
1882 WLAN_OS_REPORT(("rxDataPortStatus = %d\n", pRxData->rxDataPortStatus));
1883 WLAN_OS_REPORT(("rxDataExcludeUnencrypted = %d\n", pRxData->rxDataExcludeUnencrypted));
1884 WLAN_OS_REPORT(("rxDataEapolDestination = %d\n", pRxData->rxDataEapolDestination));
1891 rxData_t *pRxData = (rxData_t *)hRxData;
1893 if (!pRxData->rxThroughputTimerEnable)
1896 pRxData->rxDataCounters.LastSecBytesRecv = 0;
1897 pRxData->rxThroughputTimerEnable = TI_TRUE;
1900 tmr_StartTimer (pRxData->hThroughputTimer,
1902 (TI_HANDLE)pRxData,
1912 rxData_t *pRxData = (rxData_t *)hRxData;
1914 if (pRxData->rxThroughputTimerEnable)
1916 tmr_StopTimer (pRxData->hThroughputTimer);
1917 pRxData->rxThroughputTimerEnable = TI_FALSE;
1924 rxData_t *pRxData = (rxData_t *)hRxData;
1928 WLAN_OS_REPORT (("Throughput = %d KBits/sec\n", pRxData->rxDataCounters.LastSecBytesRecv * 8 / 1024));
1931 pRxData->rxDataCounters.LastSecBytesRecv = 0;
1937 rxData_t *pRxData = (rxData_t *)hRxData;
1941 if (pRxData->isFilterSet[index])
1944 report_PrintDump(pRxData->filterRequests[index].pattern, pRxData->filterRequests[index].patternLength);
1945 report_PrintDump(pRxData->filterRequests[index].mask, pRxData->filterRequests[index].maskLength);
1970 rxData_t *pRxData = (rxData_t *)hRxData;
1972 TRACE1(pRxData->hReport, REPORT_SEVERITY_INFORMATION , "Set ReAuth flag to %d\n", value);
1974 pRxData->reAuthInProgress = value;
1990 rxData_t *pRxData = (rxData_t *)hRxData;
1991 return pRxData->reAuthInProgress;
2007 rxData_t *pRxData = (rxData_t *)hRxData;
2008 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION , "Start ReAuth Active Timer\n");
2009 tmr_StartTimer (pRxData->reAuthActiveTimer,
2011 (TI_HANDLE)pRxData,
2012 pRxData->reAuthActiveTimeout,
2029 rxData_t *pRxData = (rxData_t *)hRxData;
2030 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION , "Stop ReAuth Active Timer\n");
2031 tmr_StopTimer (pRxData->reAuthActiveTimer);
2049 rxData_t *pRxData = (rxData_t *)hRxData;
2051 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION , "ReAuth Active Timeout\n");
2052 rxData_SetReAuthInProgress(pRxData, TI_FALSE);
2053 rxData_ReauthDisablePriority(pRxData);
2054 EvHandlerSendEvent(pRxData->hEvHandler, IPC_EVENT_RE_AUTH_TERMINATED, NULL, 0);
2059 rxData_t *pRxData = (rxData_t *)hRxData;
2064 powerMgr_setParam(pRxData->hPowerMgr,¶m);
2069 rxData_t *pRxData = (rxData_t *)hRxData;
2074 powerMgr_setParam(pRxData->hPowerMgr,¶m);