#include "tether.h"
#include "desc.h"
-/*--------------------- Export Definitions -------------------------*/
//
// 802.11 counter
//
typedef struct tagSDot11Counters {
- unsigned long Length; // Length of structure
+ unsigned long Length;
unsigned long long TransmittedFragmentCount;
unsigned long long MulticastTransmittedFrameCount;
unsigned long long FailedCount;
//
typedef struct tagSMib2Counter {
long ifIndex;
- char ifDescr[256]; // max size 255 plus zero ending
- // e.g. "interface 1"
+ char ifDescr[256];
long ifType;
long ifMtu;
unsigned long ifSpeed;
} SMib2Counter, *PSMib2Counter;
// Value in the ifType entry
-#define WIRELESSLANIEEE80211b 6 //
+#define WIRELESSLANIEEE80211b 6
// Value in the ifAdminStatus/ifOperStatus entry
-#define UP 1 //
-#define DOWN 2 //
-#define TESTING 3 //
+#define UP 1
+#define DOWN 2
+#define TESTING 3
//
// RMON counter
unsigned long dwIsrMIBNearfull;
unsigned long dwIsrRxNoBuf;
- unsigned long dwIsrUnknown; // unknown interrupt count
+ unsigned long dwIsrUnknown;
unsigned long dwIsrRx1OK;
unsigned long dwIsrATIMTxOK;
unsigned long dwIsrATIMEnd;
unsigned long dwIsrSYNCFlushOK;
unsigned long dwIsrSTIMER1Int;
- /////////////////////////////////////
} SISRCounters, *PSISRCounters;
// Value in the etherStatsStatus entry
-#define VALID 1 //
-#define CREATE_REQUEST 2 //
-#define UNDER_CREATION 3 //
-#define INVALID 4 //
+#define VALID 1
+#define CREATE_REQUEST 2
+#define UNDER_CREATION 3
+#define INVALID 4
//
// statistic counter
//
typedef struct tagSStatCounter {
- //
- // ISR status count
- //
-
// RSR status count
//
unsigned long dwRsrFrmAlgnErr;
#ifdef Calcu_LinkQual
//Tx count:
- unsigned long TxNoRetryOkCount; //success tx no retry !
- unsigned long TxRetryOkCount; //success tx but retry !
- unsigned long TxFailCount; //fail tx ?
+ unsigned long TxNoRetryOkCount;
+ unsigned long TxRetryOkCount;
+ unsigned long TxFailCount;
//Rx count:
- unsigned long RxOkCnt; //success rx !
- unsigned long RxFcsErrCnt; //fail rx ?
+ unsigned long RxOkCnt;
+ unsigned long RxFcsErrCnt;
//statistic
unsigned long SignalStren;
unsigned long LinkQuality;
#endif
} SStatCounter, *PSStatCounter;
-/*--------------------- Export Classes ----------------------------*/
-
-/*--------------------- Export Variables --------------------------*/
-
-/*--------------------- Export Functions --------------------------*/
-
void STAvClearAllCounter(PSStatCounter pStatistic);
void STAvUpdateIsrStatCounter(PSStatCounter pStatistic, unsigned long dwIsr);