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.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/drivers/net/wireless/libertas/scan.h b/drivers/net/wireless/libertas/scan.h
index 7ed66f40d181..b23144814677 100644
--- a/drivers/net/wireless/libertas/scan.h
+++ b/drivers/net/wireless/libertas/scan.h
@@ -10,6 +10,8 @@
10#include <net/ieee80211.h> 10#include <net/ieee80211.h>
11#include "hostcmd.h" 11#include "hostcmd.h"
12 12
13struct lbs_adapter;
14
13/** 15/**
14 * @brief Maximum number of channels that can be sent in a setuserscan ioctl 16 * @brief Maximum number of channels that can be sent in a setuserscan ioctl
15 * 17 *
@@ -176,27 +178,27 @@ struct bss_descriptor {
176 178
177int lbs_ssid_cmp(u8 *ssid1, u8 ssid1_len, u8 *ssid2, u8 ssid2_len); 179int lbs_ssid_cmp(u8 *ssid1, u8 ssid1_len, u8 *ssid2, u8 ssid2_len);
178 180
179struct bss_descriptor *lbs_find_ssid_in_list(lbs_adapter *adapter, 181struct bss_descriptor *lbs_find_ssid_in_list(struct lbs_adapter *adapter,
180 u8 *ssid, u8 ssid_len, u8 *bssid, u8 mode, 182 u8 *ssid, u8 ssid_len, u8 *bssid, u8 mode,
181 int channel); 183 int channel);
182 184
183struct bss_descriptor *lbs_find_bssid_in_list(lbs_adapter *adapter, 185struct bss_descriptor *lbs_find_bssid_in_list(struct lbs_adapter *adapter,
184 u8 *bssid, u8 mode); 186 u8 *bssid, u8 mode);
185 187
186int lbs_find_best_network_ssid(lbs_private *priv, u8 *out_ssid, 188int lbs_find_best_network_ssid(struct lbs_private *priv, u8 *out_ssid,
187 u8 *out_ssid_len, u8 preferred_mode, u8 *out_mode); 189 u8 *out_ssid_len, u8 preferred_mode, u8 *out_mode);
188 190
189int lbs_send_specific_ssid_scan(lbs_private *priv, u8 *ssid, 191int lbs_send_specific_ssid_scan(struct lbs_private *priv, u8 *ssid,
190 u8 ssid_len, u8 clear_ssid); 192 u8 ssid_len, u8 clear_ssid);
191 193
192int lbs_cmd_80211_scan(lbs_private *priv, 194int lbs_cmd_80211_scan(struct lbs_private *priv,
193 struct cmd_ds_command *cmd, 195 struct cmd_ds_command *cmd,
194 void *pdata_buf); 196 void *pdata_buf);
195 197
196int lbs_ret_80211_scan(lbs_private *priv, 198int lbs_ret_80211_scan(struct lbs_private *priv,
197 struct cmd_ds_command *resp); 199 struct cmd_ds_command *resp);
198 200
199int lbs_scan_networks(lbs_private *priv, 201int lbs_scan_networks(struct lbs_private *priv,
200 const struct lbs_ioctl_user_scan_cfg *puserscanin, 202 const struct lbs_ioctl_user_scan_cfg *puserscanin,
201 int full_scan); 203 int full_scan);
202 204