Linux Kernel
3.7.1
|
#include "ieee80211/ieee80211.h"
Go to the source code of this file.
Data Structures | |
struct | _CHNL_TXPOWER_TRIPLE |
struct | _RT_DOT11D_INFO |
Macros | |
#define | eqMacAddr(a, b) |
#define | cpMacAddr(des, src) |
#define | GET_DOT11D_INFO(__pIeeeDev) ((PRT_DOT11D_INFO)((__pIeeeDev)->pDot11dInfo)) |
#define | IS_DOT11D_ENABLE(__pIeeeDev) (GET_DOT11D_INFO(__pIeeeDev)->bEnabled) |
#define | IS_COUNTRY_IE_VALID(__pIeeeDev) (GET_DOT11D_INFO(__pIeeeDev)->CountryIeLen > 0) |
#define | IS_EQUAL_CIE_SRC(__pIeeeDev, __pTa) eqMacAddr(GET_DOT11D_INFO(__pIeeeDev)->CountryIeSrcAddr, __pTa) |
#define | UPDATE_CIE_SRC(__pIeeeDev, __pTa) cpMacAddr(GET_DOT11D_INFO(__pIeeeDev)->CountryIeSrcAddr, __pTa) |
#define | IS_COUNTRY_IE_CHANGED(__pIeeeDev, __Ie) |
#define | CIE_WATCHDOG_TH 1 |
#define | GET_CIE_WATCHDOG(__pIeeeDev) (GET_DOT11D_INFO(__pIeeeDev)->CountryIeWatchdog) |
#define | RESET_CIE_WATCHDOG(__pIeeeDev) GET_CIE_WATCHDOG(__pIeeeDev) = 0 |
#define | UPDATE_CIE_WATCHDOG(__pIeeeDev) (++GET_CIE_WATCHDOG(__pIeeeDev)) |
#define | IS_DOT11D_STATE_DONE(__pIeeeDev) (GET_DOT11D_INFO(__pIeeeDev)->State == DOT11D_STATE_DONE) |
Typedefs | |
typedef struct _CHNL_TXPOWER_TRIPLE | CHNL_TXPOWER_TRIPLE |
typedef struct _CHNL_TXPOWER_TRIPLE * | PCHNL_TXPOWER_TRIPLE |
typedef enum _DOT11D_STATE | DOT11D_STATE |
typedef struct _RT_DOT11D_INFO | RT_DOT11D_INFO |
typedef struct _RT_DOT11D_INFO * | PRT_DOT11D_INFO |
Enumerations | |
enum | _DOT11D_STATE { DOT11D_STATE_NONE = 0, DOT11D_STATE_LEARNED, DOT11D_STATE_DONE, DOT11D_STATE_NONE = 0, DOT11D_STATE_LEARNED, DOT11D_STATE_DONE, DOT11D_STATE_NONE = 0, DOT11D_STATE_LEARNED, DOT11D_STATE_DONE } |
Functions | |
void | Dot11d_Init (struct ieee80211_device *dev) |
void | Dot11d_Reset (struct ieee80211_device *dev) |
void | Dot11d_UpdateCountryIe (struct ieee80211_device *dev, u8 *pTaddr, u16 CoutryIeLen, u8 *pCoutryIe) |
u8 | DOT11D_GetMaxTxPwrInDbm (struct ieee80211_device *dev, u8 Channel) |
void | DOT11D_ScanComplete (struct ieee80211_device *dev) |
int | IsLegalChannel (struct ieee80211_device *dev, u8 channel) |
int | ToLegalChannel (struct ieee80211_device *dev, u8 channel) |
#define cpMacAddr | ( | des, | |
src | |||
) |
#define GET_CIE_WATCHDOG | ( | __pIeeeDev | ) | (GET_DOT11D_INFO(__pIeeeDev)->CountryIeWatchdog) |
#define GET_DOT11D_INFO | ( | __pIeeeDev | ) | ((PRT_DOT11D_INFO)((__pIeeeDev)->pDot11dInfo)) |
#define IS_COUNTRY_IE_CHANGED | ( | __pIeeeDev, | |
__Ie | |||
) |
#define IS_COUNTRY_IE_VALID | ( | __pIeeeDev | ) | (GET_DOT11D_INFO(__pIeeeDev)->CountryIeLen > 0) |
#define IS_DOT11D_ENABLE | ( | __pIeeeDev | ) | (GET_DOT11D_INFO(__pIeeeDev)->bEnabled) |
#define IS_DOT11D_STATE_DONE | ( | __pIeeeDev | ) | (GET_DOT11D_INFO(__pIeeeDev)->State == DOT11D_STATE_DONE) |
#define IS_EQUAL_CIE_SRC | ( | __pIeeeDev, | |
__pTa | |||
) | eqMacAddr(GET_DOT11D_INFO(__pIeeeDev)->CountryIeSrcAddr, __pTa) |
#define RESET_CIE_WATCHDOG | ( | __pIeeeDev | ) | GET_CIE_WATCHDOG(__pIeeeDev) = 0 |
#define UPDATE_CIE_SRC | ( | __pIeeeDev, | |
__pTa | |||
) | cpMacAddr(GET_DOT11D_INFO(__pIeeeDev)->CountryIeSrcAddr, __pTa) |
#define UPDATE_CIE_WATCHDOG | ( | __pIeeeDev | ) | (++GET_CIE_WATCHDOG(__pIeeeDev)) |
typedef enum _DOT11D_STATE DOT11D_STATE |
typedef struct _CHNL_TXPOWER_TRIPLE * PCHNL_TXPOWER_TRIPLE |
typedef struct _RT_DOT11D_INFO * PRT_DOT11D_INFO |
typedef struct _RT_DOT11D_INFO RT_DOT11D_INFO |
enum _DOT11D_STATE |
u8 DOT11D_GetMaxTxPwrInDbm | ( | struct ieee80211_device * | dev, |
u8 | Channel | ||
) |
void Dot11d_Init | ( | struct ieee80211_device * | dev | ) |
void Dot11d_Reset | ( | struct ieee80211_device * | dev | ) |
void DOT11D_ScanComplete | ( | struct ieee80211_device * | dev | ) |
int IsLegalChannel | ( | struct ieee80211_device * | dev, |
u8 | channel | ||
) |