Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH v2 1/2] wl12xx: configure the probe response offloading support
@ 2011-10-22 19:55 Guy Eilam
  0 siblings, 0 replies; only message in thread
From: Guy Eilam @ 2011-10-22 19:55 UTC (permalink / raw)
  To: coelho; +Cc: linux-wireless

Configure the probe response offload wiphy struct with
the relevant protocols supported currently by the driver.

Signed-off-by: Guy Eilam <guy@wizery.com>
---
v2:
now using the wiphy struct instead of a function and the conf_drv_settings

 drivers/net/wireless/wl12xx/main.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
index f76be5a..833f3e7 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -4965,6 +4965,12 @@ static int wl1271_init_ieee80211(struct wl1271 *wl)
 
 	wl->hw->wiphy->reg_notifier = wl1271_reg_notify;
 
+	wl->hw->wiphy->flags |= WIPHY_FLAG_SUPPORT_PROBE_RESP_OFFLOAD;
+	wl->hw->wiphy->probe_resp_offload =
+		NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WSC |
+		NL80211_PROBE_RESP_OFFLOAD_SUPPORT_WSC2 |
+		NL80211_PROBE_RESP_OFFLOAD_SUPPORT_P2P;
+
 	SET_IEEE80211_DEV(wl->hw, wl->dev);
 
 	wl->hw->sta_data_size = sizeof(struct wl1271_station);
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-10-22 19:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-22 19:55 [PATCH v2 1/2] wl12xx: configure the probe response offloading support Guy Eilam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox