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
 

Functions

void RATEvParseMaxRate (void *pDeviceHandler, PWLAN_IE_SUPP_RATES pItemRates, PWLAN_IE_SUPP_RATES pItemExtRates, bool bUpdateBasicRate, unsigned short *pwMaxBasicRate, unsigned short *pwMaxSuppRate, unsigned short *pwSuppRate, unsigned char *pbyTopCCKRate, unsigned char *pbyTopOFDMRate)
 
void RATEvTxRateFallBack (void *pDeviceHandler, PKnownNodeDB psNodeDBTable)
 
unsigned char RATEuSetIE (PWLAN_IE_SUPP_RATES pSrcRates, PWLAN_IE_SUPP_RATES pDstRates, unsigned int uRateLen)
 
unsigned short wGetRateIdx (unsigned char byRate)
 
unsigned char DATARATEbyGetRateIdx (unsigned char 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 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

unsigned char DATARATEbyGetRateIdx ( unsigned char  byRate)

Definition at line 108 of file datarate.c.

unsigned char 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,
unsigned short pwMaxBasicRate,
unsigned short pwMaxSuppRate,
unsigned short pwSuppRate,
unsigned char pbyTopCCKRate,
unsigned char pbyTopOFDMRate 
)

Definition at line 198 of file datarate.c.

void RATEvTxRateFallBack ( void pDeviceHandler,
PKnownNodeDB  psNodeDBTable 
)

Definition at line 311 of file datarate.c.

unsigned short wGetRateIdx ( unsigned char  byRate)

Definition at line 162 of file datarate.c.