aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2015-06-17 16:24:29 +0000
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2016-04-01 16:41:14 +0530
commitc810220c2a94a096c2cde603fb200de72c220df9 (patch)
tree437129576f11e86de0651859a5b1a3478c770f73 /src
parentc78965634a7e28fbb88fb54d26c09c2ad8e93d41 (diff)
downloadandroid_external_wpa_supplicant_8-c810220c2a94a096c2cde603fb200de72c220df9.tar.gz
android_external_wpa_supplicant_8-c810220c2a94a096c2cde603fb200de72c220df9.tar.bz2
android_external_wpa_supplicant_8-c810220c2a94a096c2cde603fb200de72c220df9.zip
Define new registry for QCA vendor specific elements
The new enum qca_vendor_element_id registry is used to manage assignments of vendor specific elements using the QCA OUI 00:13:74. The initial assignment is for the purpose for extending P2P functionality for cases where the wpa_supplicant implementation is used by both ends of an exchange Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Git-commit: b43b2b520370b251ee3fdce3ade0f66950292281 Git-repo : git://w1.fi/srv/git/hostap.git Change-Id: Icd2cf14cbc5d1b781f12453ebcbf8ee147a3117e CRs-fixed: 842468
Diffstat (limited to 'src')
-rw-r--r--src/common/qca-vendor.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h
index 2a6e2429..d626495a 100644
--- a/src/common/qca-vendor.h
+++ b/src/common/qca-vendor.h
@@ -323,4 +323,34 @@ enum qca_set_band {
QCA_SETBAND_2G,
};
+/* IEEE 802.11 Vendor Specific elements */
+
+/**
+ * enum qca_vendor_element_id - QCA Vendor Specific element types
+ *
+ * These values are used to identify QCA Vendor Specific elements. The
+ * payload of the element starts with the three octet OUI (OUI_QCA) and
+ * is followed by a single octet type which is defined by this enum.
+ *
+ * @QCA_VENDOR_ELEM_P2P_PREF_CHAN_LIST: P2P preferred channel list.
+ * This element can be used to specify preference order for supported
+ * channels. The channels in this list are in preference order (the first
+ * one has the highest preference) and are described as a pair of
+ * (global) Operating Class and Channel Number (each one octet) fields.
+ *
+ * This extends the standard P2P functionality by providing option to have
+ * more than one preferred operating channel. When this element is present,
+ * it replaces the preference indicated in the Operating Channel attribute.
+ * For supporting other implementations, the Operating Channel attribute is
+ * expected to be used with the highest preference channel. Similarly, all
+ * the channels included in this Preferred channel list element are
+ * expected to be included in the Channel List attribute.
+ *
+ * This vendor element may be included in GO Negotiation Request, P2P
+ * Invitation Request, and Provision Discovery Request frames.
+ */
+enum qca_vendor_element_id {
+ QCA_VENDOR_ELEM_P2P_PREF_CHAN_LIST = 0,
+};
+
#endif /* QCA_VENDOR_H */