diff options
author | David Kilroy <kilroyd@gmail.com> | 2008-08-21 18:27:58 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-08-22 19:28:05 -0400 |
commit | 01632fa4af34addf78ce999eabb4430f33942ee2 (patch) | |
tree | c2127215d99e2d67dd402e07286b4c66df64efb3 /drivers/net/wireless/hermes.h | |
parent | 3056c40426b9cd4f7c334d773d69db64e195431d (diff) |
orinoco: Use extended Agere scans available on 9.x series firmwares
This provides more information than the standard Agere scan, including
the WPA IE.
Signed-off-by: David Kilroy <kilroyd@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/hermes.h')
-rw-r--r-- | drivers/net/wireless/hermes.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/drivers/net/wireless/hermes.h b/drivers/net/wireless/hermes.h index 1d0c5840f825..113f3f6cb2d1 100644 --- a/drivers/net/wireless/hermes.h +++ b/drivers/net/wireless/hermes.h | |||
@@ -303,6 +303,40 @@ union hermes_scan_info { | |||
303 | struct symbol_scan_apinfo s; | 303 | struct symbol_scan_apinfo s; |
304 | }; | 304 | }; |
305 | 305 | ||
306 | /* Extended scan struct for HERMES_INQ_CHANNELINFO. | ||
307 | * wl_lkm calls this an ACS scan (Automatic Channel Select). | ||
308 | * Keep out of union hermes_scan_info because it is much bigger than | ||
309 | * the older scan structures. */ | ||
310 | struct agere_ext_scan_info { | ||
311 | __le16 reserved0; | ||
312 | |||
313 | u8 noise; | ||
314 | u8 level; | ||
315 | u8 rx_flow; | ||
316 | u8 rate; | ||
317 | __le16 reserved1[2]; | ||
318 | |||
319 | __le16 frame_control; | ||
320 | __le16 dur_id; | ||
321 | u8 addr1[ETH_ALEN]; | ||
322 | u8 addr2[ETH_ALEN]; | ||
323 | u8 bssid[ETH_ALEN]; | ||
324 | __le16 sequence; | ||
325 | u8 addr4[ETH_ALEN]; | ||
326 | |||
327 | __le16 data_length; | ||
328 | |||
329 | /* Next 3 fields do not get filled in. */ | ||
330 | u8 daddr[ETH_ALEN]; | ||
331 | u8 saddr[ETH_ALEN]; | ||
332 | __le16 len_type; | ||
333 | |||
334 | __le64 timestamp; | ||
335 | __le16 beacon_interval; | ||
336 | __le16 capabilities; | ||
337 | u8 data[316]; | ||
338 | } __attribute__ ((packed)); | ||
339 | |||
306 | #define HERMES_LINKSTATUS_NOT_CONNECTED (0x0000) | 340 | #define HERMES_LINKSTATUS_NOT_CONNECTED (0x0000) |
307 | #define HERMES_LINKSTATUS_CONNECTED (0x0001) | 341 | #define HERMES_LINKSTATUS_CONNECTED (0x0001) |
308 | #define HERMES_LINKSTATUS_DISCONNECTED (0x0002) | 342 | #define HERMES_LINKSTATUS_DISCONNECTED (0x0002) |