Home | History | Annotate | Download | only in Data_link

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;
192 pRxData->genericEthertype = EAPOL_PACKET;
199 pRxData->rxData_dispatchBuffer[CLOSE][DATA_DATA_PACKET] = &rxData_discardPacket; /* data */
200 pRxData->rxData_dispatchBuffer[CLOSE][DATA_EAPOL_PACKET] = &rxData_discardPacket; /* eapol */
201 pRxData->rxData_dispatchBuffer[CLOSE][DATA_IAPP_PACKET] = &rxData_discardPacket; /* Iapp */
202 pRxData->rxData_dispatchBuffer[CLOSE][DATA_VLAN_PACKET] = &rxData_discardPacketVlan; /* VLAN */
205 pRxData->rxData_dispatchBuffer[OPEN_NOTIFY][DATA_DATA_PACKET] = &rxData_rcvPacketInOpenNotify; /* data */
206 pRxData->rxData_dispatchBuffer[OPEN_NOTIFY][DATA_EAPOL_PACKET] = &rxData_rcvPacketInOpenNotify; /* eapol */
207 pRxData->rxData_dispatchBuffer[OPEN_NOTIFY][DATA_IAPP_PACKET] = &rxData_rcvPacketInOpenNotify; /* Iapp */
208 pRxData->rxData_dispatchBuffer[OPEN_NOTIFY][DATA_VLAN_PACKET] = &rxData_discardPacketVlan; /* VLAN */
211 pRxData->rxData_dispatchBuffer[OPEN_EAPOL][DATA_DATA_PACKET] = &rxData_discardPacket; /* data */
212 pRxData->rxData_dispatchBuffer[OPEN_EAPOL][DATA_EAPOL_PACKET] = &rxData_rcvPacketEapol; /* eapol */
213 pRxData->rxData_dispatchBuffer[OPEN_EAPOL][DATA_IAPP_PACKET] = &rxData_discardPacket; /* Iapp */
214 pRxData->rxData_dispatchBuffer[OPEN_EAPOL][DATA_VLAN_PACKET] = &rxData_discardPacketVlan; /* VLAN */
217 pRxData->rxData_dispatchBuffer[OPEN][DATA_DATA_PACKET] = &rxData_rcvPacketData; /* data */
218 pRxData->rxData_dispatchBuffer[OPEN][DATA_EAPOL_PACKET] = &rxData_rcvPacketEapol; /* eapol */
220 pRxData->rxData_dispatchBuffer[OPEN][DATA_IAPP_PACKET] = &rxData_rcvPacketIapp; /* Iapp */
222 pRxData->rxData_dispatchBuffer[OPEN][DATA_IAPP_PACKET] = &rxData_rcvPacketData; /* Iapp */
224 pRxData->rxData_dispatchBuffer[OPEN][DATA_VLAN_PACKET] = &rxData_discardPacketVlan;/* VLAN */
227 TWD_RegisterCb (pRxData->hTWD,
232 TWD_RegisterCb (pRxData->hTWD,
241 rxData_t *pRxData = (rxData_t *)hRxData;
245 pRxData->filteringEnabled = rxDataInitParams->rxDataFiltersEnabled;
246 pRxData->filteringDefaultAction = rxDataInitParams->rxDataFiltersDefaultAction;
247 TWD_CfgEnableRxDataFilter (pRxData->hTWD, pRxData->filteringEnabled, pRxData->filteringDefaultAction);
255 TRACE1(pRxData->hReport, REPORT_SEVERITY_ERROR, ": Invalid Rx Data Filter configured at init stage (at index %d)!\n", i);
260 pRxData->reAuthActiveTimer = tmr_CreateTimer (pRxData->hTimer);
261 if (pRxData->reAuthActiveTimer == NULL)
267 pRxData->reAuthActiveTimeout = rxDataInitParams->reAuthActiveTimeout;
269 rxData_SetReAuthInProgress(pRxData, TI_FALSE);
273 rxData_resetCounters(pRxData);
274 rxData_resetDbgCounters(pRxData);
277 pRxData->hThroughputTimer = tmr_CreateTimer (pRxData->hTimer);
278 if (pRxData->hThroughputTimer == NULL)
280 TRACE0(pRxData->hReport, REPORT_SEVERITY_ERROR, "rxData_SetDefaults(): Failed to create hThroughputTimer!\n");
283 pRxData->rxThroughputTimerEnable = TI_FALSE;
287 TRACE0(pRxData->hReport, REPORT_SEVERITY_INIT, ".....Rx Data configured successfully\n");
306 rxData_t *pRxData = (rxData_t *)hRxData;
309 if (pRxData == NULL)
314 DistributorMgr_Destroy(pRxData->RxEventDistributor);
318 if (pRxData->hThroughputTimer)
320 tmr_DestroyTimer (pRxData->hThroughputTimer);
324 if (pRxData->reAuthActiveTimer)
326 tmr_DestroyTimer (pRxData->reAuthActiveTimer);
330 os_memoryFree(pRxData->hOs, pRxData, sizeof(rxData_t));
350 rxData_t *pRxData = (rxData_t *)hRxData;
353 if (pRxData == NULL)
358 pRxData->rxDataExcludeUnencrypted = DEF_EXCLUDE_UNENCYPTED;
359 pRxData->rxDataExludeBroadcastUnencrypted = DEF_EXCLUDE_UNENCYPTED;
360 pRxData->rxDataEapolDestination = DEF_EAPOL_DESTINATION;
361 pRxData->rxDataPortStatus = DEF_RX_PORT_STATUS;
365 /*rxData_resetCounters(pRxData);*/
366 /*rxData_resetDbgCounters(pRxData);*/
369 if (pRxData->rxThroughputTimerEnable)
371 tmr_StopTimer (pRxData->hThroughputTimer);
372 pRxData->rxThroughputTimerEnable = TI_FALSE;
376 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_stop() : Succeeded.\n");
397 rxData_t *pRxData = (rxData_t *)hRxData;
400 if (pRxData == NULL)
408 pParamInfo->content.rxDataExcludeUnencrypted = pRxData->rxDataExcludeUnencrypted;
412 pParamInfo->content.rxDataEapolDestination = pRxData->rxDataEapolDestination;
416 pParamInfo->content.rxDataPortStatus = pRxData->rxDataPortStatus;
420 pRxData->rxDataCounters.RecvOk;
421 pParamInfo->content.siteMgrTiWlanCounters.DirectedBytesRecv = pRxData->rxDataCounters.DirectedBytesRecv;
422 pParamInfo->content.siteMgrTiWlanCounters.DirectedFramesRecv = pRxData->rxDataCounters.DirectedFramesRecv;
423 pParamInfo->content.siteMgrTiWlanCounters.MulticastBytesRecv = pRxData->rxDataCounters.MulticastBytesRecv;
424 pParamInfo->content.siteMgrTiWlanCounters.MulticastFramesRecv = pRxData->rxDataCounters.MulticastFramesRecv;
425 pParamInfo->content.siteMgrTiWlanCounters.BroadcastBytesRecv = pRxData->rxDataCounters.BroadcastBytesRecv;
426 pParamInfo->content.siteMgrTiWlanCounters.BroadcastFramesRecv = pRxData->rxDataCounters.BroadcastFramesRecv;
430 TWD_ItrDataFilterStatistics (pRxData->hTWD,
437 pParamInfo->content.siteMgrCurrentRxRate = pRxData->uLastDataPktRate;
441 TRACE0(pRxData->hReport, REPORT_SEVERITY_ERROR, " rxData_getParam() : PARAMETER NOT SUPPORTED \n");
464 rxData_t *pRxData = (rxData_t *)hRxData;
467 if( pRxData == NULL )
475 pRxData->rxDataExcludeUnencrypted = pParamInfo->content.rxDataExcludeUnencrypted;
478 pRxData->rxDataExludeBroadcastUnencrypted = pParamInfo->content.rxDataExcludeUnencrypted;
481 pRxData->rxDataEapolDestination = pParamInfo->content.rxDataEapolDestination;
485 pRxData->rxDataPortStatus = pParamInfo->content.rxDataPortStatus;
506 pRxData->genericEthertype = pParamInfo->content.rxGenericEthertype;
510 TRACE0(pRxData->hReport, REPORT_SEVERITY_ERROR, " rxData_setParam() : PARAMETER NOT SUPPORTED \n");
534 rxData_t * pRxData = (rxData_t *) hRxData;
540 if (enabled == pRxData->filteringEnabled)
543 pRxData->filteringEnabled = enabled;
545 return TWD_CfgEnableRxDataFilter (pRxData->hTWD, pRxData->filteringEnabled, pRxData->filteringDefaultAction);
565 rxData_t * pRxData = (rxData_t *) hRxData;
570 if (pRxData->isFilterSet[i])
572 if ((pRxData->filterRequests[i].offset == request->offset) &&
573 (pRxData->filterRequests[i].maskLength == request->maskLength) &&
574 (pRxData->filterRequests[i].patternLength == request->patternLength))
576 if ((os_memoryCompare(pRxData->hOs, pRxData->filterRequests[i].mask, request->mask, request->maskLength) == 0) &&
577 (os_memoryCompare(pRxData->hOs, pRxData->filterRequests[i].pattern, request->pattern, request->patternLength) == 0))
601 static void closeFieldPattern (rxData_t * pRxData, rxDataFilterFieldPattern_t * fieldPattern, TI_UINT8 * fieldPatterns, TI_UINT8 * lenFieldPatterns)
604 os_memoryCopy(pRxData->hOs, fieldPatterns + *lenFieldPatterns, (TI_UINT8 *)&fieldPattern->offset, sizeof(fieldPattern->offset));
613 os_memoryCopy(pRxData->hOs, fieldPatterns + *lenFieldPatterns, fieldPattern->pattern, fieldPattern->length);
619 os_memoryCopy(pRxData->hOs, fieldPatterns + *lenFieldPatterns, fieldPattern->mask, fieldPattern->length);
623 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));
644 rxData_t * pRxData = (rxData_t *) hRxData;
662 TRACE4(pRxData->hReport, REPORT_SEVERITY_INFORMATION, ": MaskIter = %d, Byte = %d, Bit = %d, isSet = %d\n", maskIter, byte, bit, isSet);
682 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, ": Creating a new field pattern.\n");
689 TRACE1(pRxData->hReport, REPORT_SEVERITY_ERROR, ": Invalid filter, too many field patterns, maximum of %u is allowed!\n", RX_DATA_FILTER_MAX_FIELD_PATTERNS);
711 TRACE2(pRxData->hReport, REPORT_SEVERITY_INFORMATION, ": offset = %d, flag = %d.\n", fieldPattern.offset, fieldPattern.flag);
717 TRACE0(pRxData->hReport, REPORT_SEVERITY_ERROR, ": Invalid filter, mask and pattern length are not consistent!\n");
728 TRACE1(pRxData->hReport, REPORT_SEVERITY_ERROR, ": Invalid filter, pattern matching cannot exceed first %u characters.\n", RX_DATA_FILTER_FILTER_BOUNDARY);
738 TRACE0(pRxData->hReport, REPORT_SEVERITY_ERROR, ": Invalid filter, mask and pattern lengths are not consistent!\n");
770 rxData_t * pRxData = (rxData_t *) hRxData;
781 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, ": Filter already exists.\n");
789 if (pRxData->isFilterSet[index] == TI_FALSE)
796 TRACE0(pRxData->hReport, REPORT_SEVERITY_ERROR, ": No place to insert filter!\n");
801 TRACE1(pRxData->hReport, REPORT_SEVERITY_INFORMATION, ": Inserting filter at index %d.\n", index);
811 pRxData->isFilterSet[index] = TI_TRUE;
812 os_memoryCopy(pRxData->hOs, &pRxData->filterRequests[index], request, sizeof(pRxData->filterRequests[index]));
815 return TWD_CfgRxDataFilter (pRxData->hTWD,
842 rxData_t * pRxData = (rxData_t *) hRxData;
849 TRACE0(pRxData->hReport, REPORT_SEVERITY_WARNING, ": Remove data filter request received but the specified filter was not found!");
854 TRACE1(pRxData->hReport, REPORT_SEVERITY_INFORMATION, ": Removing filter at index %d.", index);
856 pRxData->isFilterSet[index] = TI_FALSE;
858 pRxData->hTWD,
882 static void rxData_DistributorRxEvent (rxData_t *pRxData, TI_UINT16 Mask, int DataLen)
884 DistributorMgr_EventCall (pRxData->RxEventDistributor, Mask, DataLen);
892 rxData_t *pRxData = (rxData_t *)hRxData;
897 return DistributorMgr_Reg (pRxData->RxEventDistributor, EventMask, (TI_HANDLE)CallBack, context, Cookie);
905 rxData_t *pRxData = (rxData_t *)hRxData;
910 return DistributorMgr_AddToMask (pRxData->RxEventDistributor, Notifh, EventMask);
919 rxData_t *pRxData = (rxData_t *)hRxData;
924 return DistributorMgr_UnReg (pRxData->RxEventDistributor, RegEventHandle);
944 rxData_t *pRxData = (rxData_t *)hRxData;
948 TRACE1(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_receivePacketFromWlan() : pRxAttr->packetType = %d\n", pRxAttr->ePacketType);
955 TRACE1(pRxData->hReport, REPORT_SEVERITY_INFORMATION, "rxData_receivePacketFromWlan(): Received management Buffer len = %d\n", RX_BUF_LEN(pBuffer));
964 os_memoryCopy(pRxData->hOs, &address3, &pDot11Hdr->address3, sizeof(address3));
967 if( mlmeParser_recv(pRxData->hMlme, pBuffer, pRxAttr) != TI_OK )
969 TRACE0(pRxData->hReport, REPORT_SEVERITY_ERROR, " rxData_receivePacketFromWlan() : MLME returned error \n");
979 TRACE1(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_receivePacketFromWlan() : Received Data Buffer len = %d\n", RX_BUF_LEN(pBuffer));
988 TRACE0(pRxData->hReport, REPORT_SEVERITY_ERROR, " rxData_receivePacketFromWlan(): Received unspecified packet type !!! \n");
989 RxBufFree(pRxData->hOs, pBuffer);
1012 rxData_t *pRxData = (rxData_t *)hRxData;
1017 DataPortStatus = pRxData->rxDataPortStatus;
1022 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_dataPacketDisptcher() : Received Data Buffer while Rx data port is closed \n");
1030 pRxData->uLastDataPktRate = pRxAttr->Rate; /* save Rx packet rate for statistics */
1033 if (XCCMngr_isIappPacket (pRxData->hXCCMgr, pBuffer) == TI_TRUE)
1035 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_dataPacketDisptcher() : Received Iapp Buffer \n");
1040 pRxData->rxData_dispatchBuffer[DataPortStatus][DataPacketType] (hRxData, pBuffer, pRxAttr);
1066 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_dataPacketDisptcher() : Received VLAN packet \n");
1071 (HTOWLANS(pEthernetHeader->type) == pRxData->genericEthertype))
1073 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_dataPacketDisptcher() : Received Eapol packet \n");
1075 if (rxData_IsReAuthInProgress(pRxData))
1078 rxData_StopReAuthActiveTimer(pRxData);
1079 rxData_StartReAuthActiveTimer(pRxData);
1083 if (PowerMgr_getReAuthActivePriority(pRxData->hPowerMgr))
1086 rxData_SetReAuthInProgress(pRxData, TI_TRUE);
1087 rxData_StartReAuthActiveTimer(pRxData);
1088 rxData_ReauthEnablePriority(pRxData);
1089 EvHandlerSendEvent(pRxData->hEvHandler, IPC_EVENT_RE_AUTH_STARTED, NULL, 0);
1097 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_dataPacketDisptcher() : Received Data packet \n");
1103 pRxData->rxData_dispatchBuffer[DataPortStatus][DataPacketType] (hRxData, pBuffer, pRxAttr);
1124 rxData_t *pRxData = (rxData_t *)hRxData;
1126 TRACE2(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_discardPacket: rx port status = %d , Buffer status = %d \n", pRxData->rxDataPortStatus, pRxAttr->status);
1128 pRxData->rxDataDbgCounters.excludedFrameCounter++;
1131 RxBufFree(pRxData->hOs, pBuffer);
1150 rxData_t *pRxData = (rxData_t *)hRxData;
1152 TRACE0(pRxData->hReport, REPORT_SEVERITY_WARNING, " rxData_discardPacketVlan : drop packet that contains VLAN tag\n");
1154 pRxData->rxDataDbgCounters.rxDroppedDueToVLANIncludedCnt++;
1157 RxBufFree(pRxData->hOs, pBuffer);
1177 rxData_t *pRxData = (rxData_t *)hRxData;
1179 TRACE0(pRxData->hReport, REPORT_SEVERITY_ERROR, " rxData_rcvPacketInOpenNotify: receiving data packet while in rx port status is open notify\n");
1181 pRxData->rxDataDbgCounters.rcvUnicastFrameInOpenNotify++;
1184 RxBufFree(pRxData->hOs, pBuffer);
1204 rxData_t *pRxData = (rxData_t *)hRxData;
1206 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_rcvPacketEapol() : Received an EAPOL frame tranferred to OS\n");
1208 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_rcvPacketEapol() : Received an EAPOL frame tranferred to OS\n");
1210 EvHandlerSendEvent (pRxData->hEvHandler, IPC_EVENT_EAPOL, NULL, 0);
1211 os_receivePacket (pRxData->hOs, (struct RxIfDescriptor_t*)pBuffer, pBuffer, (TI_UINT16)RX_ETH_PKT_LEN(pBuffer));
1231 rxData_t *pRxData = (rxData_t *)hRxData;
1236 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_rcvPacketData() : Received DATA frame tranferred to OS\n");
1242 if((pRxData->rxDataExcludeUnencrypted) && (!(pRxAttr->packetInfo & RX_DESC_ENCRYPT_MASK)))
1244 pRxData->rxDataDbgCounters.excludedFrameCounter++;
1246 TRACE0(pRxData->hReport, REPORT_SEVERITY_WARNING, " rxData_rcvPacketData() : exclude unicast unencrypted is TI_TRUE & packet encryption is OFF\n");
1248 RxBufFree(pRxData->hOs, pBuffer);
1254 if ((pRxData->rxDataExludeBroadcastUnencrypted) && (!(pRxAttr->packetInfo & RX_DESC_ENCRYPT_MASK)))
1256 pRxData->rxDataDbgCounters.excludedFrameCounter++;
1258 TRACE0(pRxData->hReport, REPORT_SEVERITY_WARNING, " rxData_rcvPacketData() : exclude broadcast unencrypted is TI_TRUE & packet encryption is OFF\n");
1260 RxBufFree(pRxData->hOs, pBuffer);
1270 pFwInfo = TWD_GetFWInfo (pRxData->hTWD);
1273 pRxData->rxDataDbgCounters.excludedFrameCounter++;
1275 RxBufFree(pRxData->hOs, pBuffer);
1281 pRxData->rxDataCounters.RecvOk++;
1287 pRxData->rxDataCounters.DirectedFramesRecv++;
1288 pRxData->rxDataCounters.DirectedBytesRecv += RX_ETH_PKT_LEN(pBuffer);
1295 pRxData->rxDataCounters.BroadcastFramesRecv++;
1296 pRxData->rxDataCounters.BroadcastBytesRecv += RX_ETH_PKT_LEN(pBuffer);
1303 pRxData->rxDataCounters.MulticastFramesRecv++;
1304 pRxData->rxDataCounters.MulticastBytesRecv += RX_ETH_PKT_LEN(pBuffer);
1308 pRxData->rxDataCounters.LastSecBytesRecv += RX_ETH_PKT_LEN(pBuffer);
1313 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_rcvPacketData() : Received an Pre-Auth EAPOL frame tranferred to OS\n");
1316 rxData_DistributorRxEvent (pRxData, EventMask, RX_ETH_PKT_LEN(pBuffer));
1319 os_receivePacket (pRxData->hOs, (struct RxIfDescriptor_t*)pBuffer, pBuffer, (TI_UINT16)RX_ETH_PKT_LEN(pBuffer));
1341 rxData_t *pRxData = (rxData_t *)hRxData;
1343 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_rcvPacketIapp() : Received IAPP frame tranferred to XCCMgr\n");
1345 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_rcvPacketIapp() : Received IAPP frame tranferred to XCCMgr\n");
1348 XCCMngr_recvIAPPPacket (pRxData->hXCCMgr, pBuffer, pRxAttr);
1351 RxBufFree(pRxData->hOs, pBuffer);
1381 rxData_t *pRxData = (rxData_t *)hRxData;
1458 os_memoryCopy (pRxData->hOs, dataBuf, (void*)&EthHeader, ETHERNET_HDR_LEN);
1495 rxData_t *pRxData = (rxData_t *)hRxData;
1512 TRACE1(pRxData->hReport, REPORT_SEVERITY_INFORMATION, "rxData_ConvertAmsduToEthPackets(): A-MSDU received in length %d \n",uAmsduDataLen);
1522 TRACE1(pRxData->hReport, REPORT_SEVERITY_ERROR, "rxData_ConvertAmsduToEthPackets(): cannot alloc MSDU packet. length %d \n",uDataLen);
1532 os_memoryCopy (pRxData->hOs, pDataBuf, pBuffer, sizeof(RxIfDescriptor_t));
1545 os_memoryCopy (pRxData->hOs, pEthHeader, pMsduEthHeader, ETHERNET_HDR_LEN);
1555 os_memoryCopy (pRxData->hOs,
1563 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_ConvertAmsduToEthPackets() : Received VLAN Buffer \n");
1569 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_ConvertAmsduToEthPackets() : Received Eapol pBuffer \n");
1575 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, " rxData_ConvertAmsduToEthPackets() : Received Data pBuffer \n");
1610 pRxData->rxData_dispatchBuffer[pRxData->rxDataPortStatus][DataPacketType] (hRxData, pDataBuf, pRxAttr);
1615 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION, "rxData_ConvertAmsduToEthPackets(): A-MSDU Packe conversion done.\n");
1618 RxBufFree(pRxData->hOs, pBuffer);
1640 rxData_t *pRxData = (rxData_t *)hRxData;
1642 TRACE1(pRxData->hReport, REPORT_SEVERITY_INFORMATION, "rxData_ReceivePacket: Received BUF %x\n", pBuffer);
1667 if (pRxData->rxDataPortStatus == OPEN)
1669 TRACE0(pRxData->hReport, REPORT_SEVERITY_WARNING, "rxData_ReceivePacket: Received Packet with RX_DESC_DECRYPT_FAIL\n");
1672 RxBufFree(pRxData->hOs, pBuffer);
1682 siteMgr_getParam (pRxData->hSiteMgr, &Param);
1688 TRACE0(pRxData->hReport, REPORT_SEVERITY_ERROR, "rxData_ReceivePacket: Received Packet MIC failure. Type = Group\n");
1694 TRACE0(pRxData->hReport, REPORT_SEVERITY_ERROR, "rxData_ReceivePacket: Received Packet MIC failure. Type = Pairwise\n");
1698 rsn_reportMicFailure (pRxData->hRsn, &uKeyType, sizeof(uKeyType));
1699 RxBufFree(pRxData->hOs, pBuffer);
1706 TRACE0(pRxData->hReport, REPORT_SEVERITY_ERROR, "rxData_ReceivePacket: Received Packet with Rx queue error \n");
1708 RxBufFree(pRxData->hOs, pBuffer);
1714 TRACE1(pRxData->hReport, REPORT_SEVERITY_ERROR, "rxData_ReceivePacket: Received Packet with unknown status = %d\n", (pRxParams->status & RX_DESC_STATUS_MASK));
1716 RxBufFree(pRxData->hOs, pBuffer);
1720 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION , "Receive good Packet\n");
1724 TRACE1(pRxData->hReport, REPORT_SEVERITY_ERROR , "rxData_ReceivePacket: can't convert hwRate=0x%x\n", pRxParams->rate);
1742 os_memoryCopy (pRxData->hOs,
1748 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);
1758 TRACE0(pRxData->hReport, REPORT_SEVERITY_ERROR , "rxData_ReceivePacket: null Buffer received");
1781 rxData_t *pRxData = (rxData_t *)hRxData;
1783 TRACE1(pRxData->hReport, REPORT_SEVERITY_INFORMATION , " RequestForBuffer, length = %d \n",aLength);
1785 *pBuf = RxBufAlloc (pRxData->hOs, aLength, ePacketClassTag);
1817 rxData_t *pRxData = (rxData_t *)hRxData;
1819 os_memoryZero(pRxData->hOs, &pRxData->rxDataCounters, sizeof(rxDataCounters_t));
1836 rxData_t *pRxData = (rxData_t *)hRxData;
1838 os_memoryZero(pRxData->hOs, &pRxData->rxDataDbgCounters, sizeof(rxDataDbgCounters_t));
1848 rxData_t *pRxData = (rxData_t *)hRxData;
1850 if (pRxData)
1852 WLAN_OS_REPORT(("RecvOk = %d\n", pRxData->rxDataCounters.RecvOk));
1853 WLAN_OS_REPORT(("DirectedBytesRecv = %d\n", pRxData->rxDataCounters.DirectedBytesRecv));
1854 WLAN_OS_REPORT(("DirectedFramesRecv = %d\n", pRxData->rxDataCounters.DirectedFramesRecv));
1855 WLAN_OS_REPORT(("MulticastBytesRecv = %d\n", pRxData->rxDataCounters.MulticastBytesRecv));
1856 WLAN_OS_REPORT(("MulticastFramesRecv = %d\n", pRxData->rxDataCounters.MulticastFramesRecv));
1857 WLAN_OS_REPORT(("BroadcastBytesRecv = %d\n", pRxData->rxDataCounters.BroadcastBytesRecv));
1858 WLAN_OS_REPORT(("BroadcastFramesRecv = %d\n", pRxData->rxDataCounters.BroadcastFramesRecv));
1861 WLAN_OS_REPORT(("excludedFrameCounter = %d\n", pRxData->rxDataDbgCounters.excludedFrameCounter));
1862 WLAN_OS_REPORT(("rxDroppedDueToVLANIncludedCnt = %d\n", pRxData->rxDataDbgCounters.rxDroppedDueToVLANIncludedCnt));
1863 WLAN_OS_REPORT(("rxWrongBssTypeCounter = %d\n", pRxData->rxDataDbgCounters.rxWrongBssTypeCounter));
1864 WLAN_OS_REPORT(("rxWrongBssIdCounter = %d\n", pRxData->rxDataDbgCounters.rxWrongBssIdCounter));
1865 WLAN_OS_REPORT(("rcvUnicastFrameInOpenNotify = %d\n", pRxData->rxDataDbgCounters.rcvUnicastFrameInOpenNotify));
1874 rxData_t *pRxData = (rxData_t *)hRxData;
1876 WLAN_OS_REPORT(("hCtrlData = 0x%X\n", pRxData->hCtrlData));
1877 WLAN_OS_REPORT(("hMlme = 0x%X\n", pRxData->hMlme));
1878 WLAN_OS_REPORT(("hOs = 0x%X\n", pRxData->hOs));
1879 WLAN_OS_REPORT(("hReport = 0x%X\n", pRxData->hReport));
1880 WLAN_OS_REPORT(("hRsn = 0x%X\n", pRxData->hRsn));
1881 WLAN_OS_REPORT(("hSiteMgr = 0x%X\n", pRxData->hSiteMgr));
1883 WLAN_OS_REPORT(("hCtrlData = 0x%X\n", pRxData->hCtrlData));
1884 WLAN_OS_REPORT(("hMlme = 0x%X\n", pRxData->hMlme));
1885 WLAN_OS_REPORT(("hOs = 0x%X\n", pRxData->hOs));
1886 WLAN_OS_REPORT(("hReport = 0x%X\n", pRxData->hReport));
1887 WLAN_OS_REPORT(("hRsn = 0x%X\n", pRxData->hRsn));
1888 WLAN_OS_REPORT(("hSiteMgr = 0x%X\n", pRxData->hSiteMgr));
1890 WLAN_OS_REPORT(("rxDataPortStatus = %d\n", pRxData->rxDataPortStatus));
1891 WLAN_OS_REPORT(("rxDataExcludeUnencrypted = %d\n", pRxData->rxDataExcludeUnencrypted));
1892 WLAN_OS_REPORT(("rxDataEapolDestination = %d\n", pRxData->rxDataEapolDestination));
1899 rxData_t *pRxData = (rxData_t *)hRxData;
1901 if (!pRxData->rxThroughputTimerEnable)
1904 pRxData->rxDataCounters.LastSecBytesRecv = 0;
1905 pRxData->rxThroughputTimerEnable = TI_TRUE;
1908 tmr_StartTimer (pRxData->hThroughputTimer,
1910 (TI_HANDLE)pRxData,
1920 rxData_t *pRxData = (rxData_t *)hRxData;
1922 if (pRxData->rxThroughputTimerEnable)
1924 tmr_StopTimer (pRxData->hThroughputTimer);
1925 pRxData->rxThroughputTimerEnable = TI_FALSE;
1932 rxData_t *pRxData = (rxData_t *)hRxData;
1936 WLAN_OS_REPORT (("Throughput = %d KBits/sec\n", pRxData->rxDataCounters.LastSecBytesRecv * 8 / 1024));
1939 pRxData->rxDataCounters.LastSecBytesRecv = 0;
1945 rxData_t *pRxData = (rxData_t *)hRxData;
1949 if (pRxData->isFilterSet[index])
1952 report_PrintDump(pRxData->filterRequests[index].pattern, pRxData->filterRequests[index].patternLength);
1953 report_PrintDump(pRxData->filterRequests[index].mask, pRxData->filterRequests[index].maskLength);
1978 rxData_t *pRxData = (rxData_t *)hRxData;
1980 TRACE1(pRxData->hReport, REPORT_SEVERITY_INFORMATION , "Set ReAuth flag to %d\n", value);
1982 pRxData->reAuthInProgress = value;
1998 rxData_t *pRxData = (rxData_t *)hRxData;
1999 return pRxData->reAuthInProgress;
2015 rxData_t *pRxData = (rxData_t *)hRxData;
2016 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION , "Start ReAuth Active Timer\n");
2017 tmr_StartTimer (pRxData->reAuthActiveTimer,
2019 (TI_HANDLE)pRxData,
2020 pRxData->reAuthActiveTimeout,
2037 rxData_t *pRxData = (rxData_t *)hRxData;
2038 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION , "Stop ReAuth Active Timer\n");
2039 tmr_StopTimer (pRxData->reAuthActiveTimer);
2057 rxData_t *pRxData = (rxData_t *)hRxData;
2059 TRACE0(pRxData->hReport, REPORT_SEVERITY_INFORMATION , "ReAuth Active Timeout\n");
2060 rxData_SetReAuthInProgress(pRxData, TI_FALSE);
2061 rxData_ReauthDisablePriority(pRxData);
2062 EvHandlerSendEvent(pRxData->hEvHandler, IPC_EVENT_RE_AUTH_TERMINATED, NULL, 0);
2067 rxData_t *pRxData = (rxData_t *)hRxData;
2072 powerMgr_setParam(pRxData->hPowerMgr,&param);
2077 rxData_t *pRxData = (rxData_t *)hRxData;
2082 powerMgr_setParam(pRxData->hPowerMgr,&param);