#include <wlan_compat.h>
#include <p80211hdr.h>
Go to the source code of this file.
#define WLAN_EID_SSID 0 |
#define WLAN_EID_SUPP_RATES 1 |
#define WLAN_EID_FH_PARMS 2 |
#define WLAN_EID_DS_PARMS 3 |
#define WLAN_EID_CF_PARMS 4 |
#define WLAN_EID_TIM 5 |
#define WLAN_EID_IBSS_PARMS 6 |
#define WLAN_EID_CHALLENGE 16 |
#define WLAN_MGMT_REASON_RSVD 0 |
Definition at line 135 of file p80211mgmt.h.
#define WLAN_MGMT_REASON_UNSPEC 1 |
Definition at line 136 of file p80211mgmt.h.
#define WLAN_MGMT_REASON_PRIOR_AUTH_INVALID 2 |
Definition at line 137 of file p80211mgmt.h.
#define WLAN_MGMT_REASON_DEAUTH_LEAVING 3 |
Definition at line 138 of file p80211mgmt.h.
#define WLAN_MGMT_REASON_DISASSOC_INACTIVE 4 |
Definition at line 139 of file p80211mgmt.h.
#define WLAN_MGMT_REASON_DISASSOC_AP_BUSY 5 |
Definition at line 140 of file p80211mgmt.h.
#define WLAN_MGMT_REASON_CLASS2_NONAUTH 6 |
Definition at line 141 of file p80211mgmt.h.
#define WLAN_MGMT_REASON_CLASS3_NONASSOC 7 |
Definition at line 142 of file p80211mgmt.h.
#define WLAN_MGMT_REASON_DISASSOC_STA_HASLEFT 8 |
Definition at line 143 of file p80211mgmt.h.
#define WLAN_MGMT_REASON_CANT_ASSOC_NONAUTH 9 |
Definition at line 144 of file p80211mgmt.h.
#define WLAN_MGMT_STATUS_SUCCESS 0 |
Definition at line 147 of file p80211mgmt.h.
#define WLAN_MGMT_STATUS_UNSPEC_FAILURE 1 |
Definition at line 148 of file p80211mgmt.h.
#define WLAN_MGMT_STATUS_CAPS_UNSUPPORTED 10 |
Definition at line 149 of file p80211mgmt.h.
#define WLAN_MGMT_STATUS_REASSOC_NO_ASSOC 11 |
Definition at line 150 of file p80211mgmt.h.
#define WLAN_MGMT_STATUS_ASSOC_DENIED_UNSPEC 12 |
Definition at line 151 of file p80211mgmt.h.
#define WLAN_MGMT_STATUS_UNSUPPORTED_AUTHALG 13 |
Definition at line 152 of file p80211mgmt.h.
#define WLAN_MGMT_STATUS_RX_AUTH_NOSEQ 14 |
Definition at line 153 of file p80211mgmt.h.
#define WLAN_MGMT_STATUS_CHALLENGE_FAIL 15 |
Definition at line 154 of file p80211mgmt.h.
#define WLAN_MGMT_STATUS_AUTH_TIMEOUT 16 |
Definition at line 155 of file p80211mgmt.h.
#define WLAN_MGMT_STATUS_ASSOC_DENIED_BUSY 17 |
Definition at line 156 of file p80211mgmt.h.
#define WLAN_MGMT_STATUS_ASSOC_DENIED_RATES 18 |
Definition at line 157 of file p80211mgmt.h.
#define WLAN_MGMT_STATUS_ASSOC_DENIED_NOSHORT 19 |
Definition at line 159 of file p80211mgmt.h.
#define WLAN_MGMT_STATUS_ASSOC_DENIED_NOPBCC 20 |
Definition at line 160 of file p80211mgmt.h.
#define WLAN_MGMT_STATUS_ASSOC_DENIED_NOAGILITY 21 |
Definition at line 161 of file p80211mgmt.h.
#define WLAN_AUTH_ALG_OPENSYSTEM 0 |
Definition at line 166 of file p80211mgmt.h.
#define WLAN_AUTH_ALG_SHAREDKEY 1 |
Definition at line 167 of file p80211mgmt.h.
#define WLAN_BEACON_OFF_TS 0 |
Definition at line 174 of file p80211mgmt.h.
#define WLAN_BEACON_OFF_BCN_INT 8 |
Definition at line 175 of file p80211mgmt.h.
#define WLAN_BEACON_OFF_CAPINFO 10 |
Definition at line 176 of file p80211mgmt.h.
#define WLAN_BEACON_OFF_SSID 12 |
Definition at line 177 of file p80211mgmt.h.
#define WLAN_DISASSOC_OFF_REASON 0 |
Definition at line 179 of file p80211mgmt.h.
#define WLAN_ASSOCREQ_OFF_CAP_INFO 0 |
Definition at line 181 of file p80211mgmt.h.
#define WLAN_ASSOCREQ_OFF_LISTEN_INT 2 |
Definition at line 182 of file p80211mgmt.h.
#define WLAN_ASSOCREQ_OFF_SSID 4 |
Definition at line 183 of file p80211mgmt.h.
#define WLAN_ASSOCRESP_OFF_CAP_INFO 0 |
Definition at line 185 of file p80211mgmt.h.
#define WLAN_ASSOCRESP_OFF_STATUS 2 |
Definition at line 186 of file p80211mgmt.h.
#define WLAN_ASSOCRESP_OFF_AID 4 |
Definition at line 187 of file p80211mgmt.h.
#define WLAN_ASSOCRESP_OFF_SUPP_RATES 6 |
Definition at line 188 of file p80211mgmt.h.
#define WLAN_REASSOCREQ_OFF_CAP_INFO 0 |
Definition at line 190 of file p80211mgmt.h.
#define WLAN_REASSOCREQ_OFF_LISTEN_INT 2 |
Definition at line 191 of file p80211mgmt.h.
#define WLAN_REASSOCREQ_OFF_CURR_AP 4 |
Definition at line 192 of file p80211mgmt.h.
#define WLAN_REASSOCREQ_OFF_SSID 10 |
Definition at line 193 of file p80211mgmt.h.
#define WLAN_REASSOCRESP_OFF_CAP_INFO 0 |
Definition at line 195 of file p80211mgmt.h.
#define WLAN_REASSOCRESP_OFF_STATUS 2 |
Definition at line 196 of file p80211mgmt.h.
#define WLAN_REASSOCRESP_OFF_AID 4 |
Definition at line 197 of file p80211mgmt.h.
#define WLAN_REASSOCRESP_OFF_SUPP_RATES 6 |
Definition at line 198 of file p80211mgmt.h.
#define WLAN_PROBEREQ_OFF_SSID 0 |
Definition at line 200 of file p80211mgmt.h.
#define WLAN_PROBERESP_OFF_TS 0 |
Definition at line 202 of file p80211mgmt.h.
#define WLAN_PROBERESP_OFF_BCN_INT 8 |
Definition at line 203 of file p80211mgmt.h.
#define WLAN_PROBERESP_OFF_CAP_INFO 10 |
Definition at line 204 of file p80211mgmt.h.
#define WLAN_PROBERESP_OFF_SSID 12 |
Definition at line 205 of file p80211mgmt.h.
#define WLAN_AUTHEN_OFF_AUTH_ALG 0 |
Definition at line 207 of file p80211mgmt.h.
#define WLAN_AUTHEN_OFF_AUTH_SEQ 2 |
Definition at line 208 of file p80211mgmt.h.
#define WLAN_AUTHEN_OFF_STATUS 4 |
Definition at line 209 of file p80211mgmt.h.
#define WLAN_AUTHEN_OFF_CHALLENGE 6 |
Definition at line 210 of file p80211mgmt.h.
#define WLAN_DEAUTHEN_OFF_REASON 0 |
Definition at line 212 of file p80211mgmt.h.
#define WLAN_GET_MGMT_CAP_INFO_ESS | ( | n | ) | ((n) & BIT0) |
#define WLAN_GET_MGMT_CAP_INFO_IBSS | ( | n | ) | (((n) & BIT1) >> 1) |
#define WLAN_GET_MGMT_CAP_INFO_CFPOLLABLE | ( | n | ) | (((n) & BIT2) >> 2) |
Definition at line 221 of file p80211mgmt.h.
#define WLAN_GET_MGMT_CAP_INFO_CFPOLLREQ | ( | n | ) | (((n) & BIT3) >> 3) |
Definition at line 222 of file p80211mgmt.h.
#define WLAN_GET_MGMT_CAP_INFO_PRIVACY | ( | n | ) | (((n) & BIT4) >> 4) |
Definition at line 223 of file p80211mgmt.h.
Referenced by analyseBeacon(), analyseData(), analyseProbeRep(), analyseProbeReq(), and dataIsCrypted().
#define WLAN_GET_MGMT_CAP_INFO_SHORT | ( | n | ) | (((n) & BIT5) >> 5) |
Definition at line 225 of file p80211mgmt.h.
#define WLAN_GET_MGMT_CAP_INFO_PBCC | ( | n | ) | (((n) & BIT6) >> 6) |
Definition at line 226 of file p80211mgmt.h.
#define WLAN_GET_MGMT_CAP_INFO_AGILITY | ( | n | ) | (((n) & BIT7) >> 7) |
Definition at line 227 of file p80211mgmt.h.
#define WLAN_SET_MGMT_CAP_INFO_ESS | ( | n | ) | (n) |
Definition at line 229 of file p80211mgmt.h.
#define WLAN_SET_MGMT_CAP_INFO_IBSS | ( | n | ) | ((n) << 1) |
Definition at line 230 of file p80211mgmt.h.
#define WLAN_SET_MGMT_CAP_INFO_CFPOLLABLE | ( | n | ) | ((n) << 2) |
Definition at line 231 of file p80211mgmt.h.
#define WLAN_SET_MGMT_CAP_INFO_CFPOLLREQ | ( | n | ) | ((n) << 3) |
Definition at line 232 of file p80211mgmt.h.
#define WLAN_SET_MGMT_CAP_INFO_PRIVACY | ( | n | ) | ((n) << 4) |
Definition at line 233 of file p80211mgmt.h.
#define WLAN_SET_MGMT_CAP_INFO_SHORT | ( | n | ) | ((n) << 5) |
Definition at line 235 of file p80211mgmt.h.
#define WLAN_SET_MGMT_CAP_INFO_PBCC | ( | n | ) | ((n) << 6) |
Definition at line 236 of file p80211mgmt.h.
#define WLAN_SET_MGMT_CAP_INFO_AGILITY | ( | n | ) | ((n) << 7) |
Definition at line 237 of file p80211mgmt.h.
typedef struct wlan_ie_ssid wlan_ie_ssid_t |
typedef struct wlan_ie_supp_rates wlan_ie_supp_rates_t |
typedef struct wlan_ie_fh_parms wlan_ie_fh_parms_t |
typedef struct wlan_ie_ds_parms wlan_ie_ds_parms_t |
typedef struct wlan_ie_cf_parms wlan_ie_cf_parms_t |
typedef struct wlan_ie_tim wlan_ie_tim_t |
typedef struct wlan_ie_ibss_parms wlan_ie_ibss_parms_t |
typedef struct wlan_ie_challenge wlan_ie_challenge_t |
typedef struct wlan_fr_mgmt wlan_fr_mgmt_t |
typedef struct wlan_fr_beacon wlan_fr_beacon_t |
typedef struct wlan_fr_ibssatim wlan_fr_ibssatim_t |
typedef struct wlan_fr_disassoc wlan_fr_disassoc_t |
typedef struct wlan_fr_assocreq wlan_fr_assocreq_t |
typedef struct wlan_fr_assocresp wlan_fr_assocresp_t |
typedef struct wlan_fr_reassocreq wlan_fr_reassocreq_t |
typedef struct wlan_fr_reassocresp wlan_fr_reassocresp_t |
typedef struct wlan_fr_probereq wlan_fr_probereq_t |
typedef struct wlan_fr_proberesp wlan_fr_proberesp_t |
typedef struct wlan_fr_authen wlan_fr_authen_t |
typedef struct wlan_fr_deauthen wlan_fr_deauthen_t |
void wlan_mgmt_encode_beacon | ( | wlan_fr_beacon_t * | f | ) |
void wlan_mgmt_decode_beacon | ( | wlan_fr_beacon_t * | f | ) |
void wlan_mgmt_encode_disassoc | ( | wlan_fr_disassoc_t * | f | ) |
void wlan_mgmt_decode_disassoc | ( | wlan_fr_disassoc_t * | f | ) |
void wlan_mgmt_encode_assocreq | ( | wlan_fr_assocreq_t * | f | ) |
void wlan_mgmt_decode_assocreq | ( | wlan_fr_assocreq_t * | f | ) |
void wlan_mgmt_encode_assocresp | ( | wlan_fr_assocresp_t * | f | ) |
void wlan_mgmt_decode_assocresp | ( | wlan_fr_assocresp_t * | f | ) |
void wlan_mgmt_encode_reassocreq | ( | wlan_fr_reassocreq_t * | f | ) |
void wlan_mgmt_decode_reassocreq | ( | wlan_fr_reassocreq_t * | f | ) |
void wlan_mgmt_encode_reassocresp | ( | wlan_fr_reassocresp_t * | f | ) |
void wlan_mgmt_decode_reassocresp | ( | wlan_fr_reassocresp_t * | f | ) |
void wlan_mgmt_encode_probereq | ( | wlan_fr_probereq_t * | f | ) |
void wlan_mgmt_decode_probereq | ( | wlan_fr_probereq_t * | f | ) |
void wlan_mgmt_encode_proberesp | ( | wlan_fr_proberesp_t * | f | ) |
void wlan_mgmt_decode_proberesp | ( | wlan_fr_proberesp_t * | f | ) |
void wlan_mgmt_encode_authen | ( | wlan_fr_authen_t * | f | ) |
void wlan_mgmt_decode_authen | ( | wlan_fr_authen_t * | f | ) |
void wlan_mgmt_encode_deauthen | ( | wlan_fr_deauthen_t * | f | ) |
void wlan_mgmt_decode_deauthen | ( | wlan_fr_deauthen_t * | f | ) |