diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/cfg80211.c')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/cfg80211.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.c b/drivers/net/wireless/ath/ath6kl/cfg80211.c index 5da0f292ec79..bad92441b78a 100644 --- a/drivers/net/wireless/ath/ath6kl/cfg80211.c +++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c | |||
@@ -3077,6 +3077,20 @@ int ath6kl_cfg80211_init(struct ath6kl *ar) | |||
3077 | 3077 | ||
3078 | wiphy->max_sched_scan_ssids = 10; | 3078 | wiphy->max_sched_scan_ssids = 10; |
3079 | 3079 | ||
3080 | ar->wiphy->flags |= WIPHY_FLAG_SUPPORTS_FW_ROAM | | ||
3081 | WIPHY_FLAG_HAVE_AP_SME | | ||
3082 | WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL | | ||
3083 | WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD; | ||
3084 | |||
3085 | if (test_bit(ATH6KL_FW_CAPABILITY_SCHED_SCAN, ar->fw_capabilities)) | ||
3086 | ar->wiphy->flags |= WIPHY_FLAG_SUPPORTS_SCHED_SCAN; | ||
3087 | |||
3088 | ar->wiphy->probe_resp_offload = | ||
3089 | NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS | | ||
3090 | NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2 | | ||
3091 | NL80211_PROBE_RESP_OFFLOAD_SUPPORT_P2P | | ||
3092 | NL80211_PROBE_RESP_OFFLOAD_SUPPORT_80211U; | ||
3093 | |||
3080 | ret = wiphy_register(wiphy); | 3094 | ret = wiphy_register(wiphy); |
3081 | if (ret < 0) { | 3095 | if (ret < 0) { |
3082 | ath6kl_err("couldn't register wiphy device\n"); | 3096 | ath6kl_err("couldn't register wiphy device\n"); |