aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAvraham Stern <avraham.stern@intel.com>2017-03-09 13:19:58 (GMT)
committerJouni Malinen <j@w1.fi>2017-03-10 14:53:10 (GMT)
commit2316cb358c854a013bc27ac76c63d0e1ed663475 (patch)
tree3741d6c6ff74611cf3a54e5988919f7cd9e35906 /src
parentf7c25d1a509ec439ee872f1496ebfdfe9e92d402 (diff)
downloadhostap-2316cb358c854a013bc27ac76c63d0e1ed663475.zip
hostap-2316cb358c854a013bc27ac76c63d0e1ed663475.tar.gz
hostap-2316cb358c854a013bc27ac76c63d0e1ed663475.tar.bz2
MBO: Add option to add MBO query list to ANQP query
MBO techspec v0.0_r27 changed the MBO ANQP-element format. The MBO element in ANQP query should now include an MBO Query List element that contains a list of MBO elements to query. Add API to add the MBO Query List to an ANQP query. Format: ANQP_GET <addr> <info_id>[,<info_id>]...[,mbo:<subtype>...] Example for querying neighbor report with MBO cellular data connection preference: ANQP_GET <bssid> 272,mbo:2 Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/common/ieee802_11_defs.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/common/ieee802_11_defs.h b/src/common/ieee802_11_defs.h
index eecabd9..afe2651 100644
--- a/src/common/ieee802_11_defs.h
+++ b/src/common/ieee802_11_defs.h
@@ -1419,9 +1419,11 @@ enum wfa_wnm_notif_subelem_id {
WFA_WNM_NOTIF_SUBELEM_CELL_DATA_CAPA = 3,
};
-/* MBO v0.0_r25, 4.3: MBO ANQP-elements */
+/* MBO v0.0_r27, 4.3: MBO ANQP-elements */
#define MBO_ANQP_OUI_TYPE 0x12
-#define MBO_ANQP_SUBTYPE_CELL_CONN_PREF 1
+#define MBO_ANQP_SUBTYPE_QUERY_LIST 1
+#define MBO_ANQP_SUBTYPE_CELL_CONN_PREF 2
+#define MAX_MBO_ANQP_SUBTYPE MBO_ANQP_SUBTYPE_CELL_CONN_PREF
/* Wi-Fi Direct (P2P) */