#include "tether.h"
#include "desc.h"
-
-
//
// USB counter
//
} SUSBCounter, *PSUSBCounter;
-
-
//
// 802.11 counter
//
-
typedef struct tagSDot11Counters {
/* unsigned long Length; // Length of structure */
unsigned long long TransmittedFragmentCount;
*/
} SDot11Counters, *PSDot11Counters;
-
//
// MIB2 counter
//
#define DOWN 2 //
#define TESTING 3 //
-
//
// RMON counter
//
} SCustomCounters, *PSCustomCounters;
-
//
// Custom counter
//
/////////////////////////////////////
} SISRCounters, *PSISRCounters;
-
// Value in the etherStatsStatus entry
#define VALID 1 //
#define CREATE_REQUEST 2 //
#define UNDER_CREATION 3 //
#define INVALID 4 //
-
//
// Tx packet information
//
u8 abyDestAddr[ETH_ALEN];
} STxPktInfo, *PSTxPktInfo;
-
#define MAX_RATE 12
//
// statistic counter
u8 abyCntRxPattern[16];
u8 abyCntTxPattern[16];
-
-
// Software check....
u32 dwCntRxDataErr; // rx buffer data software compare CRC err count
u32 dwCntDecryptErr; // rx buffer data software compare CRC err count
u32 dwCntRxICVErr; // rx buffer data software compare CRC err count
-
// 64-bit OID
unsigned long long ullTsrOK;
} SStatCounter, *PSStatCounter;
-
-
-
void STAvUpdateIsrStatCounter(PSStatCounter pStatistic,
u8 byIsr0,
u8 byIsr1);