Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations | Functions
wmgr.h File Reference
#include "ttype.h"
#include "80211mgr.h"
#include "80211hdr.h"
#include "wcmd.h"
#include "bssdb.h"
#include "wpa2.h"
#include "vntwifi.h"
#include "card.h"

Go to the source code of this file.

Data Structures

struct  _NDIS_802_11_AI_REQFI
 
struct  _NDIS_802_11_AI_RESFI
 
struct  _NDIS_802_11_ASSOCIATION_INFORMATION
 
struct  tagSAssocInfo
 
struct  tagSTxMgmtPacket
 
struct  tagSRxMgmtPacket
 
struct  tagSMgmtObject
 

Macros

#define PROBE_DELAY   100
 
#define SWITCH_CHANNEL_DELAY   200
 
#define WLAN_SCAN_MINITIME   25
 
#define WLAN_SCAN_MAXTIME   100
 
#define TRIVIAL_SYNC_DIFFERENCE   0
 
#define DEFAULT_IBSS_BI   100
 
#define WCMD_ACTIVE_SCAN_TIME   50
 
#define WCMD_PASSIVE_SCAN_TIME   100
 
#define DEFAULT_MSDU_LIFETIME   512
 
#define DEFAULT_MSDU_LIFETIME_RES_64us   8000
 
#define DEFAULT_MGN_LIFETIME   8
 
#define DEFAULT_MGN_LIFETIME_RES_64us   125
 
#define MAKE_BEACON_RESERVED   10
 
#define TIM_MULTICAST_MASK   0x01
 
#define TIM_BITMAPOFFSET_MASK   0xFE
 
#define DEFAULT_DTIM_PERIOD   1
 
#define AP_LONG_RETRY_LIMIT   4
 
#define DEFAULT_IBSS_CHANNEL   6
 
#define timer_expire(timer, next_tick)   mod_timer(&timer, RUN_AT(next_tick))
 

Typedefs

typedef void(* TimerFunction )(unsigned long)
 
typedef unsigned char NDIS_802_11_MAC_ADDRESS [6]
 
typedef struct
_NDIS_802_11_AI_REQFI 
NDIS_802_11_AI_REQFI
 
typedef struct
_NDIS_802_11_AI_REQFI
PNDIS_802_11_AI_REQFI
 
typedef struct
_NDIS_802_11_AI_RESFI 
NDIS_802_11_AI_RESFI
 
typedef struct
_NDIS_802_11_AI_RESFI
PNDIS_802_11_AI_RESFI
 
typedef struct
_NDIS_802_11_ASSOCIATION_INFORMATION 
NDIS_802_11_ASSOCIATION_INFORMATION
 
typedef struct
_NDIS_802_11_ASSOCIATION_INFORMATION
PNDIS_802_11_ASSOCIATION_INFORMATION
 
typedef struct tagSAssocInfo SAssocInfo
 
typedef struct tagSAssocInfoPSAssocInfo
 
typedef enum tagWMAC_SCAN_TYPE WMAC_SCAN_TYPE
 
typedef enum tagWMAC_SCAN_TYPEPWMAC_SCAN_TYPE
 
typedef enum tagWMAC_SCAN_STATE WMAC_SCAN_STATE
 
typedef enum tagWMAC_SCAN_STATEPWMAC_SCAN_STATE
 
typedef enum tagWMAC_BSS_STATE WMAC_BSS_STATE
 
typedef enum tagWMAC_BSS_STATEPWMAC_BSS_STATE
 
typedef enum tagWMAC_CURRENT_MODE WMAC_CURRENT_MODE
 
typedef enum tagWMAC_CURRENT_MODEPWMAC_CURRENT_MODE
 
typedef struct tagSTxMgmtPacket STxMgmtPacket
 
typedef struct tagSTxMgmtPacketPSTxMgmtPacket
 
typedef struct tagSRxMgmtPacket SRxMgmtPacket
 
typedef struct tagSRxMgmtPacketPSRxMgmtPacket
 
typedef struct tagSMgmtObject SMgmtObject
 
typedef struct tagSMgmtObjectPSMgmtObject
 

Enumerations

enum  tagWMAC_SCAN_TYPE {
  WMAC_SCAN_ACTIVE, WMAC_SCAN_PASSIVE, WMAC_SCAN_HYBRID, WMAC_SCAN_ACTIVE,
  WMAC_SCAN_PASSIVE, WMAC_SCAN_HYBRID
}
 
enum  tagWMAC_SCAN_STATE {
  WMAC_NO_SCANNING, WMAC_IS_SCANNING, WMAC_IS_PROBEPENDING, WMAC_NO_SCANNING,
  WMAC_IS_SCANNING, WMAC_IS_PROBEPENDING
}
 
