summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorArik Nemtsov2011-11-08 18:14:08 +0100
committerKalle Valo2011-11-21 16:54:43 +0100
commitfb94333a62b7b11041dfb6daad94353ec5fbb7fd (patch)
tree138f73a695bce2e07c99933d84f8aa3e98aab136 /drivers
parentMerge remote branch 'wireless-next/master' into ath6kl-next (diff)
downloadkernel-qcow2-linux-fb94333a62b7b11041dfb6daad94353ec5fbb7fd.tar.gz
kernel-qcow2-linux-fb94333a62b7b11041dfb6daad94353ec5fbb7fd.tar.xz
kernel-qcow2-linux-fb94333a62b7b11041dfb6daad94353ec5fbb7fd.zip
ath6kl: indicate probe-resp offload support
The ath6kl responds to probe-requests in HW while operating as an AP. It supports offloading exclusions to support the WPS, WPS2, P2P and 802.11u protocols. Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/ath6kl/init.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/init.c b/drivers/net/wireless/ath/ath6kl/init.c
index 6c4f6a9567ce..78f9349bd3e3 100644
--- a/drivers/net/wireless/ath/ath6kl/init.c
+++ b/drivers/net/wireless/ath/ath6kl/init.c
@@ -1647,7 +1647,14 @@ int ath6kl_core_init(struct ath6kl *ar)
ar->conf_flags |= ATH6KL_CONF_SUSPEND_CUTPOWER;
ar->wiphy->flags |= WIPHY_FLAG_SUPPORTS_FW_ROAM |
- WIPHY_FLAG_HAVE_AP_SME;
+ WIPHY_FLAG_HAVE_AP_SME |
+ WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD;
+
+ ar->wiphy->probe_resp_offload =
+ NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS |
+ NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2 |
+ NL80211_PROBE_RESP_OFFLOAD_SUPPORT_P2P |
+ NL80211_PROBE_RESP_OFFLOAD_SUPPORT_80211U;
set_bit(FIRST_BOOT, &ar->flag);