aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/qca-vendor.h
diff options
context:
space:
mode:
authorAmar Singhal <asinghal@qca.qualcomm.com>2014-03-22 19:20:32 (GMT)
committerJouni Malinen <j@w1.fi>2014-03-22 19:20:32 (GMT)
commit65d645ce43abb01fbfedae8a988b0ea1b6d55def (patch)
treefc5182bd7e1b31d714846b1781c1d250a769927a /src/common/qca-vendor.h
parent56887c35813d91ad2928f4cbd6c0e68af0f28fe7 (diff)
downloadhostap-65d645ce43abb01fbfedae8a988b0ea1b6d55def.zip
hostap-65d645ce43abb01fbfedae8a988b0ea1b6d55def.tar.gz
hostap-65d645ce43abb01fbfedae8a988b0ea1b6d55def.tar.bz2
nl80211: Fetch DFS offload capability from driver
This uses a QCA vendor extension to determine if the driver supports fully offloaded DFS operations. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/common/qca-vendor.h')
-rw-r--r--src/common/qca-vendor.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h
index 0d83920..80bad4f 100644
--- a/src/common/qca-vendor.h
+++ b/src/common/qca-vendor.h
@@ -29,12 +29,16 @@
* ranges to avoid to reduce issues due to interference or internal
* co-existence information in the driver. The event data structure is
* defined in struct qca_avoid_freq_list.
+ *
+ * @QCA_NL80211_VENDOR_SUBCMD_DFS_CAPABILITY: Command to check driver support
+ * for DFS offloading.
*/
enum qca_nl80211_vendor_subcmds {
QCA_NL80211_VENDOR_SUBCMD_UNSPEC = 0,
QCA_NL80211_VENDOR_SUBCMD_TEST = 1,
/* subcmds 2..9 not yet allocated */
QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY = 10,
+ QCA_NL80211_VENDOR_SUBCMD_DFS_CAPABILITY = 11,
};
@@ -48,4 +52,13 @@ struct qca_avoid_freq_list {
struct qca_avoid_freq_range range[0];
} STRUCT_PACKED;
+enum qca_wlan_vendor_attr {
+ QCA_WLAN_VENDOR_ATTR_INVALID = 0,
+ /* used by QCA_NL80211_VENDOR_SUBCMD_DFS_CAPABILITY */
+ QCA_WLAN_VENDOR_ATTR_DFS = 1,
+ /* keep last */
+ QCA_WLAN_VENDOR_ATTR_AFTER_LAST,
+ QCA_WLAN_VENDOR_ATTR_MAX = QCA_WLAN_VENDOR_ATTR_AFTER_LAST - 1,
+};
+
#endif /* QCA_VENDOR_H */