aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/ieee802_11_defs.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-06-18 16:42:38 (GMT)
committerJouni Malinen <j@w1.fi>2018-06-18 17:11:52 (GMT)
commita10f5714ccdac1c4014bd9911403950e7b1485d5 (patch)
tree1206f1569a38dc94ebd4c088e4d5930f07f6bbb3 /src/common/ieee802_11_defs.h
parent2403edb8fd92ade05dc3cb742c723d69bbaebf9d (diff)
downloadhostap-a10f5714ccdac1c4014bd9911403950e7b1485d5.zip
hostap-a10f5714ccdac1c4014bd9911403950e7b1485d5.tar.gz
hostap-a10f5714ccdac1c4014bd9911403950e7b1485d5.tar.bz2
HS 2.0: Allow Hotspot 2.0 version number to be overridden for build
This can be used for testing and development purposes. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'src/common/ieee802_11_defs.h')
-rw-r--r--src/common/ieee802_11_defs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/ieee802_11_defs.h b/src/common/ieee802_11_defs.h
index 7e3d8db..e03a095 100644
--- a/src/common/ieee802_11_defs.h
+++ b/src/common/ieee802_11_defs.h
@@ -1335,7 +1335,9 @@ enum wmm_ac {
#define HS20_DGAF_DISABLED 0x01
#define HS20_PPS_MO_ID_PRESENT 0x02
#define HS20_ANQP_DOMAIN_ID_PRESENT 0x04
+#ifndef HS20_VERSION
#define HS20_VERSION 0x10 /* Release 2 */
+#endif /* HS20_VERSION */
/* WNM-Notification WFA vendors specific subtypes */
#define HS20_WNM_SUB_REM_NEEDED 0