⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 statistics.h

📁 mx27 f14v2 源代码。包括ADS板上诸多驱动的源码。
💻 H
字号:
//---------------------------------------------------------------------------
//Copyright (C) 2006, Freescale Semiconductor, Inc. All Rights Reserved.
// THIS SOURCE CODE, AND ITS USE AND DISTRIBUTION, IS SUBJECT TO THE TERMS
// AND CONDITIONS OF THE APPLICABLE LICENSE AGREEMENT 
//--------------------------------------------------------------------------
//
// File:  statistics.h
// Header file for platform specific SDIO WLAN functions
//------------------------------------------------------------------------------


#ifndef STATISTICS_INC
#define  STATISTICS_INC

#define STAT_RX_UNICAST_DATA    0   /* Unicast data frames received */
#define STAT_RX_DUPLICATE       1   /* dot11FrameDuplicateCount - Duplicate frames received */
#define STAT_RX_MULTICAST_DATA  2   /* dot11MulticastReceivedFrameCount - Number of multicast frames received */
#define STAT_RX_DISCARD         3   /* Frames Discarded */
#define STAT_RX_UNKNOWN         4   /* Unknown Rx */
#define STAT_RX_UNAUTH          5   /* Reception From Unauthenticated STA */
#define STAT_RX_UNASSOC         6   /* AP: Frames Rx from Unassociated STA */
#define STAT_RX_CONTROL         7   /* RX Control type frames */

#define STAT_RX_FRAG_REASSEMBLY_ERROR_COUNT  8  /* Linux iw_statistics */
#define STAT_RX_DATA_WRONG_NWID_COUNT        9  /* Linux iw_statistics */

#define STAT_BEACON_TX            10 /* Beacons Sent */
#define STAT_BEACON_RX            11  /* Beacons Received */
#define STAT_MISSED_BEACON_COUNT  12  /* Linux iw_statistics */

#define STAT_AUTHENTICATE_TX    13  /* Authentication Requests Sent */
#define STAT_AUTHENTICATE_RX    14  /* Authentication Requests Received */

#define STAT_ASSOC_REQ_TX       15  /* Association Requests Sent */
#define STAT_ASSOC_RES_RX       16  /* Association Replies Received */

#define STAT_REASSOC_REQ_TX     17  /* ReAssociation Requests Sent */
#define STAT_REASSOC_RES_RX     18  /* ReAssociation Replies Received */

#define STAT_DEAUTH_TX          19  /* Deauthentication Notifications Sent */
#define STAT_DEAUTH_RX          20  /* Deauthentication Notifications Received */

#define STAT_DISASSOC_TX        21  /* Disassociation Notifications Sent */
#define STAT_DISASSOC_RX        22  /* Disassociation Notifications Received */

#define STAT_PROBE_REQ_TX       23  /* Probe Requests sent */
#define STAT_PROBE_REQ_RX       24  /* Probe Requests received */
#define STAT_PROBE_RES_TX       25  /* Probe Responses sent */
#define STAT_PROBE_RES_RX       26  /* Probe Responses received */

#define STAT_ATIM_TX            27  /* ATIMs Transmitted successfully */
#define STAT_ATIM_RX            28  /* ATIMs received */
#define STAT_ATIM_TX_FAIL       29  /* ATIMs Failing transmission */

#define STAT_TX_MSDU            30  /* dot11TransmittedFrameCount - TX msdus that have been sent */

#define STAT_TX_FAIL            31  /* dot11FailedCount - TX frames that have failed */
#define STAT_TX_RETRY           32  /* dot11RetryCount - TX retries to date */


#define STAT_IGNORE_UNENCRYPTED 33  /* dot11WEPExcludedCount - unencrypted packets received when WEP/TKIP/CCMP is active */
#define STAT_UNDECRYPTABLE      34  /* dot11WEPUndecryptableCount or dot11RSNAStatsCCMPDecryptErrors -
                                     * packets with no valid keys for decryption */
#define STAT_ICV_ERROR          35  /* dot11WEPICVErrorCount or dot11RSNAStatsTKIPICVErrors - 
                                     * packets with incorrect WEP/TKIP/CCMP ICV */
#define STAT_TX_PS_POLL         36  /* TX PS POLL */

#define STAT_MAN_ACTION_TX      37  /* Management Actions sent */
#define STAT_MAN_ACTION_RX      38  /* Management Actions received */

#define STAT_OUT_OF_RX_MSDUS    39  /* Management Actions received */

#define STAT_TX_FRAGMENT_COUNT     40  /* dot11TransmittedFragmentCount */
#define STAT_MULTICAST_TX_COUNT    41  /* dot11MulticastTransmittedFrameCount */
#define STAT_MULTIPLE_RETRY_COUNT  42  /* dot11MultipleRetryCount */
#define STAT_RTS_SUCCESS           43  /* dot11RTSSuccessCount */
#define STAT_RTS_FAILURE           44  /* dot11RTSFailureCount */
#define STAT_ACK_FAILURE           45  /* dot11ACKFailureCount */
#define STAT_RX_FRAGMENT_COUNT     46  /* dot11ReceivedFragmentCount */
#define STAT_FCS_ERROR_RX_COUNT    47  /* dot11FCSErrorCount */

#define STAT_MEAS_PILOT_RX         48  /* 802.11k Management Frame */

#define STAT_TOTAL_NUMBER          49  /* Size of stats array */



extern u32 au32Statistics[STAT_TOTAL_NUMBER];
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -