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/orinoco.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/orinoco.h')
-rw-r--r-- | drivers/net/wireless/orinoco.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/net/wireless/orinoco.h b/drivers/net/wireless/orinoco.h index 584d8c92db12..f510994ea9fe 100644 --- a/drivers/net/wireless/orinoco.h +++ b/drivers/net/wireless/orinoco.h | |||
@@ -42,6 +42,12 @@ struct bss_element { | |||
42 | struct list_head list; | 42 | struct list_head list; |
43 | }; | 43 | }; |
44 | 44 | ||
45 | struct xbss_element { | ||
46 | struct agere_ext_scan_info bss; | ||
47 | unsigned long last_scanned; | ||
48 | struct list_head list; | ||
49 | }; | ||
50 | |||
45 | struct orinoco_private { | 51 | struct orinoco_private { |
46 | void *card; /* Pointer to card dependent structure */ | 52 | void *card; /* Pointer to card dependent structure */ |
47 | struct device *dev; | 53 | struct device *dev; |
@@ -86,6 +92,7 @@ struct orinoco_private { | |||
86 | unsigned int has_sensitivity:1; | 92 | unsigned int has_sensitivity:1; |
87 | unsigned int has_hostscan:1; | 93 | unsigned int has_hostscan:1; |
88 | unsigned int has_alt_txcntl:1; | 94 | unsigned int has_alt_txcntl:1; |
95 | unsigned int has_ext_scan:1; | ||
89 | unsigned int do_fw_download:1; | 96 | unsigned int do_fw_download:1; |
90 | unsigned int broken_disableport:1; | 97 | unsigned int broken_disableport:1; |
91 | unsigned int broken_monitor:1; | 98 | unsigned int broken_monitor:1; |
@@ -117,7 +124,7 @@ struct orinoco_private { | |||
117 | /* Scanning support */ | 124 | /* Scanning support */ |
118 | struct list_head bss_list; | 125 | struct list_head bss_list; |
119 | struct list_head bss_free_list; | 126 | struct list_head bss_free_list; |
120 | struct bss_element *bss_data; | 127 | void *bss_xbss_data; |
121 | 128 | ||
122 | int scan_inprogress; /* Scan pending... */ | 129 | int scan_inprogress; /* Scan pending... */ |
123 | u32 scan_mode; /* Type of scan done */ | 130 | u32 scan_mode; /* Type of scan done */ |