aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/qca-vendor-attr.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2014-04-25 08:41:36 (GMT)
committerJouni Malinen <j@w1.fi>2014-04-25 08:41:36 (GMT)
commita26582cb98f89b43fc6748aeaeb023848532d33e (patch)
tree673207621963d7393c53114767a4a802fcb2648f /src/common/qca-vendor-attr.h
parent4a64d5a9db68796cd6a6f895522aaa836313094e (diff)
downloadhostap-a26582cb98f89b43fc6748aeaeb023848532d33e.zip
hostap-a26582cb98f89b43fc6748aeaeb023848532d33e.tar.gz
hostap-a26582cb98f89b43fc6748aeaeb023848532d33e.tar.bz2
Make qca-vendor.h independent of other header files
Move the definitions that depended in common.h into a separate header file so that qca-vendor.h can be copied and used as-is in other projects. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/common/qca-vendor-attr.h')
-rw-r--r--src/common/qca-vendor-attr.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/common/qca-vendor-attr.h b/src/common/qca-vendor-attr.h
new file mode 100644
index 0000000..6f51803
--- /dev/null
+++ b/src/common/qca-vendor-attr.h
@@ -0,0 +1,28 @@
+/*
+ * Qualcomm Atheros vendor specific attribute definitions
+ * 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_ATTR_H
+#define QCA_VENDOR_ATTR_H
+
+/*
+ * This file defines some of the attributes used with Qualcomm Atheros OUI
+ * 00:13:74 in a way that is not suitable for qca-vendor.h, e.g., due to
+ * compiler dependencies.
+ */
+
+struct qca_avoid_freq_range {
+ u32 start_freq;
+ u32 end_freq;
+} __attribute__ ((packed));
+
+struct qca_avoid_freq_list {
+ u32 count;
+ struct qca_avoid_freq_range range[0];
+} __attribute__ ((packed));
+
+#endif /* QCA_VENDOR_ATTR_H */