aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/README
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2007-11-28 11:30:21 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:04:58 -0500
commita7d0adae40d0effc1484261a66fb703eb7e840b5 (patch)
treee3ee3d27bee433c56a57cba2f773ce1533d9b06f /drivers/net/wireless/libertas/README
parentdd1d12dabfeb123881b0c813d0b7d3585312bacd (diff)
libertas: remove user-specified channel list
Remove the ability to specify channels to scan via debugfs 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/README')
-rw-r--r--drivers/net/wireless/libertas/README33
1 files changed, 11 insertions, 22 deletions
diff --git a/drivers/net/wireless/libertas/README b/drivers/net/wireless/libertas/README
index 05cfc29e43c3..d860fc375752 100644
--- a/drivers/net/wireless/libertas/README
+++ b/drivers/net/wireless/libertas/README
@@ -195,8 +195,6 @@ setuserscan
195 195
196 where [ARGS]: 196 where [ARGS]:
197 197
198 chan=[chan#][band][mode] where band is [a,b,g] and mode is
199 blank for active or 'p' for passive
200 bssid=xx:xx:xx:xx:xx:xx specify a BSSID filter for the scan 198 bssid=xx:xx:xx:xx:xx:xx specify a BSSID filter for the scan
201 ssid="[SSID]" specify a SSID filter for the scan 199 ssid="[SSID]" specify a SSID filter for the scan
202 keep=[0 or 1] keep the previous scan results (1), discard (0) 200 keep=[0 or 1] keep the previous scan results (1), discard (0)
@@ -204,35 +202,26 @@ setuserscan
204 type=[1,2,3] BSS type: 1 (Infra), 2(Adhoc), 3(Any) 202 type=[1,2,3] BSS type: 1 (Infra), 2(Adhoc), 3(Any)
205 203
206 Any combination of the above arguments can be supplied on the command 204 Any combination of the above arguments can be supplied on the command
207 line. If the chan token is absent, a full channel scan will be 205 line. If dur tokens are absent, the driver default setting will be used.
208 completed by the driver. If dur tokens are absent, the driver default 206 The bssid and ssid fields, if blank, will produce an unfiltered scan.
209 setting will be used. The bssid and ssid fields, if blank, will 207 The type field will default to 3 (Any) and the keep field will default
210 produce an unfiltered scan. The type field will default to 3 (Any) and 208 to 0 (Discard).
211 the keep field will default to 0 (Discard).
212 209
213 Examples: 210 Examples:
214 1) Perform an active scan on channels 1, 6, and 11 in the 'g' band: 211 1) Perform a passive scan on all channels for 20 ms per channel:
215 echo "chan=1g,6g,11g" > setuserscan 212 echo "dur=20" > setuserscan
216 213
217 2) Perform a passive scan on channel 11 for 20 ms: 214 2) Perform an active scan for a specific SSID:
218 echo "chan=11gp dur=20" > setuserscan 215 echo "ssid="TestAP"" > setuserscan
219 216
220 3) Perform an active scan on channels 1, 6, and 11; and a passive scan on 217 3) Scan all available channels (B/G, A bands) for a specific BSSID, keep
221 channel 36 in the 'a' band:
222
223 echo "chan=1g,6g,11g,36ap" > setuserscan
224
225 4) Perform an active scan on channel 6 and 36 for a specific SSID:
226 echo "chan=6g,36a ssid="TestAP"" > setuserscan
227
228 5) Scan all available channels (B/G, A bands) for a specific BSSID, keep
229 the current scan table intact, update existing or append new scan data: 218 the current scan table intact, update existing or append new scan data:
230 echo "bssid=00:50:43:20:12:82 keep=1" > setuserscan 219 echo "bssid=00:50:43:20:12:82 keep=1" > setuserscan
231 220
232 6) Scan channel 6, for all infrastructure networks. 221 4) Scan for all infrastructure networks.
233 Keep the previous scan table intact. Update any duplicate BSSID/SSID 222 Keep the previous scan table intact. Update any duplicate BSSID/SSID
234 matches with the new scan data: 223 matches with the new scan data:
235 echo "chan=6g type=1 keep=1" > setuserscan 224 echo "type=1 keep=1" > setuserscan
236 225
237 All entries in the scan table (not just the new scan data when keep=1) 226 All entries in the scan table (not just the new scan data when keep=1)
238 will be displayed upon completion by use of the getscantable ioctl. 227 will be displayed upon completion by use of the getscantable ioctl.