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

Go to the source code of this file.

Data Structures

struct  p80211enumpair
 
struct  p80211enum
 
struct  p80211pstr
 
struct  p80211pstrd
 
struct  p80211pstr255
 
struct  p80211pstr6
 
struct  p80211pstr14
 
struct  p80211pstr32
 
struct  p80211macarray
 
struct  p80211item
 
struct  p80211itemd
 
struct  p80211item_uint32
 
struct  p80211item_pstr6
 
struct  p80211item_pstr14
 
struct  p80211item_pstr32
 
struct  p80211item_pstr255
 
struct  p80211item_unk392
 
struct  p80211item_unk1024
 
struct  p80211item_unk4096
 

Macros

#define P80211_MIB_CAT_DOT11SMT   1
 
#define P80211_MIB_CAT_DOT11MAC   2
 
#define P80211_MIB_CAT_DOT11PHY   3
 
#define P80211SEC_DOT11SMT   P80211_MIB_CAT_DOT11SMT
 
#define P80211SEC_DOT11MAC   P80211_MIB_CAT_DOT11MAC
 
#define P80211SEC_DOT11PHY   P80211_MIB_CAT_DOT11PHY
 
#define P80211_MSG_CAT_DOT11REQ   1
 
#define P80211_MSG_CAT_DOT11IND   2
 
#define P80211ENUM_truth_false   0
 
#define P80211ENUM_truth_true   1
 
#define P80211ENUM_ifstate_disable   0
 
#define P80211ENUM_ifstate_fwload   1
 
#define P80211ENUM_ifstate_enable   2
 
#define P80211ENUM_bsstype_infrastructure   1
 
#define P80211ENUM_bsstype_independent   2
 
#define P80211ENUM_bsstype_any   3
 
#define P80211ENUM_authalg_opensystem   1
 
#define P80211ENUM_authalg_sharedkey   2
 
#define P80211ENUM_scantype_active   1
 
#define P80211ENUM_resultcode_success   1
 
#define P80211ENUM_resultcode_invalid_parameters   2
 
#define P80211ENUM_resultcode_not_supported   3
 
#define P80211ENUM_resultcode_refused   6
 
#define P80211ENUM_resultcode_cant_set_readonly_mib   10
 
#define P80211ENUM_resultcode_implementation_failure   11
 
#define P80211ENUM_resultcode_cant_get_writeonly_mib   12
 
#define P80211ENUM_status_successful   0
 
#define P80211ENUM_status_unspec_failure   1
 
#define P80211ENUM_status_ap_full   17
 
#define P80211ENUM_msgitem_status_data_ok   0
 
#define P80211ENUM_msgitem_status_no_value   1
 
#define MAXLEN_PSTR6   (6) /* pascal array of 6 bytes */
 
#define MAXLEN_PSTR14   (14) /* pascal array of 14 bytes */
 
#define MAXLEN_PSTR32   (32) /* pascal array of 32 bytes */
 
#define MAXLEN_PSTR255   (255) /* pascal array of 255 bytes */
 
#define MAXLEN_MIBATTRIBUTE   (392) /* maximum mibattribute */
 
#define MKENUMNAME(name)   p80211enum_ ## name
 
#define P80211DID_LSB_SECTION   (0)
 
#define P80211DID_LSB_GROUP   (6)
 
#define P80211DID_LSB_ITEM   (12)
 
#define P80211DID_LSB_INDEX   (18)
 
#define P80211DID_LSB_ISTABLE   (26)
 
#define P80211DID_LSB_ACCESS   (27)
 
#define P80211DID_MASK_SECTION   (0x0000003fUL)
 
#define P80211DID_MASK_GROUP   (0x0000003fUL)
 
#define P80211DID_MASK_ITEM   (0x0000003fUL)
 
#define P80211DID_MASK_INDEX   (0x000000ffUL)
 
#define P80211DID_MASK_ISTABLE   (0x00000001UL)
 
#define P80211DID_MASK_ACCESS   (0x00000003UL)
 
