aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAshwini Patil <c_apati@qti.qualcomm.com>2017-06-15 07:29:32 (GMT)
committerJouni Malinen <j@w1.fi>2017-07-04 23:02:35 (GMT)
commitf2cdb41b81f5dad8e7562c70819308ca3d2f6417 (patch)
tree318cc4fd1e8f5a05dda5ea064e0f65e13994fa2e /src
parent1c13be83d3825a51443f886856c5dc0de80ed36e (diff)
downloadhostap-f2cdb41b81f5dad8e7562c70819308ca3d2f6417.zip
hostap-f2cdb41b81f5dad8e7562c70819308ca3d2f6417.tar.gz
hostap-f2cdb41b81f5dad8e7562c70819308ca3d2f6417.tar.bz2
OCE: Define OCE attributes and other related macros
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src')
-rw-r--r--src/common/ieee802_11_defs.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/common/ieee802_11_defs.h b/src/common/ieee802_11_defs.h
index d57bb0c..6be71fe 100644
--- a/src/common/ieee802_11_defs.h
+++ b/src/common/ieee802_11_defs.h
@@ -1337,6 +1337,7 @@ enum wmm_ac {
/* MBO v0.0_r19, 4.2: MBO Attributes */
/* Table 4-5: MBO Attributes */
+/* OCE v0.0.10, Table 4-3: OCE Attributes */
enum mbo_attr_id {
MBO_ATTR_ID_AP_CAPA_IND = 1,
MBO_ATTR_ID_NON_PREF_CHAN_REPORT = 2,
@@ -1346,6 +1347,10 @@ enum mbo_attr_id {
MBO_ATTR_ID_TRANSITION_REASON = 6,
MBO_ATTR_ID_TRANSITION_REJECT_REASON = 7,
MBO_ATTR_ID_ASSOC_RETRY_DELAY = 8,
+ OCE_ATTR_ID_CAPA_IND = 101,
+ OCE_ATTR_ID_RSSI_BASED_ASSOC_REJECT = 102,
+ OCE_ATTR_ID_REDUCED_WAN_METRICS = 103,
+ OCE_ATTR_ID_RNR_COMPLETENESS = 104,
};
/* MBO v0.0_r19, 4.2.1: MBO AP Capability Indication Attribute */
@@ -1426,6 +1431,12 @@ enum wfa_wnm_notif_subelem_id {
#define MBO_ANQP_SUBTYPE_CELL_CONN_PREF 2
#define MAX_MBO_ANQP_SUBTYPE MBO_ANQP_SUBTYPE_CELL_CONN_PREF
+/* OCE v0.0.10, 4.2.1: OCE Capability Indication Attribute */
+#define OCE_RELEASE 1
+#define OCE_RELEASE_MASK (BIT(0) | BIT(1) | BIT(2))
+#define OCE_IS_STA_CFON BIT(3)
+#define OCE_IS_NON_OCE_AP_PRESENT BIT(4)
+
/* Wi-Fi Direct (P2P) */
#define P2P_OUI_TYPE 9