Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
datarate.h File Reference

Go to the source code of this file.

Macros

#define FALLBACK_PKT_COLLECT_TR_H   50
 
#define FALLBACK_PKT_COLLECT_TR_L   10
 
#define FALLBACK_POLL_SECOND   5
 
#define FALLBACK_RECOVER_SECOND   30
 
#define FALLBACK_THRESHOLD   15
 
#define UPGRADE_THRESHOLD   5
 
#define UPGRADE_CNT_THRD   3
 
#define RETRY_TIMES_THRD_H   2
 
#define RETRY_TIMES_THRD_L   1
 
#define RATE_1M   0
 
#define RATE_2M   1
 
#define RATE_5M   2
 
#define RATE_11M   3
 
#define RATE_6M   4
 
#define RATE_9M   5
 
#define RATE_12M   6
 
#define RATE_18M   7
 
#define RATE_24M   8
 
#define RATE_36M   9
 
#define RATE_48M   10
 
#define RATE_54M   11
 
#define RATE_AUTO   12
 
#define MAX_RATE   12
 

Functions

void RATEvParseMaxRate (void *pDeviceHandler, PWLAN_IE_SUPP_RATES pItemRates, PWLAN_IE_SUPP_RATES pItemExtRates, BOOL bUpdateBasicRate, PWORD pwMaxBasicRate, PWORD pwMaxSuppRate, PWORD pwSuppRate, PBYTE pbyTopCCKRate, PBYTE pbyTopOFDMRate)
 
void RATEvTxRateFallBack (void *pDeviceHandler, PKnownNodeDB psNodeDBTable)
 
BYTE RATEuSetIE (PWLAN_IE_SUPP_RATES pSrcRates, PWLAN_IE_SUPP_RATES pDstRates, unsigned int uRateLen)
 
WORD RATEwGetRateIdx (BYTE byRate)
 
BYTE DATARATEbyGetRateIdx (BYTE byRate)
 

Macro Definition Documentation

#define FALLBACK_PKT_COLLECT_TR_H   50

Definition at line 34 of file datarate.h.

#define FALLBACK_PKT_COLLECT_TR_L   10

Definition at line 35 of file datarate.h.

#define FALLBACK_POLL_SECOND   5

Definition at line 36 of file datarate.h.

#define FALLBACK_RECOVER_SECOND   30

Definition at line 37 of file datarate.h.

#define FALLBACK_THRESHOLD   15

Definition at line 38 of file datarate.h.

#define MAX_RATE   12

Definition at line 58 of file datarate.h.

#define RATE_11M   3

Definition at line 48 of file datarate.h.

#define RATE_12M   6

Definition at line 51 of file datarate.h.

#define RATE_18M   7

Definition at line 52 of file datarate.h.

#define RATE_1M   0

Definition at line 45 of file datarate.h.

#define RATE_24M   8

Definition at line 53 of file datarate.h.

#define RATE_2M   1

Definition at line 46 of file datarate.h.

#define RATE_36M   9

Definition at line 54 of file datarate.h.

#define RATE_48M   10

Definition at line 55 of file datarate.h.

#define RATE_54M   11

Definition at line 56 of file datarate.h.

#define RATE_5M   2

Definition at line 47 of file datarate.h.

#define RATE_6M   4

Definition at line 49 of file datarate.h.

#define RATE_9M   5

Definition at line 50 of file datarate.h.

#define RATE_AUTO   12

Definition at line 57 of file datarate.h.

#define RETRY_TIMES_THRD_H   2

Definition at line 41 of file datarate.h.

#define RETRY_TIMES_THRD_L   1

Definition at line 42 of file datarate.h.

#define UPGRADE_CNT_THRD   3

Definition at line 40 of file datarate.h.

#define UPGRADE_THRESHOLD   5

Definition at line 39 of file datarate.h.

Function Documentation

BYTE DATARATEbyGetRateIdx ( BYTE  byRate)

Definition at line 108 of file datarate.c.

BYTE RATEuSetIE ( PWLAN_IE_SUPP_RATES  pSrcRates,
PWLAN_IE_SUPP_RATES  pDstRates,
unsigned int  uRateLen 
)

Definition at line 413 of file datarate.c.

void RATEvParseMaxRate ( void pDeviceHandler,
PWLAN_IE_SUPP_RATES  pItemRates,
PWLAN_IE_SUPP_RATES  pItemExtRates,
BOOL  bUpdateBasicRate,
PWORD  pwMaxBasicRate,
PWORD  pwMaxSuppRate,
PWORD  pwSuppRate,
PBYTE  pbyTopCCKRate,
PBYTE  pbyTopOFDMRate 
)

Definition at line 191 of file datarate.c.

void RATEvTxRateFallBack ( void pDeviceHandler,
PKnownNodeDB  psNodeDBTable 
)

Definition at line 311 of file datarate.c.

WORD RATEwGetRateIdx ( BYTE  byRate)

Definition at line 156 of file datarate.c.