#define P80211DID_MK(a, m, l)   ((((u32)(a)) & (m)) << (l))
 
#define P80211DID_MKSECTION(a)
 
#define P80211DID_MKGROUP(a)
 
#define P80211DID_MKITEM(a)
 
#define P80211DID_MKINDEX(a)
 
#define P80211DID_MKISTABLE(a)
 
#define P80211DID_MKID(s, g, i, n, t, a)
 
#define P80211DID_GET(a, m, l)   ((((u32)(a)) >> (l)) & (m))
 
#define P80211DID_SECTION(a)
 
#define P80211DID_GROUP(a)
 
#define P80211DID_ITEM(a)
 
#define P80211DID_INDEX(a)
 
#define P80211DID_ISTABLE(a)
 
#define P80211DID_ACCESS(a)
 

Typedefs

typedef struct p80211enumpair p80211enumpair_t
 
typedef struct p80211enum p80211enum_t
 
typedef struct p80211pstr p80211pstr_t
 
typedef struct p80211pstrd p80211pstrd_t
 
typedef struct p80211pstr255 p80211pstr255_t
 
typedef struct p80211pstr6 p80211pstr6_t
 
typedef struct p80211pstr14 p80211pstr14_t
 
typedef struct p80211pstr32 p80211pstr32_t
 
typedef struct p80211macarray p80211macarray_t
 
typedef struct p80211item p80211item_t
 
typedef struct p80211itemd p80211itemd_t
 
typedef struct p80211item_uint32 p80211item_uint32_t
 
typedef struct p80211item_pstr6 p80211item_pstr6_t
 
typedef struct p80211item_pstr14 p80211item_pstr14_t
 
typedef struct p80211item_pstr32 p80211item_pstr32_t
 
typedef struct p80211item_pstr255 p80211item_pstr255_t
 
typedef struct p80211item_unk392 p80211item_unk392_t
 
typedef struct p80211item_unk1024 p80211item_unk1024_t
 
typedef struct p80211item_unk4096 p80211item_unk4096_t
 
typedef void(* p80211_totext_t )(struct catlistitem *, u32 did, u8 *itembuf, char *textbuf)
 
typedef void(* p80211_fromtext_t )(struct catlistitem *, u32 did, u8 *itembuf, char *textbuf)
 
typedef u32(* p80211_valid_t )(struct catlistitem *, u32 did, u8 *itembuf)
 

Functions

p80211enum_t MKENUMNAME (truth)
 
p80211enum_t MKENUMNAME (ifstate)
 
p80211enum_t MKENUMNAME (powermgmt)
 
p80211enum_t MKENUMNAME (bsstype)
 
p80211enum_t MKENUMNAME (authalg)
 
p80211enum_t MKENUMNAME (phytype)
 
p80211enum_t MKENUMNAME (temptype)
 
p80211enum_t MKENUMNAME (regdomain)
 
p80211enum_t MKENUMNAME (ccamode)
 
p80211enum_t MKENUMNAME (diversity)
 
p80211enum_t MKENUMNAME (scantype)
 
p80211enum_t MKENUMNAME (resultcode)
 
p80211enum_t MKENUMNAME (reason)
 
p80211enum_t MKENUMNAME (status)
 
p80211enum_t MKENUMNAME (msgcode)
 
p80211enum_t MKENUMNAME (msgitem_status)
 
p80211enum_t MKENUMNAME (lnxroam_reason)
 
p80211enum_t MKENUMNAME (p2preamble)
 

Macro Definition Documentation

#define MAXLEN_MIBATTRIBUTE   (392) /* maximum mibattribute */

Definition at line 115 of file p80211types.h.

#define MAXLEN_PSTR14   (14) /* pascal array of 14 bytes */

Definition at line 112 of file p80211types.h.

#define MAXLEN_PSTR255   (255) /* pascal array of 255 bytes */

Definition at line 114 of file p80211types.h.

#define MAXLEN_PSTR32   (32) /* pascal array of 32 bytes */

Definition at line 113 of file p80211types.h.

