diff options
Diffstat (limited to 'drivers/net/wireless/libertas/scan.h')
-rw-r--r-- | drivers/net/wireless/libertas/scan.h | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/drivers/net/wireless/libertas/scan.h b/drivers/net/wireless/libertas/scan.h index 8c3508b3257f..def0db5c4e61 100644 --- a/drivers/net/wireless/libertas/scan.h +++ b/drivers/net/wireless/libertas/scan.h | |||
@@ -175,31 +175,26 @@ struct bss_descriptor { | |||
175 | struct list_head list; | 175 | struct list_head list; |
176 | }; | 176 | }; |
177 | 177 | ||
178 | extern int libertas_ssid_cmp(u8 *ssid1, u8 ssid1_len, u8 *ssid2, u8 ssid2_len); | 178 | int libertas_ssid_cmp(u8 *ssid1, u8 ssid1_len, u8 *ssid2, u8 ssid2_len); |
179 | 179 | ||
180 | struct bss_descriptor * libertas_find_ssid_in_list(wlan_adapter * adapter, | 180 | struct bss_descriptor * libertas_find_ssid_in_list(wlan_adapter * adapter, |
181 | u8 *ssid, u8 ssid_len, u8 * bssid, u8 mode, | 181 | u8 *ssid, u8 ssid_len, u8 * bssid, u8 mode, |
182 | int channel); | 182 | int channel); |
183 | 183 | ||
184 | struct bss_descriptor * libertas_find_best_ssid_in_list(wlan_adapter * adapter, | 184 | struct bss_descriptor * libertas_find_bssid_in_list(wlan_adapter * adapter, |
185 | u8 mode); | ||
186 | |||
187 | extern struct bss_descriptor * libertas_find_bssid_in_list(wlan_adapter * adapter, | ||
188 | u8 * bssid, u8 mode); | 185 | u8 * bssid, u8 mode); |
189 | 186 | ||
190 | int libertas_find_best_network_ssid(wlan_private * priv, u8 *out_ssid, | 187 | int libertas_find_best_network_ssid(wlan_private * priv, u8 *out_ssid, |
191 | u8 *out_ssid_len, u8 preferred_mode, u8 *out_mode); | 188 | u8 *out_ssid_len, u8 preferred_mode, u8 *out_mode); |
192 | 189 | ||
193 | extern int libertas_send_specific_ssid_scan(wlan_private * priv, u8 *ssid, | 190 | int libertas_send_specific_ssid_scan(wlan_private * priv, u8 *ssid, |
194 | u8 ssid_len, u8 clear_ssid); | 191 | u8 ssid_len, u8 clear_ssid); |
195 | extern int libertas_send_specific_bssid_scan(wlan_private * priv, | ||
196 | u8 * bssid, u8 clear_bssid); | ||
197 | 192 | ||
198 | extern int libertas_cmd_80211_scan(wlan_private * priv, | 193 | int libertas_cmd_80211_scan(wlan_private * priv, |
199 | struct cmd_ds_command *cmd, | 194 | struct cmd_ds_command *cmd, |
200 | void *pdata_buf); | 195 | void *pdata_buf); |
201 | 196 | ||
202 | extern int libertas_ret_80211_scan(wlan_private * priv, | 197 | int libertas_ret_80211_scan(wlan_private * priv, |
203 | struct cmd_ds_command *resp); | 198 | struct cmd_ds_command *resp); |
204 | 199 | ||
205 | int wlan_scan_networks(wlan_private * priv, | 200 | int wlan_scan_networks(wlan_private * priv, |
@@ -211,9 +206,9 @@ struct ifreq; | |||
211 | struct iw_point; | 206 | struct iw_point; |
212 | struct iw_param; | 207 | struct iw_param; |
213 | struct iw_request_info; | 208 | struct iw_request_info; |
214 | extern int libertas_get_scan(struct net_device *dev, struct iw_request_info *info, | 209 | int libertas_get_scan(struct net_device *dev, struct iw_request_info *info, |
215 | struct iw_point *dwrq, char *extra); | 210 | struct iw_point *dwrq, char *extra); |
216 | extern int libertas_set_scan(struct net_device *dev, struct iw_request_info *info, | 211 | int libertas_set_scan(struct net_device *dev, struct iw_request_info *info, |
217 | struct iw_param *vwrq, char *extra); | 212 | struct iw_param *vwrq, char *extra); |
218 | 213 | ||
219 | #endif /* _WLAN_SCAN_H */ | 214 | #endif /* _WLAN_SCAN_H */ |