enum  tagWMAC_BSS_STATE {
  WMAC_STATE_IDLE, WMAC_STATE_STARTED, WMAC_STATE_JOINTED, WMAC_STATE_AUTHPENDING,
  WMAC_STATE_AUTH, WMAC_STATE_ASSOCPENDING, WMAC_STATE_ASSOC, WMAC_STATE_IDLE,
  WMAC_STATE_STARTED, WMAC_STATE_JOINTED, WMAC_STATE_AUTHPENDING, WMAC_STATE_AUTH,
  WMAC_STATE_ASSOCPENDING, WMAC_STATE_ASSOC
}
 
enum  tagWMAC_CURRENT_MODE {
  WMAC_MODE_STANDBY, WMAC_MODE_ESS_STA, WMAC_MODE_IBSS_STA, WMAC_MODE_ESS_AP,
  WMAC_MODE_STANDBY, WMAC_MODE_ESS_STA, WMAC_MODE_IBSS_STA, WMAC_MODE_ESS_AP
}
 

Functions

void vMgrObjectInit (void *hDeviceContext)
 
void vMgrTimerInit (void *hDeviceContext)
 
void vMgrObjectReset (void *hDeviceContext)
 
void vMgrAssocBeginSta (void *hDeviceContext, PSMgmtObject pMgmt, PCMD_STATUS pStatus)
 
void vMgrReAssocBeginSta (void *hDeviceContext, PSMgmtObject pMgmt, PCMD_STATUS pStatus)
 
void vMgrDisassocBeginSta (void *hDeviceContext, PSMgmtObject pMgmt, unsigned char *abyDestAddress, unsigned short wReason, PCMD_STATUS pStatus)
 
void vMgrAuthenBeginSta (void *hDeviceContext, PSMgmtObject pMgmt, PCMD_STATUS pStatus)
 
void vMgrCreateOwnIBSS (void *hDeviceContext, PCMD_STATUS pStatus)
 
void vMgrJoinBSSBegin (void *hDeviceContext, PCMD_STATUS pStatus)
 
void vMgrRxManagePacket (void *hDeviceContext, PSMgmtObject pMgmt, PSRxMgmtPacket pRxPacket)
 
void vMgrDeAuthenBeginSta (void *hDeviceContext, PSMgmtObject pMgmt, unsigned char *abyDestAddress, unsigned short wReason, PCMD_STATUS pStatus)
 
bool bMgrPrepareBeaconToSend (void *hDeviceContext, PSMgmtObject pMgmt)
 
bool bAdd_PMKID_Candidate (void *hDeviceContext, unsigned char *pbyBSSID, PSRSNCapObject psRSNCapObj)
 
void vFlush_PMKID_Candidate (void *hDeviceContext)
 

Macro Definition Documentation

#define AP_LONG_RETRY_LIMIT   4

Definition at line 75 of file wmgr.h.

#define DEFAULT_DTIM_PERIOD   1

Definition at line 73 of file wmgr.h.

#define DEFAULT_IBSS_BI   100

Definition at line 56 of file wmgr.h.

#define DEFAULT_IBSS_CHANNEL   6

Definition at line 77 of file wmgr.h.

#define DEFAULT_MGN_LIFETIME   8

Definition at line 65 of file wmgr.h.

#define DEFAULT_MGN_LIFETIME_RES_64us   125

Definition at line 66 of file wmgr.h.

#define DEFAULT_MSDU_LIFETIME   512

Definition at line 62 of file wmgr.h.

#define DEFAULT_MSDU_LIFETIME_RES_64us   8000

Definition at line 63 of file wmgr.h.

#define MAKE_BEACON_RESERVED   10

Definition at line 68 of file wmgr.h.

#define PROBE_DELAY   100

Definition at line 51 of file wmgr.h.

#define SWITCH_CHANNEL_DELAY   200

Definition at line 52 of file wmgr.h.

#define TIM_BITMAPOFFSET_MASK   0xFE

Definition at line 72 of file wmgr.h.

#define TIM_MULTICAST_MASK   0x01

Definition at line 71 of file wmgr.h.

#define timer_expire (   timer,
  next_tick 
)    mod_timer(&timer, RUN_AT(next_tick))

Definition at line 85 of file wmgr.h.

#define TRIVIAL_SYNC_DIFFERENCE   0

Definition at line 55 of file wmgr.h.

#define WCMD_ACTIVE_SCAN_TIME   50

Definition at line 58 of file wmgr.h.

#define WCMD_PASSIVE_SCAN_TIME   100