#define MAXLEN_PSTR6   (6) /* pascal array of 6 bytes */

Definition at line 111 of file p80211types.h.

#define MKENUMNAME (   name)    p80211enum_ ## name

Definition at line 123 of file p80211types.h.

#define P80211_MIB_CAT_DOT11MAC   2

Definition at line 66 of file p80211types.h.

#define P80211_MIB_CAT_DOT11PHY   3

Definition at line 67 of file p80211types.h.

#define P80211_MIB_CAT_DOT11SMT   1

Definition at line 65 of file p80211types.h.

#define P80211_MSG_CAT_DOT11IND   2

Definition at line 75 of file p80211types.h.

#define P80211_MSG_CAT_DOT11REQ   1

Definition at line 74 of file p80211types.h.

#define P80211DID_ACCESS (   a)
Value:

Definition at line 195 of file p80211types.h.

#define P80211DID_GET (   a,
  m,
  l 
)    ((((u32)(a)) >> (l)) & (m))

Definition at line 178 of file p80211types.h.

#define P80211DID_GROUP (   a)
Value:

Definition at line 183 of file p80211types.h.

#define P80211DID_INDEX (   a)
Value:

Definition at line 189 of file p80211types.h.

#define P80211DID_ISTABLE (   a)
#define P80211DID_ITEM (   a)
Value:

Definition at line 186 of file p80211types.h.

#define P80211DID_LSB_ACCESS   (27)

Definition at line 144 of file p80211types.h.

#define P80211DID_LSB_GROUP   (6)

Definition at line 140 of file p80211types.h.

#define P80211DID_LSB_INDEX   (18)

Definition at line 142 of file p80211types.h.

#define P80211DID_LSB_ISTABLE   (26)

Definition at line 143 of file p80211types.h.

#define P80211DID_LSB_ITEM   (12)

Definition at line 141 of file p80211types.h.

#define P80211DID_LSB_SECTION   (0)

Definition at line 139 of file p80211types.h.

#define P80211DID_MASK_ACCESS   (0x00000003UL)

Definition at line 151 of file p80211types.h.

#define P80211DID_MASK_GROUP   (0x0000003fUL)

Definition at line 147 of file p80211types.h.

#define P80211DID_MASK_INDEX   (0x000000ffUL)

Definition at line 149 of file p80211types.h.

#define P80211DID_MASK_ISTABLE   (0x00000001UL)

Definition at line 150 of file p80211types.h.

#define P80211DID_MASK_ITEM   (0x0000003fUL)

Definition at line 148 of file p80211types.h.

#define P80211DID_MASK_SECTION   (0x0000003fUL)

Definition at line 146 of file p80211types.h.

#define P80211DID_MK (   a,
  m,
  l 
)    ((((u32)(a)) & (m)) << (l))

Definition at line 153 of file p80211types.h.

#define P80211DID_MKGROUP (   a)
Value:

Definition at line 158 of file p80211types.h.

#define P80211DID_MKID (   s,
  g,
  i,
  n,
  t,
  a 
)
Value:
P80211DID_MKGROUP(g) | \
P80211DID_MKITEM(i) | \
P80211DID_MKINDEX(n) | \
P80211DID_MKISTABLE(t) | \
(a))

Definition at line 171 of file p80211types.h.

#define P80211DID_MKINDEX (   a)
Value:

Definition at line 164 of file p80211types.h.

#define P80211DID_MKISTABLE (   a)
Value:

Definition at line 167 of file p80211types.h.

#define P80211DID_MKITEM (   a)
Value:

Definition at line 161 of file p80211types.h.

#define P80211DID_MKSECTION (   a)
Value:

Definition at line 155 of file p80211types.h.

#define P80211DID_SECTION (   a)
#define P80211ENUM_authalg_opensystem   1

Definition at line 92 of file p80211types.h.

#define P80211ENUM_authalg_sharedkey   2

Definition at line 93 of file p80211types.h.

#define P80211ENUM_bsstype_any   3

Definition at line 91 of file p80211types.h.

