[PATCH 04/25] MBO: Add Multi Band Operation definitions

Ilan Peer ilan.peer at intel.com
Mon Feb 15 06:53:19 PST 2016


From: David Spinadel <david.spinadel at intel.com>

Specification draft WFA_MBO_Techspec_v0 0r17.

Signed-off-by: David Spinadel <david.spinadel at intel.com>
---
 src/common/ieee802_11_defs.h | 60 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)

diff --git a/src/common/ieee802_11_defs.h b/src/common/ieee802_11_defs.h
index 5b8d130..37702db 100644
--- a/src/common/ieee802_11_defs.h
+++ b/src/common/ieee802_11_defs.h
@@ -1027,6 +1027,66 @@ enum wmm_ac {
 #define HS20_DEAUTH_REASON_CODE_BSS 0
 #define HS20_DEAUTH_REASON_CODE_ESS 1
 
+#define MBO_OUI_TYPE 22
+
+enum mbo_attr_id {
+	MBO_ATTR_ID_CAPA_IND = 1,
+	MBO_ATTR_ID_NP_CHAN_REPORT = 2,
+	MBO_ATTR_ID_CELL_CAPA = 3,
+	MBO_ATTR_ID_ASSOC_DISALLOW = 4,
+	MBO_ATTR_ID_CELL_DATA_PREF = 5,
+	MBO_ATTR_ID_TRANSITION_REASON = 6,
+	MBO_ATTR_ID_TRANSITION_REJECT_REASON = 7,
+	MBO_ATTR_ID_ASSOC_RETRY_DELAY = 8,
+};
+
+#define MBO_CAPA_CELL_AWARE BIT(0)
+
+enum mbo_np_chan_reason {
+	MBO_NP_CHAN_REASON_UNSPECIFIED = 0,
+	MBO_NP_CHAN_REASON_RSSI = 1,
+	MBO_NP_CHAN_REASON_EXT_INTERFERENCE = 2,
+	MBO_NP_CHAN_REASON_INT_INTERFERENCE = 3,
+	MBO_NP_CHAN_REASON_RESERVED = 4,
+};
+
+enum mbo_cellular_capa {
+	MBO_CELL_CAPA_AVAILABLE = 1,
+	MBO_CELL_CAPA_NOT_AVAILABLE = 2,
+	MBO_CELL_CAPA_NOT_SUPPORTED = 3,
+};
+
+enum mbo_assoc_disallow_reason {
+	MBO_ASSOC_DISALLOW_REASON_UNSPECIFIED = 1,
+	MBO_ASSOC_DISALLOW_REASON_MAX_STA = 2,
+	MBO_ASSOC_DISALLOW_REASON_AIR_INTERFERENCE = 3,
+	MBO_ASSOC_DISALLOW_REASON_AUTH_SERVER_OVERLOAD = 4,
+	MBO_ASSOC_DISALLOW_REASON_LOW_RSSI = 5,
+};
+
+enum mbo_transition_reason {
+	MBO_TRANSITION_REASON_UNSPECIFIED = 0,
+	MBO_TRANSITION_REASON_FRAME_LOSS = 1,
+	MBO_TRANSITION_REASON_DELAY = 2,
+	MBO_TRANSITION_REASON_BANDWIDTH = 3,
+	MBO_TRANSITION_REASON_LOAD_BALANCE = 4,
+	MBO_TRANSITION_REASON_RSSI = 5,
+	MBO_TRANSITION_REASON_RETRANSMITIONS = 6,
+	MBO_TRANSITION_REASON_INTERFERENCE = 7,
+	MBO_TRANSITION_REASON_GREY_ZONE = 8,
+	MBO_TRANSITION_REASON_PREMIUM_AP = 9,
+};
+
+enum mbo_transition_reject_reason {
+	MBO_TRANSITION_REJECT_REASON_UNSPECIFIED = 0,
+	MBO_TRANSITION_REJECT_REASON_FRAME_LOSS = 1,
+	MBO_TRANSITION_REJECT_REASON_DELAY = 2,
+	MBO_TRANSITION_REJECT_REASON_QOS_CAPACITY = 3,
+	MBO_TRANSITION_REJECT_REASON_LOAD_BALANCE = 4,
+	MBO_TRANSITION_REJECT_REASON_RSSI = 5,
+	MBO_TRANSITION_REJECT_REASON_SERVICES = 6,
+};
+
 /* Wi-Fi Direct (P2P) */
 
 #define P2P_OUI_TYPE 9
-- 
1.9.1




More information about the Hostap mailing list