aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/qca-vendor.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2014-01-24 13:58:00 (GMT)
committerJouni Malinen <j@w1.fi>2014-01-24 13:58:00 (GMT)
commit1682c6236017f28b8fdb3b791565c835e988a559 (patch)
tree790b05556d06e2fb580e1614a9f8b258cbc0ef77 /src/common/qca-vendor.h
parent8615bdfac90174c3730ae5e6607b85f8bbec847e (diff)
downloadhostap-1682c6236017f28b8fdb3b791565c835e988a559.zip
hostap-1682c6236017f28b8fdb3b791565c835e988a559.tar.gz
hostap-1682c6236017f28b8fdb3b791565c835e988a559.tar.bz2
Add a header file defining QCA OUI and vendor extensions
This file is used as a registry of identifier assignments from the Qualcomm Atheros OUI 00:13:74 for purposes other than MAC address assignment. One of the first uses will be for nl80211 vendor commands/events which is reason for the preparation change in driver_nl80211.c Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/common/qca-vendor.h')
-rw-r--r--src/common/qca-vendor.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h
new file mode 100644
index 0000000..6e2f0c0
--- /dev/null
+++ b/src/common/qca-vendor.h
@@ -0,0 +1,33 @@
+/*
+ * Qualcomm Atheros OUI and vendor specific assignments
+ * Copyright (c) 2014, Qualcomm Atheros, Inc.
+ *
+ * This software may be distributed under the terms of the BSD license.
+ * See README for more details.
+ */
+
+#ifndef QCA_VENDOR_H
+#define QCA_VENDOR_H
+
+/*
+ * This file is a registry of identifier assignments from the Qualcomm Atheros
+ * OUI 00:13:74 for purposes other than MAC address assignment. New identifiers
+ * can be assigned through normal review process for changes to the upstream
+ * hostap.git repository.
+ */
+
+#define OUI_QCA 0x001374
+
+/**
+ * enum qca_nl80211_vendor_subcmds - QCA nl80211 vendor command identifiers
+ *
+ * @QCA_NL80211_VENDOR_SUBCMD_UNSPEC: Reserved value 0
+ *
+ * @QCA_NL80211_VENDOR_SUBCMD_TEST: Test command/event
+ */
+enum qca_nl80211_vendor_subcmds {
+ QCA_NL80211_VENDOR_SUBCMD_UNSPEC = 0,
+ QCA_NL80211_VENDOR_SUBCMD_TEST = 1,
+};
+
+#endif /* QCA_VENDOR_H */