15449c685a4b39534f18869a93896370224463715Forest Bond/* 25449c685a4b39534f18869a93896370224463715Forest Bond * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc. 35449c685a4b39534f18869a93896370224463715Forest Bond * All rights reserved. 45449c685a4b39534f18869a93896370224463715Forest Bond * 55449c685a4b39534f18869a93896370224463715Forest Bond * This program is free software; you can redistribute it and/or modify 65449c685a4b39534f18869a93896370224463715Forest Bond * it under the terms of the GNU General Public License as published by 75449c685a4b39534f18869a93896370224463715Forest Bond * the Free Software Foundation; either version 2 of the License, or 85449c685a4b39534f18869a93896370224463715Forest Bond * (at your option) any later version. 95449c685a4b39534f18869a93896370224463715Forest Bond * 105449c685a4b39534f18869a93896370224463715Forest Bond * This program is distributed in the hope that it will be useful, 115449c685a4b39534f18869a93896370224463715Forest Bond * but WITHOUT ANY WARRANTY; without even the implied warranty of 125449c685a4b39534f18869a93896370224463715Forest Bond * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 135449c685a4b39534f18869a93896370224463715Forest Bond * GNU General Public License for more details. 145449c685a4b39534f18869a93896370224463715Forest Bond * 155449c685a4b39534f18869a93896370224463715Forest Bond * You should have received a copy of the GNU General Public License along 165449c685a4b39534f18869a93896370224463715Forest Bond * with this program; if not, write to the Free Software Foundation, Inc., 175449c685a4b39534f18869a93896370224463715Forest Bond * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 185449c685a4b39534f18869a93896370224463715Forest Bond * 19612822f5dd1638de442cf50eb9da54632fba0e66Jim Lieb * 205449c685a4b39534f18869a93896370224463715Forest Bond * File: 80211mgr.h 215449c685a4b39534f18869a93896370224463715Forest Bond * 220d74395177b38db079caf57b5d27c3cc0ee59ef3Uwe Kleine-König * Purpose: 802.11 management frames pre-defines. 23612822f5dd1638de442cf50eb9da54632fba0e66Jim Lieb * 245449c685a4b39534f18869a93896370224463715Forest Bond * 255449c685a4b39534f18869a93896370224463715Forest Bond * Author: Lyndon Chen 265449c685a4b39534f18869a93896370224463715Forest Bond * 275449c685a4b39534f18869a93896370224463715Forest Bond * Date: May 8, 2002 285449c685a4b39534f18869a93896370224463715Forest Bond * 295449c685a4b39534f18869a93896370224463715Forest Bond */ 305449c685a4b39534f18869a93896370224463715Forest Bond 315449c685a4b39534f18869a93896370224463715Forest Bond#ifndef __80211MGR_H__ 325449c685a4b39534f18869a93896370224463715Forest Bond#define __80211MGR_H__ 335449c685a4b39534f18869a93896370224463715Forest Bond 345449c685a4b39534f18869a93896370224463715Forest Bond#include "ttype.h" 355449c685a4b39534f18869a93896370224463715Forest Bond#include "80211hdr.h" 365449c685a4b39534f18869a93896370224463715Forest Bond 375449c685a4b39534f18869a93896370224463715Forest Bond/*--------------------- Export Definitions -------------------------*/ 385449c685a4b39534f18869a93896370224463715Forest Bond 395449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MIN_ARRAY 1 405449c685a4b39534f18869a93896370224463715Forest Bond 415449c685a4b39534f18869a93896370224463715Forest Bond// Information Element ID value 425449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_EID_SSID 0 435449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_EID_SUPP_RATES 1 445449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_EID_FH_PARMS 2 455449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_EID_DS_PARMS 3 465449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_EID_CF_PARMS 4 475449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_EID_TIM 5 485449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_EID_IBSS_PARMS 6 495449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_EID_COUNTRY 7 505449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_EID_CHALLENGE 16 515449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_EID_PWR_CONSTRAINT 32 525449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_EID_PWR_CAPABILITY 33 535449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_EID_TPC_REQ 34 545449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_EID_TPC_REP 35 555449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_EID_SUPP_CH 36 565449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_EID_CH_SWITCH 37 575449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_EID_MEASURE_REQ 38 585449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_EID_MEASURE_REP 39 595449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_EID_QUIET 40 605449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_EID_IBSS_DFS 41 615449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_EID_ERP 42 625449c685a4b39534f18869a93896370224463715Forest Bond// reference 802.11i 7.3.2 table 20 635449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_EID_RSN 48 645449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_EID_EXTSUPP_RATES 50 655449c685a4b39534f18869a93896370224463715Forest Bond// reference WiFi WPA spec. 665449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_EID_RSN_WPA 221 675449c685a4b39534f18869a93896370224463715Forest Bond 685449c685a4b39534f18869a93896370224463715Forest Bond 695449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_EID_ERP_NONERP_PRESENT 0x01 705449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_EID_ERP_USE_PROTECTION 0x02 715449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_EID_ERP_BARKER_MODE 0x04 725449c685a4b39534f18869a93896370224463715Forest Bond 735449c685a4b39534f18869a93896370224463715Forest Bond// Reason Codes 745449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_REASON_RSVD 0 755449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_REASON_UNSPEC 1 765449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_REASON_PRIOR_AUTH_INVALID 2 775449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_REASON_DEAUTH_LEAVING 3 785449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_REASON_DISASSOC_INACTIVE 4 795449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_REASON_DISASSOC_AP_BUSY 5 805449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_REASON_CLASS2_NONAUTH 6 815449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_REASON_CLASS3_NONASSOC 7 825449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_REASON_DISASSOC_STA_HASLEFT 8 835449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_REASON_CANT_ASSOC_NONAUTH 9 845449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_REASON_DISASSOC_PWR_CAP_UNACCEPT 10 855449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_REASON_DISASSOC_SUPP_CH_UNACCEPT 11 865449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_REASON_INVALID_IE 13 875449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_REASON_MIC_FAILURE 14 885449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_REASON_4WAY_HANDSHAKE_TIMEOUT 15 895449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_REASON_GRPKEY_UPDATE_TIMEOUT 16 905449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_REASON_4WAY_INFO_DIFFERENT 17 915449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_REASON_MULTCAST_CIPHER_INVALID 18 925449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_REASON_UNCAST_CIPHER_INVALID 19 935449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_REASON_AKMP_INVALID 20 945449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_REASON_RSNE_UNSUPPORTED 21 955449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_REASON_RSNE_CAP_INVALID 22 965449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_REASON_80211X_AUTH_FAILED 23 975449c685a4b39534f18869a93896370224463715Forest Bond 985449c685a4b39534f18869a93896370224463715Forest Bond// Status Codes 995449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_STATUS_SUCCESS 0 1005449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_STATUS_UNSPEC_FAILURE 1 1015449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_STATUS_CAPS_UNSUPPORTED 10 1025449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_STATUS_REASSOC_NO_ASSOC 11 1035449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_STATUS_ASSOC_DENIED_UNSPEC 12 1045449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_STATUS_UNSUPPORTED_AUTHALG 13 1055449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_STATUS_RX_AUTH_NOSEQ 14 1065449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_STATUS_CHALLENGE_FAIL 15 1075449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_STATUS_AUTH_TIMEOUT 16 1085449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_STATUS_ASSOC_DENIED_BUSY 17 1095449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_STATUS_ASSOC_DENIED_RATES 18 1105449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_STATUS_ASSOC_DENIED_SHORTPREAMBLE 19 1115449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_STATUS_ASSOC_DENIED_PBCC 20 1125449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_STATUS_ASSOC_DENIED_AGILITY 21 1135449c685a4b39534f18869a93896370224463715Forest Bond 1145449c685a4b39534f18869a93896370224463715Forest Bond// reference 802.11h 7.3.1.9 1155449c685a4b39534f18869a93896370224463715Forest Bond// 1165449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_STATUS_ASSOC_REJECT_BCS_SPECTRUM_MNG 22 1175449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_STATUS_ASSOC_REJECT_BCS_PWR_CAP 23 1185449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_STATUS_ASSOC_REJECT_BCS_SUPP_CH 24 1195449c685a4b39534f18869a93896370224463715Forest Bond// 1205449c685a4b39534f18869a93896370224463715Forest Bond// reference 802.11g 7.3.1.9 1215449c685a4b39534f18869a93896370224463715Forest Bond// 1225449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_STATUS_SHORTSLOTTIME_UNSUPPORTED 25 1235449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_STATUS_DSSSOFDM_UNSUPPORTED 26 1245449c685a4b39534f18869a93896370224463715Forest Bond// 1255449c685a4b39534f18869a93896370224463715Forest Bond// reference 802.11i 7.3.1.9 table 19 1265449c685a4b39534f18869a93896370224463715Forest Bond// 1275449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_STATUS_INVALID_IE 40 1285449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_STATUS_GROUP_CIPHER_INVALID 41 1295449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_STATUS_PAIRWISE_CIPHER_INVALID 42 1305449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_STATUS_AKMP_INVALID 43 1315449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_STATUS_UNSUPPORT_RSN_IE_VER 44 1325449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_STATUS_INVALID_RSN_IE_CAP 45 1335449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_MGMT_STATUS_CIPHER_REJECT 46 1345449c685a4b39534f18869a93896370224463715Forest Bond 1355449c685a4b39534f18869a93896370224463715Forest Bond 1365449c685a4b39534f18869a93896370224463715Forest Bond 1375449c685a4b39534f18869a93896370224463715Forest Bond// Auth Algorithm 1385449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_AUTH_ALG_OPENSYSTEM 0 1395449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_AUTH_ALG_SHAREDKEY 1 1405449c685a4b39534f18869a93896370224463715Forest Bond 1415449c685a4b39534f18869a93896370224463715Forest Bond 1425449c685a4b39534f18869a93896370224463715Forest Bond 1435449c685a4b39534f18869a93896370224463715Forest Bond// Management Frame Field Offsets 1445449c685a4b39534f18869a93896370224463715Forest Bond// Note: Not all fields are listed because of variable lengths. 1455449c685a4b39534f18869a93896370224463715Forest Bond// Note: These offsets are from the start of the frame data 1465449c685a4b39534f18869a93896370224463715Forest Bond 1475449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_BEACON_OFF_TS 0 1485449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_BEACON_OFF_BCN_INT 8 1495449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_BEACON_OFF_CAPINFO 10 1505449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_BEACON_OFF_SSID 12 1515449c685a4b39534f18869a93896370224463715Forest Bond 1525449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_DISASSOC_OFF_REASON 0 1535449c685a4b39534f18869a93896370224463715Forest Bond 1545449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_ASSOCREQ_OFF_CAP_INFO 0 1555449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_ASSOCREQ_OFF_LISTEN_INT 2 1565449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_ASSOCREQ_OFF_SSID 4 1575449c685a4b39534f18869a93896370224463715Forest Bond 1585449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_ASSOCRESP_OFF_CAP_INFO 0 1595449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_ASSOCRESP_OFF_STATUS 2 1605449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_ASSOCRESP_OFF_AID 4 1615449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_ASSOCRESP_OFF_SUPP_RATES 6 1625449c685a4b39534f18869a93896370224463715Forest Bond 1635449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_REASSOCREQ_OFF_CAP_INFO 0 1645449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_REASSOCREQ_OFF_LISTEN_INT 2 1655449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_REASSOCREQ_OFF_CURR_AP 4 1665449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_REASSOCREQ_OFF_SSID 10 1675449c685a4b39534f18869a93896370224463715Forest Bond 1685449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_REASSOCRESP_OFF_CAP_INFO 0 1695449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_REASSOCRESP_OFF_STATUS 2 1705449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_REASSOCRESP_OFF_AID 4 1715449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_REASSOCRESP_OFF_SUPP_RATES 6 1725449c685a4b39534f18869a93896370224463715Forest Bond 1735449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_PROBEREQ_OFF_SSID 0 1745449c685a4b39534f18869a93896370224463715Forest Bond 1755449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_PROBERESP_OFF_TS 0 1765449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_PROBERESP_OFF_BCN_INT 8 1775449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_PROBERESP_OFF_CAP_INFO 10 1785449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_PROBERESP_OFF_SSID 12 1795449c685a4b39534f18869a93896370224463715Forest Bond 1805449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_AUTHEN_OFF_AUTH_ALG 0 1815449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_AUTHEN_OFF_AUTH_SEQ 2 1825449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_AUTHEN_OFF_STATUS 4 1835449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_AUTHEN_OFF_CHALLENGE 6 1845449c685a4b39534f18869a93896370224463715Forest Bond 1855449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_DEAUTHEN_OFF_REASON 0 1865449c685a4b39534f18869a93896370224463715Forest Bond 1875449c685a4b39534f18869a93896370224463715Forest Bond 1885449c685a4b39534f18869a93896370224463715Forest Bond// 1895449c685a4b39534f18869a93896370224463715Forest Bond// Cipher Suite Selectors defiened in 802.11i 1905449c685a4b39534f18869a93896370224463715Forest Bond// 1915449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_11i_CSS_USE_GROUP 0 1925449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_11i_CSS_WEP40 1 1935449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_11i_CSS_TKIP 2 1945449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_11i_CSS_CCMP 4 1955449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_11i_CSS_WEP104 5 1965449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_11i_CSS_UNKNOWN 255 1975449c685a4b39534f18869a93896370224463715Forest Bond 1985449c685a4b39534f18869a93896370224463715Forest Bond// 1995449c685a4b39534f18869a93896370224463715Forest Bond// Authentication and Key Management Suite Selectors defined in 802.11i 2005449c685a4b39534f18869a93896370224463715Forest Bond// 2015449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_11i_AKMSS_802_1X 1 2025449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_11i_AKMSS_PSK 2 2035449c685a4b39534f18869a93896370224463715Forest Bond#define WLAN_11i_AKMSS_UNKNOWN 255 2045449c685a4b39534f18869a93896370224463715Forest Bond 2055449c685a4b39534f18869a93896370224463715Forest Bond// Measurement type definitions reference ieee 802.11h Table 20b 2065449c685a4b39534f18869a93896370224463715Forest Bond#define MEASURE_TYPE_BASIC 0 2075449c685a4b39534f18869a93896370224463715Forest Bond#define MEASURE_TYPE_CCA 1 2085449c685a4b39534f18869a93896370224463715Forest Bond#define MEASURE_TYPE_RPI 2 2095449c685a4b39534f18869a93896370224463715Forest Bond 2105449c685a4b39534f18869a93896370224463715Forest Bond// Measurement request mode definitions reference ieee 802.11h Figure 46h 2115449c685a4b39534f18869a93896370224463715Forest Bond#define MEASURE_MODE_ENABLE 0x02 2125449c685a4b39534f18869a93896370224463715Forest Bond#define MEASURE_MODE_REQ 0x04 2135449c685a4b39534f18869a93896370224463715Forest Bond#define MEASURE_MODE_REP 0x08 2145449c685a4b39534f18869a93896370224463715Forest Bond 2155449c685a4b39534f18869a93896370224463715Forest Bond// Measurement report mode definitions reference ieee 802.11h Figure 46m 2165449c685a4b39534f18869a93896370224463715Forest Bond#define MEASURE_MODE_LATE 0x01 2175449c685a4b39534f18869a93896370224463715Forest Bond#define MEASURE_MODE_INCAPABLE 0x02 2185449c685a4b39534f18869a93896370224463715Forest Bond#define MEASURE_MODE_REFUSED 0x04 2195449c685a4b39534f18869a93896370224463715Forest Bond 2205449c685a4b39534f18869a93896370224463715Forest Bond 2215449c685a4b39534f18869a93896370224463715Forest Bond 2225449c685a4b39534f18869a93896370224463715Forest Bond/*--------------------- Export Classes ----------------------------*/ 2235449c685a4b39534f18869a93896370224463715Forest Bond 2245449c685a4b39534f18869a93896370224463715Forest Bond/*--------------------- Export Variables --------------------------*/ 2255449c685a4b39534f18869a93896370224463715Forest Bond 2265449c685a4b39534f18869a93896370224463715Forest Bond/*--------------------- Export Types ------------------------------*/ 2275449c685a4b39534f18869a93896370224463715Forest Bond 2285449c685a4b39534f18869a93896370224463715Forest Bond 2295449c685a4b39534f18869a93896370224463715Forest Bond// Information Element Types 2305449c685a4b39534f18869a93896370224463715Forest Bond 2315449c685a4b39534f18869a93896370224463715Forest Bond#pragma pack(1) 2325449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct tagWLAN_IE { 2333fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byElementID; 2343fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char len; 2355449c685a4b39534f18869a93896370224463715Forest Bond}__attribute__ ((__packed__)) 2365449c685a4b39534f18869a93896370224463715Forest BondWLAN_IE, *PWLAN_IE; 2375449c685a4b39534f18869a93896370224463715Forest Bond 2385449c685a4b39534f18869a93896370224463715Forest Bond 2395449c685a4b39534f18869a93896370224463715Forest Bond// Service Set Identity (SSID) 2405449c685a4b39534f18869a93896370224463715Forest Bond#pragma pack(1) 2415449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct tagWLAN_IE_SSID { 2423fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byElementID; 2433fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char len; 2443fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char abySSID[1]; 2455449c685a4b39534f18869a93896370224463715Forest Bond}__attribute__ ((__packed__)) 2465449c685a4b39534f18869a93896370224463715Forest BondWLAN_IE_SSID, *PWLAN_IE_SSID; 2475449c685a4b39534f18869a93896370224463715Forest Bond 2485449c685a4b39534f18869a93896370224463715Forest Bond 2495449c685a4b39534f18869a93896370224463715Forest Bond// Supported Rates 2505449c685a4b39534f18869a93896370224463715Forest Bond#pragma pack(1) 2515449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct tagWLAN_IE_SUPP_RATES { 2523fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byElementID; 2533fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char len; 2543fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char abyRates[1]; 2555449c685a4b39534f18869a93896370224463715Forest Bond}__attribute__ ((__packed__)) 2565449c685a4b39534f18869a93896370224463715Forest BondWLAN_IE_SUPP_RATES, *PWLAN_IE_SUPP_RATES; 2575449c685a4b39534f18869a93896370224463715Forest Bond 2585449c685a4b39534f18869a93896370224463715Forest Bond 2595449c685a4b39534f18869a93896370224463715Forest Bond 2605449c685a4b39534f18869a93896370224463715Forest Bond// FH Parameter Set 2615449c685a4b39534f18869a93896370224463715Forest Bond#pragma pack(1) 2625449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct _WLAN_IE_FH_PARMS { 2633fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byElementID; 2643fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char len; 2652986db5fd31e312206d3ebfa4786aac04bdbe486Charles Clément unsigned short wDwellTime; 2663fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byHopSet; 2673fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byHopPattern; 2683fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byHopIndex; 2695449c685a4b39534f18869a93896370224463715Forest Bond} WLAN_IE_FH_PARMS, *PWLAN_IE_FH_PARMS; 2705449c685a4b39534f18869a93896370224463715Forest Bond 2715449c685a4b39534f18869a93896370224463715Forest Bond// DS Parameter Set 2725449c685a4b39534f18869a93896370224463715Forest Bond#pragma pack(1) 2735449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct tagWLAN_IE_DS_PARMS { 2743fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byElementID; 2753fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char len; 2763fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byCurrChannel; 2775449c685a4b39534f18869a93896370224463715Forest Bond}__attribute__ ((__packed__)) 2785449c685a4b39534f18869a93896370224463715Forest BondWLAN_IE_DS_PARMS, *PWLAN_IE_DS_PARMS; 2795449c685a4b39534f18869a93896370224463715Forest Bond 2805449c685a4b39534f18869a93896370224463715Forest Bond 2815449c685a4b39534f18869a93896370224463715Forest Bond// CF Parameter Set 2825449c685a4b39534f18869a93896370224463715Forest Bond#pragma pack(1) 2835449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct tagWLAN_IE_CF_PARMS { 2843fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byElementID; 2853fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char len; 2863fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byCFPCount; 2873fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byCFPPeriod; 2882986db5fd31e312206d3ebfa4786aac04bdbe486Charles Clément unsigned short wCFPMaxDuration; 2892986db5fd31e312206d3ebfa4786aac04bdbe486Charles Clément unsigned short wCFPDurRemaining; 2905449c685a4b39534f18869a93896370224463715Forest Bond}__attribute__ ((__packed__)) 2915449c685a4b39534f18869a93896370224463715Forest BondWLAN_IE_CF_PARMS, *PWLAN_IE_CF_PARMS; 2925449c685a4b39534f18869a93896370224463715Forest Bond 2935449c685a4b39534f18869a93896370224463715Forest Bond 2945449c685a4b39534f18869a93896370224463715Forest Bond// TIM 2955449c685a4b39534f18869a93896370224463715Forest Bond#pragma pack(1) 2965449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct tagWLAN_IE_TIM { 2973fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byElementID; 2983fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char len; 2993fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byDTIMCount; 3003fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byDTIMPeriod; 3013fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byBitMapCtl; 3023fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byVirtBitMap[1]; 3035449c685a4b39534f18869a93896370224463715Forest Bond}__attribute__ ((__packed__)) 3045449c685a4b39534f18869a93896370224463715Forest BondWLAN_IE_TIM, *PWLAN_IE_TIM; 3055449c685a4b39534f18869a93896370224463715Forest Bond 3065449c685a4b39534f18869a93896370224463715Forest Bond 3075449c685a4b39534f18869a93896370224463715Forest Bond// IBSS Parameter Set 3085449c685a4b39534f18869a93896370224463715Forest Bond#pragma pack(1) 3095449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct tagWLAN_IE_IBSS_PARMS { 3103fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byElementID; 3113fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char len; 3122986db5fd31e312206d3ebfa4786aac04bdbe486Charles Clément unsigned short wATIMWindow; 3135449c685a4b39534f18869a93896370224463715Forest Bond}__attribute__ ((__packed__)) 3145449c685a4b39534f18869a93896370224463715Forest BondWLAN_IE_IBSS_PARMS, *PWLAN_IE_IBSS_PARMS; 3155449c685a4b39534f18869a93896370224463715Forest Bond 3165449c685a4b39534f18869a93896370224463715Forest Bond 3175449c685a4b39534f18869a93896370224463715Forest Bond// Challenge Text 3185449c685a4b39534f18869a93896370224463715Forest Bond#pragma pack(1) 3195449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct tagWLAN_IE_CHALLENGE { 3203fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byElementID; 3213fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char len; 3223fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char abyChallenge[1]; 3235449c685a4b39534f18869a93896370224463715Forest Bond}__attribute__ ((__packed__)) 3245449c685a4b39534f18869a93896370224463715Forest BondWLAN_IE_CHALLENGE, *PWLAN_IE_CHALLENGE; 3255449c685a4b39534f18869a93896370224463715Forest Bond 3265449c685a4b39534f18869a93896370224463715Forest Bond 3275449c685a4b39534f18869a93896370224463715Forest Bond#pragma pack(1) 3285449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct tagWLAN_IE_RSN_EXT { 3293fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byElementID; 3303fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char len; 3313fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char abyOUI[4]; 3322986db5fd31e312206d3ebfa4786aac04bdbe486Charles Clément unsigned short wVersion; 3333fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char abyMulticast[4]; 3342986db5fd31e312206d3ebfa4786aac04bdbe486Charles Clément unsigned short wPKCount; 3355449c685a4b39534f18869a93896370224463715Forest Bond struct { 3363fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char abyOUI[4]; 3375449c685a4b39534f18869a93896370224463715Forest Bond } PKSList[1]; // the rest is variable so need to 3385449c685a4b39534f18869a93896370224463715Forest Bond // overlay ieauth structure 3395449c685a4b39534f18869a93896370224463715Forest Bond} WLAN_IE_RSN_EXT, *PWLAN_IE_RSN_EXT; 3405449c685a4b39534f18869a93896370224463715Forest Bond 3415449c685a4b39534f18869a93896370224463715Forest Bond#pragma pack(1) 3425449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct tagWLAN_IE_RSN_AUTH { 3432986db5fd31e312206d3ebfa4786aac04bdbe486Charles Clément unsigned short wAuthCount; 3445449c685a4b39534f18869a93896370224463715Forest Bond struct { 3453fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char abyOUI[4]; 3465449c685a4b39534f18869a93896370224463715Forest Bond } AuthKSList[1]; 3475449c685a4b39534f18869a93896370224463715Forest Bond} WLAN_IE_RSN_AUTH, *PWLAN_IE_RSN_AUTH; 3485449c685a4b39534f18869a93896370224463715Forest Bond 3495449c685a4b39534f18869a93896370224463715Forest Bond// RSN Identity 3505449c685a4b39534f18869a93896370224463715Forest Bond#pragma pack(1) 3515449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct tagWLAN_IE_RSN { 3523fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byElementID; 3533fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char len; 3542986db5fd31e312206d3ebfa4786aac04bdbe486Charles Clément unsigned short wVersion; 3553fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char abyRSN[WLAN_MIN_ARRAY]; 3565449c685a4b39534f18869a93896370224463715Forest Bond} WLAN_IE_RSN, *PWLAN_IE_RSN; 3575449c685a4b39534f18869a93896370224463715Forest Bond 3585449c685a4b39534f18869a93896370224463715Forest Bond 3595449c685a4b39534f18869a93896370224463715Forest Bond// ERP 3605449c685a4b39534f18869a93896370224463715Forest Bond#pragma pack(1) 3615449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct tagWLAN_IE_ERP { 3623fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byElementID; 3633fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char len; 3643fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byContext; 3655449c685a4b39534f18869a93896370224463715Forest Bond}__attribute__ ((__packed__)) 3665449c685a4b39534f18869a93896370224463715Forest BondWLAN_IE_ERP, *PWLAN_IE_ERP; 3675449c685a4b39534f18869a93896370224463715Forest Bond 3685449c685a4b39534f18869a93896370224463715Forest Bond 3695449c685a4b39534f18869a93896370224463715Forest Bond#pragma pack(1) 3705449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct _MEASEURE_REQ { 3713fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byChannel; 3723fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char abyStartTime[8]; 3733fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char abyDuration[2]; 3745449c685a4b39534f18869a93896370224463715Forest Bond} MEASEURE_REQ, *PMEASEURE_REQ, 3755449c685a4b39534f18869a93896370224463715Forest Bond MEASEURE_REQ_BASIC, *PMEASEURE_REQ_BASIC, 3765449c685a4b39534f18869a93896370224463715Forest Bond MEASEURE_REQ_CCA, *PMEASEURE_REQ_CCA, 3775449c685a4b39534f18869a93896370224463715Forest Bond MEASEURE_REQ_RPI, *PMEASEURE_REQ_RPI; 3785449c685a4b39534f18869a93896370224463715Forest Bond 3795449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct _MEASEURE_REP_BASIC { 3803fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byChannel; 3813fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char abyStartTime[8]; 3823fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char abyDuration[2]; 3833fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byMap; 3845449c685a4b39534f18869a93896370224463715Forest Bond} MEASEURE_REP_BASIC, *PMEASEURE_REP_BASIC; 3855449c685a4b39534f18869a93896370224463715Forest Bond 3865449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct _MEASEURE_REP_CCA { 3873fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byChannel; 3883fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char abyStartTime[8]; 3893fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char abyDuration[2]; 3903fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byCCABusyFraction; 3915449c685a4b39534f18869a93896370224463715Forest Bond} MEASEURE_REP_CCA, *PMEASEURE_REP_CCA; 3925449c685a4b39534f18869a93896370224463715Forest Bond 3935449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct _MEASEURE_REP_RPI { 3943fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byChannel; 3953fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char abyStartTime[8]; 3963fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char abyDuration[2]; 3973fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char abyRPIdensity[8]; 3985449c685a4b39534f18869a93896370224463715Forest Bond} MEASEURE_REP_RPI, *PMEASEURE_REP_RPI; 3995449c685a4b39534f18869a93896370224463715Forest Bond 4005449c685a4b39534f18869a93896370224463715Forest Bondtypedef union _MEASEURE_REP { 4015449c685a4b39534f18869a93896370224463715Forest Bond 4025449c685a4b39534f18869a93896370224463715Forest Bond MEASEURE_REP_BASIC sBasic; 4035449c685a4b39534f18869a93896370224463715Forest Bond MEASEURE_REP_CCA sCCA; 4045449c685a4b39534f18869a93896370224463715Forest Bond MEASEURE_REP_RPI sRPI; 4055449c685a4b39534f18869a93896370224463715Forest Bond 4065449c685a4b39534f18869a93896370224463715Forest Bond} MEASEURE_REP, *PMEASEURE_REP; 4075449c685a4b39534f18869a93896370224463715Forest Bond 4085449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct _WLAN_IE_MEASURE_REQ { 4093fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byElementID; 4103fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char len; 4113fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byToken; 4123fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byMode; 4133fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byType; 4145449c685a4b39534f18869a93896370224463715Forest Bond MEASEURE_REQ sReq; 4155449c685a4b39534f18869a93896370224463715Forest Bond} WLAN_IE_MEASURE_REQ, *PWLAN_IE_MEASURE_REQ; 4165449c685a4b39534f18869a93896370224463715Forest Bond 4175449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct _WLAN_IE_MEASURE_REP { 4183fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byElementID; 4193fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char len; 4203fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byToken; 4213fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byMode; 4223fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byType; 4235449c685a4b39534f18869a93896370224463715Forest Bond MEASEURE_REP sRep; 4245449c685a4b39534f18869a93896370224463715Forest Bond} WLAN_IE_MEASURE_REP, *PWLAN_IE_MEASURE_REP; 4255449c685a4b39534f18869a93896370224463715Forest Bond 4265449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct _WLAN_IE_CH_SW { 4273fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byElementID; 4283fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char len; 4293fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byMode; 4303fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byChannel; 4313fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byCount; 4325449c685a4b39534f18869a93896370224463715Forest Bond} WLAN_IE_CH_SW, *PWLAN_IE_CH_SW; 4335449c685a4b39534f18869a93896370224463715Forest Bond 4345449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct _WLAN_IE_QUIET { 4353fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byElementID; 4363fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char len; 4373fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byQuietCount; 4383fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byQuietPeriod; 4393fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char abyQuietDuration[2]; 4403fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char abyQuietOffset[2]; 4415449c685a4b39534f18869a93896370224463715Forest Bond} WLAN_IE_QUIET, *PWLAN_IE_QUIET; 4425449c685a4b39534f18869a93896370224463715Forest Bond 4435449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct _WLAN_IE_COUNTRY { 4443fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byElementID; 4453fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char len; 4463fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char abyCountryString[3]; 4473fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char abyCountryInfo[3]; 4485449c685a4b39534f18869a93896370224463715Forest Bond} WLAN_IE_COUNTRY, *PWLAN_IE_COUNTRY; 4495449c685a4b39534f18869a93896370224463715Forest Bond 4505449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct _WLAN_IE_PW_CONST { 4513fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byElementID; 4523fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char len; 4533fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byPower; 4545449c685a4b39534f18869a93896370224463715Forest Bond} WLAN_IE_PW_CONST, *PWLAN_IE_PW_CONST; 4555449c685a4b39534f18869a93896370224463715Forest Bond 4565449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct _WLAN_IE_PW_CAP { 4573fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byElementID; 4583fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char len; 4593fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byMinPower; 4603fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byMaxPower; 4615449c685a4b39534f18869a93896370224463715Forest Bond} WLAN_IE_PW_CAP, *PWLAN_IE_PW_CAP; 4625449c685a4b39534f18869a93896370224463715Forest Bond 4635449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct _WLAN_IE_SUPP_CH { 4643fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byElementID; 4653fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char len; 4663fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char abyChannelTuple[2]; 4675449c685a4b39534f18869a93896370224463715Forest Bond} WLAN_IE_SUPP_CH, *PWLAN_IE_SUPP_CH; 4685449c685a4b39534f18869a93896370224463715Forest Bond 4695449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct _WLAN_IE_TPC_REQ { 4703fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byElementID; 4713fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char len; 4725449c685a4b39534f18869a93896370224463715Forest Bond} WLAN_IE_TPC_REQ, *PWLAN_IE_TPC_REQ; 4735449c685a4b39534f18869a93896370224463715Forest Bond 4745449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct _WLAN_IE_TPC_REP { 4753fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byElementID; 4763fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char len; 4773fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byTxPower; 4783fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byLinkMargin; 4795449c685a4b39534f18869a93896370224463715Forest Bond} WLAN_IE_TPC_REP, *PWLAN_IE_TPC_REP; 4805449c685a4b39534f18869a93896370224463715Forest Bond 4815449c685a4b39534f18869a93896370224463715Forest Bond 4825449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct _WLAN_IE_IBSS_DFS { 4833fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byElementID; 4843fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char len; 4853fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char abyDFSOwner[6]; 4863fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char byDFSRecovery; 4873fc9b584c28095fe0d46cfb8bddafdf93947042eCharles Clément unsigned char abyChannelMap[2]; 4885449c685a4b39534f18869a93896370224463715Forest Bond} WLAN_IE_IBSS_DFS, *PWLAN_IE_IBSS_DFS; 4895449c685a4b39534f18869a93896370224463715Forest Bond 4905449c685a4b39534f18869a93896370224463715Forest Bond#pragma pack() 4915449c685a4b39534f18869a93896370224463715Forest Bond 4925449c685a4b39534f18869a93896370224463715Forest Bond 4935449c685a4b39534f18869a93896370224463715Forest Bond 4945449c685a4b39534f18869a93896370224463715Forest Bond// Frame Types 4955449c685a4b39534f18869a93896370224463715Forest Bond// prototype structure, all mgmt frame types will start with these members 4965449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct tagWLAN_FR_MGMT { 4975449c685a4b39534f18869a93896370224463715Forest Bond 498b6e95cd52a81079abc1def7867e27bf541953089Charles Clément unsigned int uType; 499b6e95cd52a81079abc1def7867e27bf541953089Charles Clément unsigned int len; 5002989e96f17f2dcbd73aee37856899c2885df0686Charles Clément unsigned char *pBuf; 5015449c685a4b39534f18869a93896370224463715Forest Bond PUWLAN_80211HDR pHdr; 5025449c685a4b39534f18869a93896370224463715Forest Bond 5035449c685a4b39534f18869a93896370224463715Forest Bond} WLAN_FR_MGMT, *PWLAN_FR_MGMT; 5045449c685a4b39534f18869a93896370224463715Forest Bond 5055449c685a4b39534f18869a93896370224463715Forest Bond// Beacon frame 5065449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct tagWLAN_FR_BEACON { 5075449c685a4b39534f18869a93896370224463715Forest Bond 508b6e95cd52a81079abc1def7867e27bf541953089Charles Clément unsigned int uType; 509b6e95cd52a81079abc1def7867e27bf541953089Charles Clément unsigned int len; 5102989e96f17f2dcbd73aee37856899c2885df0686Charles Clément unsigned char *pBuf; 5115449c685a4b39534f18869a93896370224463715Forest Bond PUWLAN_80211HDR pHdr; 5125449c685a4b39534f18869a93896370224463715Forest Bond // fixed fields 5135449c685a4b39534f18869a93896370224463715Forest Bond PQWORD pqwTimestamp; 51415df6c2b922de3088203ad90347a30d31ccca67eCharles Clément unsigned short *pwBeaconInterval; 51515df6c2b922de3088203ad90347a30d31ccca67eCharles Clément unsigned short *pwCapInfo; 5165449c685a4b39534f18869a93896370224463715Forest Bond /*-- info elements ----------*/ 5175449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_SSID pSSID; 5185449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_SUPP_RATES pSuppRates; 5195449c685a4b39534f18869a93896370224463715Forest Bond// PWLAN_IE_FH_PARMS pFHParms; 5205449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_DS_PARMS pDSParms; 5215449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_CF_PARMS pCFParms; 5225449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_TIM pTIM; 5235449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_IBSS_PARMS pIBSSParms; 5245449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_RSN pRSN; 5255449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_RSN_EXT pRSNWPA; 5265449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_ERP pERP; 5275449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_SUPP_RATES pExtSuppRates; 5285449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_COUNTRY pIE_Country; 5295449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_PW_CONST pIE_PowerConstraint; 5305449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_CH_SW pIE_CHSW; 5315449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_IBSS_DFS pIE_IBSSDFS; 5325449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_QUIET pIE_Quiet; 5335449c685a4b39534f18869a93896370224463715Forest Bond 5345449c685a4b39534f18869a93896370224463715Forest Bond} WLAN_FR_BEACON, *PWLAN_FR_BEACON; 5355449c685a4b39534f18869a93896370224463715Forest Bond 5365449c685a4b39534f18869a93896370224463715Forest Bond 5375449c685a4b39534f18869a93896370224463715Forest Bond// IBSS ATIM frame 5385449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct tagWLAN_FR_IBSSATIM { 5395449c685a4b39534f18869a93896370224463715Forest Bond 540b6e95cd52a81079abc1def7867e27bf541953089Charles Clément unsigned int uType; 541b6e95cd52a81079abc1def7867e27bf541953089Charles Clément unsigned int len; 5422989e96f17f2dcbd73aee37856899c2885df0686Charles Clément unsigned char *pBuf; 5435449c685a4b39534f18869a93896370224463715Forest Bond PUWLAN_80211HDR pHdr; 5445449c685a4b39534f18869a93896370224463715Forest Bond 5455449c685a4b39534f18869a93896370224463715Forest Bond // fixed fields 5465449c685a4b39534f18869a93896370224463715Forest Bond // info elements 5475449c685a4b39534f18869a93896370224463715Forest Bond // this frame type has a null body 5485449c685a4b39534f18869a93896370224463715Forest Bond 5495449c685a4b39534f18869a93896370224463715Forest Bond} WLAN_FR_IBSSATIM, *PWLAN_FR_IBSSATIM; 5505449c685a4b39534f18869a93896370224463715Forest Bond 5515449c685a4b39534f18869a93896370224463715Forest Bond// Disassociation 5525449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct tagWLAN_FR_DISASSOC { 5535449c685a4b39534f18869a93896370224463715Forest Bond 554b6e95cd52a81079abc1def7867e27bf541953089Charles Clément unsigned int uType; 555b6e95cd52a81079abc1def7867e27bf541953089Charles Clément unsigned int len; 5562989e96f17f2dcbd73aee37856899c2885df0686Charles Clément unsigned char *pBuf; 5575449c685a4b39534f18869a93896370224463715Forest Bond PUWLAN_80211HDR pHdr; 5585449c685a4b39534f18869a93896370224463715Forest Bond /*-- fixed fields -----------*/ 55915df6c2b922de3088203ad90347a30d31ccca67eCharles Clément unsigned short *pwReason; 5605449c685a4b39534f18869a93896370224463715Forest Bond /*-- info elements ----------*/ 5615449c685a4b39534f18869a93896370224463715Forest Bond 5625449c685a4b39534f18869a93896370224463715Forest Bond} WLAN_FR_DISASSOC, *PWLAN_FR_DISASSOC; 5635449c685a4b39534f18869a93896370224463715Forest Bond 5645449c685a4b39534f18869a93896370224463715Forest Bond// Association Request 5655449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct tagWLAN_FR_ASSOCREQ { 5665449c685a4b39534f18869a93896370224463715Forest Bond 567b6e95cd52a81079abc1def7867e27bf541953089Charles Clément unsigned int uType; 568b6e95cd52a81079abc1def7867e27bf541953089Charles Clément unsigned int len; 5692989e96f17f2dcbd73aee37856899c2885df0686Charles Clément unsigned char *pBuf; 5705449c685a4b39534f18869a93896370224463715Forest Bond PUWLAN_80211HDR pHdr; 5715449c685a4b39534f18869a93896370224463715Forest Bond /*-- fixed fields -----------*/ 57215df6c2b922de3088203ad90347a30d31ccca67eCharles Clément unsigned short *pwCapInfo; 57315df6c2b922de3088203ad90347a30d31ccca67eCharles Clément unsigned short *pwListenInterval; 5745449c685a4b39534f18869a93896370224463715Forest Bond /*-- info elements ----------*/ 5755449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_SSID pSSID; 5765449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_SUPP_RATES pSuppRates; 5775449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_RSN pRSN; 5785449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_RSN_EXT pRSNWPA; 5795449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_SUPP_RATES pExtSuppRates; 5805449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_PW_CAP pCurrPowerCap; 5815449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_SUPP_CH pCurrSuppCh; 5825449c685a4b39534f18869a93896370224463715Forest Bond 5835449c685a4b39534f18869a93896370224463715Forest Bond} WLAN_FR_ASSOCREQ, *PWLAN_FR_ASSOCREQ; 5845449c685a4b39534f18869a93896370224463715Forest Bond 5855449c685a4b39534f18869a93896370224463715Forest Bond// Association Response 5865449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct tagWLAN_FR_ASSOCRESP { 5875449c685a4b39534f18869a93896370224463715Forest Bond 588b6e95cd52a81079abc1def7867e27bf541953089Charles Clément unsigned int uType; 589b6e95cd52a81079abc1def7867e27bf541953089Charles Clément unsigned int len; 5902989e96f17f2dcbd73aee37856899c2885df0686Charles Clément unsigned char *pBuf; 5915449c685a4b39534f18869a93896370224463715Forest Bond PUWLAN_80211HDR pHdr; 5925449c685a4b39534f18869a93896370224463715Forest Bond /*-- fixed fields -----------*/ 59315df6c2b922de3088203ad90347a30d31ccca67eCharles Clément unsigned short *pwCapInfo; 59415df6c2b922de3088203ad90347a30d31ccca67eCharles Clément unsigned short *pwStatus; 59515df6c2b922de3088203ad90347a30d31ccca67eCharles Clément unsigned short *pwAid; 5965449c685a4b39534f18869a93896370224463715Forest Bond /*-- info elements ----------*/ 5975449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_SUPP_RATES pSuppRates; 5985449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_SUPP_RATES pExtSuppRates; 5995449c685a4b39534f18869a93896370224463715Forest Bond 6005449c685a4b39534f18869a93896370224463715Forest Bond} WLAN_FR_ASSOCRESP, *PWLAN_FR_ASSOCRESP; 6015449c685a4b39534f18869a93896370224463715Forest Bond 6025449c685a4b39534f18869a93896370224463715Forest Bond// Reassociation Request 6035449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct tagWLAN_FR_REASSOCREQ { 6045449c685a4b39534f18869a93896370224463715Forest Bond 605b6e95cd52a81079abc1def7867e27bf541953089Charles Clément unsigned int uType; 606b6e95cd52a81079abc1def7867e27bf541953089Charles Clément unsigned int len; 6072989e96f17f2dcbd73aee37856899c2885df0686Charles Clément unsigned char *pBuf; 6085449c685a4b39534f18869a93896370224463715Forest Bond PUWLAN_80211HDR pHdr; 6095449c685a4b39534f18869a93896370224463715Forest Bond 6105449c685a4b39534f18869a93896370224463715Forest Bond /*-- fixed fields -----------*/ 61115df6c2b922de3088203ad90347a30d31ccca67eCharles Clément unsigned short *pwCapInfo; 61215df6c2b922de3088203ad90347a30d31ccca67eCharles Clément unsigned short *pwListenInterval; 6135449c685a4b39534f18869a93896370224463715Forest Bond PIEEE_ADDR pAddrCurrAP; 6145449c685a4b39534f18869a93896370224463715Forest Bond 6155449c685a4b39534f18869a93896370224463715Forest Bond /*-- info elements ----------*/ 6165449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_SSID pSSID; 6175449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_SUPP_RATES pSuppRates; 6185449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_RSN pRSN; 6195449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_RSN_EXT pRSNWPA; 6205449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_SUPP_RATES pExtSuppRates; 6215449c685a4b39534f18869a93896370224463715Forest Bond 6225449c685a4b39534f18869a93896370224463715Forest Bond} WLAN_FR_REASSOCREQ, *PWLAN_FR_REASSOCREQ; 6235449c685a4b39534f18869a93896370224463715Forest Bond 6245449c685a4b39534f18869a93896370224463715Forest Bond// Reassociation Response 6255449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct tagWLAN_FR_REASSOCRESP { 6265449c685a4b39534f18869a93896370224463715Forest Bond 627b6e95cd52a81079abc1def7867e27bf541953089Charles Clément unsigned int uType; 628b6e95cd52a81079abc1def7867e27bf541953089Charles Clément unsigned int len; 6292989e96f17f2dcbd73aee37856899c2885df0686Charles Clément unsigned char *pBuf; 6305449c685a4b39534f18869a93896370224463715Forest Bond PUWLAN_80211HDR pHdr; 6315449c685a4b39534f18869a93896370224463715Forest Bond /*-- fixed fields -----------*/ 63215df6c2b922de3088203ad90347a30d31ccca67eCharles Clément unsigned short *pwCapInfo; 63315df6c2b922de3088203ad90347a30d31ccca67eCharles Clément unsigned short *pwStatus; 63415df6c2b922de3088203ad90347a30d31ccca67eCharles Clément unsigned short *pwAid; 6355449c685a4b39534f18869a93896370224463715Forest Bond /*-- info elements ----------*/ 6365449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_SUPP_RATES pSuppRates; 6375449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_SUPP_RATES pExtSuppRates; 6385449c685a4b39534f18869a93896370224463715Forest Bond 6395449c685a4b39534f18869a93896370224463715Forest Bond} WLAN_FR_REASSOCRESP, *PWLAN_FR_REASSOCRESP; 6405449c685a4b39534f18869a93896370224463715Forest Bond 6415449c685a4b39534f18869a93896370224463715Forest Bond// Probe Request 6425449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct tagWLAN_FR_PROBEREQ { 6435449c685a4b39534f18869a93896370224463715Forest Bond 644b6e95cd52a81079abc1def7867e27bf541953089Charles Clément unsigned int uType; 645b6e95cd52a81079abc1def7867e27bf541953089Charles Clément unsigned int len; 6462989e96f17f2dcbd73aee37856899c2885df0686Charles Clément unsigned char *pBuf; 6475449c685a4b39534f18869a93896370224463715Forest Bond PUWLAN_80211HDR pHdr; 6485449c685a4b39534f18869a93896370224463715Forest Bond /*-- fixed fields -----------*/ 6495449c685a4b39534f18869a93896370224463715Forest Bond /*-- info elements ----------*/ 6505449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_SSID pSSID; 6515449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_SUPP_RATES pSuppRates; 6525449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_SUPP_RATES pExtSuppRates; 6535449c685a4b39534f18869a93896370224463715Forest Bond 6545449c685a4b39534f18869a93896370224463715Forest Bond} WLAN_FR_PROBEREQ, *PWLAN_FR_PROBEREQ; 6555449c685a4b39534f18869a93896370224463715Forest Bond 6565449c685a4b39534f18869a93896370224463715Forest Bond// Probe Response 6575449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct tagWLAN_FR_PROBERESP { 6585449c685a4b39534f18869a93896370224463715Forest Bond 659b6e95cd52a81079abc1def7867e27bf541953089Charles Clément unsigned int uType; 660b6e95cd52a81079abc1def7867e27bf541953089Charles Clément unsigned int len; 6612989e96f17f2dcbd73aee37856899c2885df0686Charles Clément unsigned char *pBuf; 6625449c685a4b39534f18869a93896370224463715Forest Bond PUWLAN_80211HDR pHdr; 6635449c685a4b39534f18869a93896370224463715Forest Bond /*-- fixed fields -----------*/ 6645449c685a4b39534f18869a93896370224463715Forest Bond PQWORD pqwTimestamp; 66515df6c2b922de3088203ad90347a30d31ccca67eCharles Clément unsigned short *pwBeaconInterval; 66615df6c2b922de3088203ad90347a30d31ccca67eCharles Clément unsigned short *pwCapInfo; 6675449c685a4b39534f18869a93896370224463715Forest Bond /*-- info elements ----------*/ 6685449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_SSID pSSID; 6695449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_SUPP_RATES pSuppRates; 6705449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_DS_PARMS pDSParms; 6715449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_CF_PARMS pCFParms; 6725449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_IBSS_PARMS pIBSSParms; 6735449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_RSN pRSN; 6745449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_RSN_EXT pRSNWPA; 6755449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_ERP pERP; 6765449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_SUPP_RATES pExtSuppRates; 6775449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_COUNTRY pIE_Country; 6785449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_PW_CONST pIE_PowerConstraint; 6795449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_CH_SW pIE_CHSW; 6805449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_IBSS_DFS pIE_IBSSDFS; 6815449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_QUIET pIE_Quiet; 6825449c685a4b39534f18869a93896370224463715Forest Bond 6835449c685a4b39534f18869a93896370224463715Forest Bond} WLAN_FR_PROBERESP, *PWLAN_FR_PROBERESP; 6845449c685a4b39534f18869a93896370224463715Forest Bond 6855449c685a4b39534f18869a93896370224463715Forest Bond// Authentication 6865449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct tagWLAN_FR_AUTHEN { 6875449c685a4b39534f18869a93896370224463715Forest Bond 688b6e95cd52a81079abc1def7867e27bf541953089Charles Clément unsigned int uType; 689b6e95cd52a81079abc1def7867e27bf541953089Charles Clément unsigned int len; 6902989e96f17f2dcbd73aee37856899c2885df0686Charles Clément unsigned char *pBuf; 6915449c685a4b39534f18869a93896370224463715Forest Bond PUWLAN_80211HDR pHdr; 6925449c685a4b39534f18869a93896370224463715Forest Bond /*-- fixed fields -----------*/ 69315df6c2b922de3088203ad90347a30d31ccca67eCharles Clément unsigned short *pwAuthAlgorithm; 69415df6c2b922de3088203ad90347a30d31ccca67eCharles Clément unsigned short *pwAuthSequence; 69515df6c2b922de3088203ad90347a30d31ccca67eCharles Clément unsigned short *pwStatus; 6965449c685a4b39534f18869a93896370224463715Forest Bond /*-- info elements ----------*/ 6975449c685a4b39534f18869a93896370224463715Forest Bond PWLAN_IE_CHALLENGE pChallenge; 6985449c685a4b39534f18869a93896370224463715Forest Bond 6995449c685a4b39534f18869a93896370224463715Forest Bond} WLAN_FR_AUTHEN, *PWLAN_FR_AUTHEN; 7005449c685a4b39534f18869a93896370224463715Forest Bond 7015449c685a4b39534f18869a93896370224463715Forest Bond// Deauthenication 7025449c685a4b39534f18869a93896370224463715Forest Bondtypedef struct tagWLAN_FR_DEAUTHEN { 7035449c685a4b39534f18869a93896370224463715Forest Bond 704b6e95cd52a81079abc1def7867e27bf541953089Charles Clément unsigned int uType; 705b6e95cd52a81079abc1def7867e27bf541953089Charles Clément unsigned int len; 7062989e96f17f2dcbd73aee37856899c2885df0686Charles Clément unsigned char *pBuf; 7075449c685a4b39534f18869a93896370224463715Forest Bond PUWLAN_80211HDR pHdr; 7085449c685a4b39534f18869a93896370224463715Forest Bond /*-- fixed fields -----------*/ 70915df6c2b922de3088203ad90347a30d31ccca67eCharles Clément unsigned short *pwReason; 7105449c685a4b39534f18869a93896370224463715Forest Bond 7115449c685a4b39534f18869a93896370224463715Forest Bond /*-- info elements ----------*/ 7125449c685a4b39534f18869a93896370224463715Forest Bond 7135449c685a4b39534f18869a93896370224463715Forest Bond} WLAN_FR_DEAUTHEN, *PWLAN_FR_DEAUTHEN; 7145449c685a4b39534f18869a93896370224463715Forest Bond 7155449c685a4b39534f18869a93896370224463715Forest Bond/*--------------------- Export Functions --------------------------*/ 716a7ad322a46663755718a214a9a34e5cfe64d07f7Jim Lieb 7176b35b7b3798b652a57fbce480f350aac851431c4Charles Clémentvoid 7185449c685a4b39534f18869a93896370224463715Forest BondvMgrEncodeBeacon( 7193a215e0ff4184314f7f1a099354a272ddedff289Charles Clément PWLAN_FR_BEACON pFrame 7205449c685a4b39534f18869a93896370224463715Forest Bond ); 7215449c685a4b39534f18869a93896370224463715Forest Bond 7226b35b7b3798b652a57fbce480f350aac851431c4Charles Clémentvoid 7235449c685a4b39534f18869a93896370224463715Forest BondvMgrDecodeBeacon( 7243a215e0ff4184314f7f1a099354a272ddedff289Charles Clément PWLAN_FR_BEACON pFrame 7255449c685a4b39534f18869a93896370224463715Forest Bond ); 7265449c685a4b39534f18869a93896370224463715Forest Bond 7276b35b7b3798b652a57fbce480f350aac851431c4Charles Clémentvoid 7285449c685a4b39534f18869a93896370224463715Forest BondvMgrEncodeIBSSATIM( 7293a215e0ff4184314f7f1a099354a272ddedff289Charles Clément PWLAN_FR_IBSSATIM pFrame 7305449c685a4b39534f18869a93896370224463715Forest Bond ); 7315449c685a4b39534f18869a93896370224463715Forest Bond 7326b35b7b3798b652a57fbce480f350aac851431c4Charles Clémentvoid 7335449c685a4b39534f18869a93896370224463715Forest BondvMgrDecodeIBSSATIM( 7343a215e0ff4184314f7f1a099354a272ddedff289Charles Clément PWLAN_FR_IBSSATIM pFrame 7355449c685a4b39534f18869a93896370224463715Forest Bond ); 7365449c685a4b39534f18869a93896370224463715Forest Bond 7376b35b7b3798b652a57fbce480f350aac851431c4Charles Clémentvoid 7385449c685a4b39534f18869a93896370224463715Forest BondvMgrEncodeDisassociation( 7393a215e0ff4184314f7f1a099354a272ddedff289Charles Clément PWLAN_FR_DISASSOC pFrame 7405449c685a4b39534f18869a93896370224463715Forest Bond ); 7415449c685a4b39534f18869a93896370224463715Forest Bond 7426b35b7b3798b652a57fbce480f350aac851431c4Charles Clémentvoid 7435449c685a4b39534f18869a93896370224463715Forest BondvMgrDecodeDisassociation( 7443a215e0ff4184314f7f1a099354a272ddedff289Charles Clément PWLAN_FR_DISASSOC pFrame 7455449c685a4b39534f18869a93896370224463715Forest Bond ); 7465449c685a4b39534f18869a93896370224463715Forest Bond 7476b35b7b3798b652a57fbce480f350aac851431c4Charles Clémentvoid 7485449c685a4b39534f18869a93896370224463715Forest BondvMgrEncodeAssocRequest( 7493a215e0ff4184314f7f1a099354a272ddedff289Charles Clément PWLAN_FR_ASSOCREQ pFrame 7505449c685a4b39534f18869a93896370224463715Forest Bond ); 7515449c685a4b39534f18869a93896370224463715Forest Bond 7526b35b7b3798b652a57fbce480f350aac851431c4Charles Clémentvoid 7535449c685a4b39534f18869a93896370224463715Forest BondvMgrDecodeAssocRequest( 7543a215e0ff4184314f7f1a099354a272ddedff289Charles Clément PWLAN_FR_ASSOCREQ pFrame 7555449c685a4b39534f18869a93896370224463715Forest Bond ); 7565449c685a4b39534f18869a93896370224463715Forest Bond 7576b35b7b3798b652a57fbce480f350aac851431c4Charles Clémentvoid 7585449c685a4b39534f18869a93896370224463715Forest BondvMgrEncodeAssocResponse( 7593a215e0ff4184314f7f1a099354a272ddedff289Charles Clément PWLAN_FR_ASSOCRESP pFrame 7605449c685a4b39534f18869a93896370224463715Forest Bond ); 7615449c685a4b39534f18869a93896370224463715Forest Bond 7626b35b7b3798b652a57fbce480f350aac851431c4Charles Clémentvoid 7635449c685a4b39534f18869a93896370224463715Forest BondvMgrDecodeAssocResponse( 7643a215e0ff4184314f7f1a099354a272ddedff289Charles Clément PWLAN_FR_ASSOCRESP pFrame 7655449c685a4b39534f18869a93896370224463715Forest Bond ); 7665449c685a4b39534f18869a93896370224463715Forest Bond 7676b35b7b3798b652a57fbce480f350aac851431c4Charles Clémentvoid 7685449c685a4b39534f18869a93896370224463715Forest BondvMgrEncodeReassocRequest( 7693a215e0ff4184314f7f1a099354a272ddedff289Charles Clément PWLAN_FR_REASSOCREQ pFrame 7705449c685a4b39534f18869a93896370224463715Forest Bond ); 7715449c685a4b39534f18869a93896370224463715Forest Bond 7726b35b7b3798b652a57fbce480f350aac851431c4Charles Clémentvoid 7735449c685a4b39534f18869a93896370224463715Forest BondvMgrDecodeReassocRequest( 7743a215e0ff4184314f7f1a099354a272ddedff289Charles Clément PWLAN_FR_REASSOCREQ pFrame 7755449c685a4b39534f18869a93896370224463715Forest Bond ); 7765449c685a4b39534f18869a93896370224463715Forest Bond 7776b35b7b3798b652a57fbce480f350aac851431c4Charles Clémentvoid 7785449c685a4b39534f18869a93896370224463715Forest BondvMgrEncodeProbeRequest( 7793a215e0ff4184314f7f1a099354a272ddedff289Charles Clément PWLAN_FR_PROBEREQ pFrame 7805449c685a4b39534f18869a93896370224463715Forest Bond ); 7815449c685a4b39534f18869a93896370224463715Forest Bond 7826b35b7b3798b652a57fbce480f350aac851431c4Charles Clémentvoid 7835449c685a4b39534f18869a93896370224463715Forest BondvMgrDecodeProbeRequest( 7843a215e0ff4184314f7f1a099354a272ddedff289Charles Clément PWLAN_FR_PROBEREQ pFrame 7855449c685a4b39534f18869a93896370224463715Forest Bond ); 7865449c685a4b39534f18869a93896370224463715Forest Bond 7876b35b7b3798b652a57fbce480f350aac851431c4Charles Clémentvoid 7885449c685a4b39534f18869a93896370224463715Forest BondvMgrEncodeProbeResponse( 7893a215e0ff4184314f7f1a099354a272ddedff289Charles Clément PWLAN_FR_PROBERESP pFrame 7905449c685a4b39534f18869a93896370224463715Forest Bond ); 7915449c685a4b39534f18869a93896370224463715Forest Bond 7926b35b7b3798b652a57fbce480f350aac851431c4Charles Clémentvoid 7935449c685a4b39534f18869a93896370224463715Forest BondvMgrDecodeProbeResponse( 7943a215e0ff4184314f7f1a099354a272ddedff289Charles Clément PWLAN_FR_PROBERESP pFrame 7955449c685a4b39534f18869a93896370224463715Forest Bond ); 7965449c685a4b39534f18869a93896370224463715Forest Bond 7976b35b7b3798b652a57fbce480f350aac851431c4Charles Clémentvoid 7985449c685a4b39534f18869a93896370224463715Forest BondvMgrEncodeAuthen( 7993a215e0ff4184314f7f1a099354a272ddedff289Charles Clément PWLAN_FR_AUTHEN pFrame 8005449c685a4b39534f18869a93896370224463715Forest Bond ); 8015449c685a4b39534f18869a93896370224463715Forest Bond 8026b35b7b3798b652a57fbce480f350aac851431c4Charles Clémentvoid 8035449c685a4b39534f18869a93896370224463715Forest BondvMgrDecodeAuthen( 8043a215e0ff4184314f7f1a099354a272ddedff289Charles Clément PWLAN_FR_AUTHEN pFrame 8055449c685a4b39534f18869a93896370224463715Forest Bond ); 8065449c685a4b39534f18869a93896370224463715Forest Bond 8076b35b7b3798b652a57fbce480f350aac851431c4Charles Clémentvoid 8085449c685a4b39534f18869a93896370224463715Forest BondvMgrEncodeDeauthen( 8093a215e0ff4184314f7f1a099354a272ddedff289Charles Clément PWLAN_FR_DEAUTHEN pFrame 8105449c685a4b39534f18869a93896370224463715Forest Bond ); 8115449c685a4b39534f18869a93896370224463715Forest Bond 8126b35b7b3798b652a57fbce480f350aac851431c4Charles Clémentvoid 8135449c685a4b39534f18869a93896370224463715Forest BondvMgrDecodeDeauthen( 8143a215e0ff4184314f7f1a099354a272ddedff289Charles Clément PWLAN_FR_DEAUTHEN pFrame 8155449c685a4b39534f18869a93896370224463715Forest Bond ); 8165449c685a4b39534f18869a93896370224463715Forest Bond 8176b35b7b3798b652a57fbce480f350aac851431c4Charles Clémentvoid 8185449c685a4b39534f18869a93896370224463715Forest BondvMgrEncodeReassocResponse( 8193a215e0ff4184314f7f1a099354a272ddedff289Charles Clément PWLAN_FR_REASSOCRESP pFrame 8205449c685a4b39534f18869a93896370224463715Forest Bond ); 8215449c685a4b39534f18869a93896370224463715Forest Bond 8226b35b7b3798b652a57fbce480f350aac851431c4Charles Clémentvoid 8235449c685a4b39534f18869a93896370224463715Forest BondvMgrDecodeReassocResponse( 8243a215e0ff4184314f7f1a099354a272ddedff289Charles Clément PWLAN_FR_REASSOCRESP pFrame 8255449c685a4b39534f18869a93896370224463715Forest Bond ); 8265449c685a4b39534f18869a93896370224463715Forest Bond 8275449c685a4b39534f18869a93896370224463715Forest Bond#endif// __80211MGR_H__ 828