diff options
author | Arik Nemtsov <arik@wizery.com> | 2011-11-08 11:46:55 -0500 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-12-01 08:55:46 -0500 |
commit | 9c1b190b10972be9c0d53c658e537c54de530b7f (patch) | |
tree | 97b54dce94d29c81f1dbba9256a93da5e9da35a1 | |
parent | 560f00241b6d95bde73a570c29d6919b36fdf852 (diff) |
wl12xx: indicate probe-resp offloading support
The wl12xx driver supports probe-response offloading, and the WPS, WPS2
and P2P special cases as well.
Signed-off-by: Guy Eilam <guy@wizery.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
-rw-r--r-- | drivers/net/wireless/wl12xx/main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c index 3750a6e479f3..08b06ee6d515 100644 --- a/drivers/net/wireless/wl12xx/main.c +++ b/drivers/net/wireless/wl12xx/main.c | |||
@@ -5017,6 +5017,13 @@ static int wl1271_init_ieee80211(struct wl1271 *wl) | |||
5017 | 5017 | ||
5018 | wl->hw->wiphy->reg_notifier = wl1271_reg_notify; | 5018 | wl->hw->wiphy->reg_notifier = wl1271_reg_notify; |
5019 | 5019 | ||
5020 | /* the FW answers probe-requests in AP-mode */ | ||
5021 | wl->hw->wiphy->flags |= WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD; | ||
5022 | wl->hw->wiphy->probe_resp_offload = | ||
5023 | NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS | | ||
5024 | NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WPS2 | | ||
5025 | NL80211_PROBE_RESP_OFFLOAD_SUPPORT_P2P; | ||
5026 | |||
5020 | SET_IEEE80211_DEV(wl->hw, wl->dev); | 5027 | SET_IEEE80211_DEV(wl->hw, wl->dev); |
5021 | 5028 | ||
5022 | wl->hw->sta_data_size = sizeof(struct wl1271_station); | 5029 | wl->hw->sta_data_size = sizeof(struct wl1271_station); |