aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/scan.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/libertas/scan.h')
-rw-r--r--drivers/net/wireless/libertas/scan.h19
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
178extern int libertas_ssid_cmp(u8 *ssid1, u8 ssid1_len, u8 *ssid2, u8 ssid2_len); 178int libertas_ssid_cmp(u8 *ssid1, u8 ssid1_len, u8 *ssid2, u8 ssid2_len);
179 179
180struct bss_descriptor * libertas_find_ssid_in_list(wlan_adapter * adapter, 180struct 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
184struct bss_descriptor * libertas_find_best_ssid_in_list(wlan_adapter * adapter, 184struct bss_descriptor * libertas_find_bssid_in_list(wlan_adapter * adapter,
185 u8 mode);
186
187extern struct bss_descriptor * libertas_find_bssid_in_list(wlan_adapter * adapter,
188 u8 * bssid, u8 mode); 185 u8 * bssid, u8 mode);
189 186
190int libertas_find_best_network_ssid(wlan_private * priv, u8 *out_ssid, 187int 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
193extern int libertas_send_specific_ssid_scan(wlan_private * priv, u8 *ssid, 190int libertas_send_specific_ssid_scan(wlan_private * priv, u8 *ssid,
194 u8 ssid_len, u8 clear_ssid); 191 u8 ssid_len, u8 clear_ssid);
195extern int libertas_send_specific_bssid_scan(wlan_private * priv,
196 u8 * bssid, u8 clear_bssid);
197 192
198extern int libertas_cmd_80211_scan(wlan_private * priv, 193int 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
202extern int libertas_ret_80211_scan(wlan_private * priv, 197int libertas_ret_80211_scan(wlan_private * priv,
203 struct cmd_ds_command *resp); 198 struct cmd_ds_command *resp);
204 199
205int wlan_scan_networks(wlan_private * priv, 200int wlan_scan_networks(wlan_private * priv,
@@ -211,9 +206,9 @@ struct ifreq;
211struct iw_point; 206struct iw_point;
212struct iw_param; 207struct iw_param;
213struct iw_request_info; 208struct iw_request_info;
214extern int libertas_get_scan(struct net_device *dev, struct iw_request_info *info, 209int 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);
216extern int libertas_set_scan(struct net_device *dev, struct iw_request_info *info, 211int 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 */