#define P80211ENUM_bsstype_independent   2

Definition at line 90 of file p80211types.h.

#define P80211ENUM_bsstype_infrastructure   1

Definition at line 89 of file p80211types.h.

#define P80211ENUM_ifstate_disable   0

Definition at line 86 of file p80211types.h.

#define P80211ENUM_ifstate_enable   2

Definition at line 88 of file p80211types.h.

#define P80211ENUM_ifstate_fwload   1

Definition at line 87 of file p80211types.h.

#define P80211ENUM_msgitem_status_data_ok   0

Definition at line 105 of file p80211types.h.

#define P80211ENUM_msgitem_status_no_value   1

Definition at line 106 of file p80211types.h.

#define P80211ENUM_resultcode_cant_get_writeonly_mib   12

Definition at line 101 of file p80211types.h.

#define P80211ENUM_resultcode_cant_set_readonly_mib   10

Definition at line 99 of file p80211types.h.

#define P80211ENUM_resultcode_implementation_failure   11

Definition at line 100 of file p80211types.h.

#define P80211ENUM_resultcode_invalid_parameters   2

Definition at line 96 of file p80211types.h.

#define P80211ENUM_resultcode_not_supported   3

Definition at line 97 of file p80211types.h.

#define P80211ENUM_resultcode_refused   6

Definition at line 98 of file p80211types.h.

#define P80211ENUM_resultcode_success   1

Definition at line 95 of file p80211types.h.

#define P80211ENUM_scantype_active   1

Definition at line 94 of file p80211types.h.

#define P80211ENUM_status_ap_full   17

Definition at line 104 of file p80211types.h.

#define P80211ENUM_status_successful   0

Definition at line 102 of file p80211types.h.

#define P80211ENUM_status_unspec_failure   1

Definition at line 103 of file p80211types.h.

#define P80211ENUM_truth_false   0

Definition at line 84 of file p80211types.h.

#define P80211ENUM_truth_true   1

Definition at line 85 of file p80211types.h.

#define P80211SEC_DOT11MAC   P80211_MIB_CAT_DOT11MAC

Definition at line 70 of file p80211types.h.

#define P80211SEC_DOT11PHY   P80211_MIB_CAT_DOT11PHY

Definition at line 71 of file p80211types.h.

#define P80211SEC_DOT11SMT   P80211_MIB_CAT_DOT11SMT

Definition at line 69 of file p80211types.h.

Typedef Documentation

typedef void(* p80211_fromtext_t)(struct catlistitem *, u32 did, u8 *itembuf, char *textbuf)

Definition at line 345 of file p80211types.h.

typedef void(* p80211_totext_t)(struct catlistitem *, u32 did, u8 *itembuf, char *textbuf)

Definition at line 343 of file p80211types.h.

typedef u32(* p80211_valid_t)(struct catlistitem *, u32 did, u8 *itembuf)

Definition at line 347 of file p80211types.h.

Function Documentation

p80211enum_t MKENUMNAME ( truth  )
p80211enum_t MKENUMNAME ( ifstate  )
p80211enum_t MKENUMNAME ( powermgmt  )
p80211enum_t MKENUMNAME ( bsstype  )
p80211enum_t MKENUMNAME ( authalg  )
p80211enum_t MKENUMNAME ( phytype  )
p80211enum_t MKENUMNAME ( temptype  )
p80211enum_t MKENUMNAME ( regdomain  )
p80211enum_t MKENUMNAME ( ccamode  )
p80211enum_t MKENUMNAME ( diversity  )
p80211enum_t MKENUMNAME ( scantype  )
p80211enum_t MKENUMNAME ( resultcode  )
p80211enum_t MKENUMNAME ( reason  )
p80211enum_t MKENUMNAME ( status  )
p80211enum_t MKENUMNAME ( msgcode  )
p80211enum_t MKENUMNAME ( msgitem_status  )
p80211enum_t MKENUMNAME ( lnxroam_reason  )
p80211enum_t MKENUMNAME ( p2preamble  )