]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
IEEE 802.11u GAS defines
authorJouni Malinen <jouni.malinen@atheros.com>
Sun, 18 Jul 2010 03:21:39 +0000 (20:21 -0700)
committerJouni Malinen <j@w1.fi>
Sun, 18 Jul 2010 03:21:39 +0000 (20:21 -0700)
src/common/ieee802_11_defs.h

index 4881e39a01a8e39ab7a2794b4ca6322fc24f975a..6993b3f5c231a7502d781c7cc54bdc321b6144be 100644 (file)
 #define WLAN_EID_20_40_BSS_INTOLERANT 73
 #define WLAN_EID_OVERLAPPING_BSS_SCAN_PARAMS 74
 #define WLAN_EID_MMIE 76
+#define WLAN_EID_ADV_PROTO 108
 #define WLAN_EID_VENDOR_SPECIFIC 221
 
 
 #define WLAN_ACTION_HT 7
 #define WLAN_ACTION_SA_QUERY 8
 #define WLAN_ACTION_WMM 17 /* WMM Specification 1.1 */
+#define WLAN_ACTION_VENDOR_SPECIFIC 127
+
+/* Public action codes */
+#define WLAN_PA_VENDOR_SPECIFIC 9
+#define WLAN_PA_GAS_INITIAL_REQ 10
+#define WLAN_PA_GAS_INITIAL_RESP 11
+#define WLAN_PA_GAS_COMEBACK_REQ 12
+#define WLAN_PA_GAS_COMEBACK_RESP 13
 
 /* SA Query Action frame (IEEE 802.11w/D8.0, 7.4.9) */
 #define WLAN_SA_QUERY_REQUEST 0
 #define WLAN_TIMEOUT_KEY_LIFETIME 2
 #define WLAN_TIMEOUT_ASSOC_COMEBACK 3
 
+/* Advertisement Protocol ID definitions (IEEE 802.11u) */
+enum adv_proto_id {
+       NATIVE_QUERY_PROTOCOL = 0,
+       MIH_INFO_SERVICE = 1,
+       MIH_CMD_AND_EVENT_DISCOVERY = 2,
+       EMERGENCY_ALERT_SYSTEM = 3,
+       LOCATION_TO_SERVICE = 4,
+       ADV_PROTO_VENDOR_SPECIFIC = 221
+};
+
+/* Native Query Protocol info ID definitions (IEEE 802.11u) */
+enum nqp_info_id {
+       NQP_CAPABILITY_LIST = 256,
+       NQP_VENUE_NAME = 257,
+       NQP_EMERGENCY_CALL_NUMBER = 258,
+       NQP_NETWORK_AUTH_TYPE = 259,
+       NQP_ROAMING_CONSORTIUM = 260,
+       NQP_IP_ADDR_TYPE_AVAILABILITY = 261,
+       NQP_NAI_REALM = 262,
+       NQP_3GPP_CELLULAR_NETWORK = 263,
+       NQP_AP_GEOSPATIAL_LOCATION = 264,
+       NQP_AP_CIVIC_LOCATION = 265,
+       NQP_DOMAIN_NAME = 266,
+       NQP_EMERGENCY_ALERT_URI = 267,
+       NQP_VENDOR_SPECIFIC = 56797
+};
+
 
 #ifdef _MSC_VER
 #pragma pack(push, 1)