aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/dev.h
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2008-03-05 01:05:32 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-03-13 16:02:32 -0400
commit52933d815bff78605a490582a2212a8131482e00 (patch)
treed30f7107a771b3ef2b5d1b187fc9baa3c733b0b2 /drivers/net/wireless/libertas/dev.h
parentd9357136ac4729f589543afb6b1d17d443ae4f71 (diff)
libertas: implement SSID scanning for SIOCSIWSCAN
After my bit scan re-writing the SIOCSIWSCAN wext ioctl no longer supported scanning for a specific SSID. However, wpa_supplicant is a possible user of this ioctl, so here is code that add's this. While passing, removed even more of the debugfs-based scanning. You can (and should) the SIOCSIWSCAN to ask for scans, so there is no need for proprietary interfaces for scanning. And, besides, the scan result couldn't be used further, e.g. not for associating. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Acked-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/dev.h')
-rw-r--r--drivers/net/wireless/libertas/dev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/dev.h b/drivers/net/wireless/libertas/dev.h
index fd1fcc748010..ff2c046ca73f 100644
--- a/drivers/net/wireless/libertas/dev.h
+++ b/drivers/net/wireless/libertas/dev.h
@@ -149,6 +149,8 @@ struct lbs_private {
149 struct work_struct sync_channel; 149 struct work_struct sync_channel;
150 /* remember which channel was scanned last, != 0 if currently scanning */ 150 /* remember which channel was scanned last, != 0 if currently scanning */
151 int scan_channel; 151 int scan_channel;
152 u8 scan_ssid[IW_ESSID_MAX_SIZE + 1];
153 u8 scan_ssid_len;
152 154
153 /** Hardware access */ 155 /** Hardware access */
154 int (*hw_host_to_card) (struct lbs_private *priv, u8 type, u8 *payload, u16 nb); 156 int (*hw_host_to_card) (struct lbs_private *priv, u8 type, u8 *payload, u16 nb);