Definition at line 59 of file wmgr.h.

#define WLAN_SCAN_MAXTIME   100

Definition at line 54 of file wmgr.h.

#define WLAN_SCAN_MINITIME   25

Definition at line 53 of file wmgr.h.

Typedef Documentation

typedef unsigned char NDIS_802_11_MAC_ADDRESS[6]

Definition at line 91 of file wmgr.h.

typedef void(* TimerFunction)(unsigned long)

Definition at line 86 of file wmgr.h.

Enumeration Type Documentation

Enumerator:
WMAC_STATE_IDLE 
WMAC_STATE_STARTED 
WMAC_STATE_JOINTED 
WMAC_STATE_AUTHPENDING 
WMAC_STATE_AUTH 
WMAC_STATE_ASSOCPENDING 
WMAC_STATE_ASSOC 
WMAC_STATE_IDLE 
WMAC_STATE_STARTED 
WMAC_STATE_JOINTED 
WMAC_STATE_AUTHPENDING 
WMAC_STATE_AUTH 
WMAC_STATE_ASSOCPENDING 
WMAC_STATE_ASSOC 

Definition at line 190 of file wmgr.h.

Enumerator:
WMAC_MODE_STANDBY 
WMAC_MODE_ESS_STA 
WMAC_MODE_IBSS_STA 
WMAC_MODE_ESS_AP 
WMAC_MODE_STANDBY 
WMAC_MODE_ESS_STA 
WMAC_MODE_IBSS_STA 
WMAC_MODE_ESS_AP 

Definition at line 203 of file wmgr.h.

Enumerator:
WMAC_NO_SCANNING 
WMAC_IS_SCANNING 
WMAC_IS_PROBEPENDING 
WMAC_NO_SCANNING 
WMAC_IS_SCANNING 
WMAC_IS_PROBEPENDING 

Definition at line 170 of file wmgr.h.

Enumerator:
WMAC_SCAN_ACTIVE 
WMAC_SCAN_PASSIVE 
WMAC_SCAN_HYBRID 
WMAC_SCAN_ACTIVE 
WMAC_SCAN_PASSIVE 
WMAC_SCAN_HYBRID 

Definition at line 161 of file wmgr.h.

Function Documentation

bool bAdd_PMKID_Candidate ( void hDeviceContext,
unsigned char pbyBSSID,
PSRSNCapObject  psRSNCapObj 
)

Definition at line 4783 of file wmgr.c.

bool bMgrPrepareBeaconToSend ( void hDeviceContext,
PSMgmtObject  pMgmt 
)

Definition at line 4659 of file wmgr.c.

void vFlush_PMKID_Candidate ( void hDeviceContext)

Definition at line 4844 of file wmgr.c.

void vMgrAssocBeginSta ( void hDeviceContext,
PSMgmtObject  pMgmt,
PCMD_STATUS  pStatus 
)

Definition at line 465 of file wmgr.c.

void vMgrAuthenBeginSta ( void hDeviceContext,
PSMgmtObject  pMgmt,
PCMD_STATUS  pStatus 
)

Definition at line 1155 of file wmgr.c.

void vMgrCreateOwnIBSS ( void hDeviceContext,
PCMD_STATUS  pStatus 
)

Definition at line 2389 of file wmgr.c.

void vMgrDeAuthenBeginSta ( void hDeviceContext,
PSMgmtObject  pMgmt,
unsigned char abyDestAddress,
unsigned short  wReason,
PCMD_STATUS  pStatus 
)

Definition at line 1213 of file wmgr.c.

void vMgrDisassocBeginSta ( void hDeviceContext,
PSMgmtObject  pMgmt,
unsigned char abyDestAddress,
unsigned short  wReason,
PCMD_STATUS  pStatus 
)

Definition at line 620 of file wmgr.c.

void vMgrJoinBSSBegin ( void hDeviceContext,
PCMD_STATUS  pStatus 
)

Definition at line 2644 of file wmgr.c.

void vMgrObjectInit ( void hDeviceContext)

Definition at line 352 of file wmgr.c.

void vMgrObjectReset ( void hDeviceContext)

Definition at line 436 of file wmgr.c.

void vMgrReAssocBeginSta ( void hDeviceContext,
PSMgmtObject  pMgmt,
PCMD_STATUS  pStatus 
)

Definition at line 541 of file wmgr.c.

void vMgrRxManagePacket ( void hDeviceContext,
PSMgmtObject  pMgmt,
PSRxMgmtPacket  pRxPacket 
)

Definition at line 4510 of file wmgr.c.

void vMgrTimerInit ( void hDeviceContext)

Definition at line 388 of file wmgr.c.