aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271.h
diff options
context:
space:
mode:
authorTeemu Paasikivi <ext-teemu.3.paasikivi@nokia.com>2009-10-13 05:47:50 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-10-27 16:48:10 -0400
commitabb0b3bfb2d2411034b721df21c31964265b851e (patch)
tree8788cfe6c870d4b36baa88e3acba6a4acc9e9c1d /drivers/net/wireless/wl12xx/wl1271.h
parent311494c47fb670a1fd74eea54fa4d02a56fcc2ad (diff)
wl1271: Added support to scan on 5 GHz band
Added support to scan 802.11a access points on 5 GHz band when using wl1273 chip. Signed-off-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com> Reviewed-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271.h')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271.h b/drivers/net/wireless/wl12xx/wl1271.h
index dc9957ee1ac3..79a732443151 100644
--- a/drivers/net/wireless/wl12xx/wl1271.h
+++ b/drivers/net/wireless/wl12xx/wl1271.h
@@ -299,6 +299,15 @@ struct wl1271_rx_mem_pool_addr {
299 u32 addr_extra; 299 u32 addr_extra;
300}; 300};
301 301
302struct wl1271_scan {
303 u8 state;
304 u8 ssid[IW_ESSID_MAX_SIZE+1];
305 size_t ssid_len;
306 u8 active;
307 u8 high_prio;
308 u8 probe_requests;
309};
310
302struct wl1271 { 311struct wl1271 {
303 struct ieee80211_hw *hw; 312 struct ieee80211_hw *hw;
304 bool mac80211_registered; 313 bool mac80211_registered;
@@ -382,6 +391,7 @@ struct wl1271 {
382 391
383 /* Are we currently scanning */ 392 /* Are we currently scanning */
384 bool scanning; 393 bool scanning;
394 struct wl1271_scan scan;
385 395
386 /* Our association ID */ 396 /* Our association ID */
387 u16 aid; 397 u16 aid;