added 2.6.29.6 aldebaran kernel
[nao-ulib.git] / kernel / 2.6.29.6-aldebaran-rt / drivers / net / wireless / libertas / scan.h
blobfab7d5d097fc73f5241117e35b4adc32b30a6c1c
1 /**
2 * Interface for the wlan network scan routines
4 * Driver interface functions and type declarations for the scan module
5 * implemented in scan.c.
6 */
7 #ifndef _LBS_SCAN_H
8 #define _LBS_SCAN_H
10 #include <net/iw_handler.h>
12 #define MAX_NETWORK_COUNT 128
14 /**
15 * @brief Maximum number of channels that can be sent in a setuserscan ioctl
17 #define LBS_IOCTL_USER_SCAN_CHAN_MAX 50
19 int lbs_ssid_cmp(u8 *ssid1, u8 ssid1_len, u8 *ssid2, u8 ssid2_len);
21 int lbs_send_specific_ssid_scan(struct lbs_private *priv, u8 *ssid,
22 u8 ssid_len);
24 int lbs_get_scan(struct net_device *dev, struct iw_request_info *info,
25 struct iw_point *dwrq, char *extra);
26 int lbs_set_scan(struct net_device *dev, struct iw_request_info *info,
27 union iwreq_data *wrqu, char *extra);
29 int lbs_scan_networks(struct lbs_private *priv, int full_scan);
31 void lbs_scan_worker(struct work_struct *work);
33 #endif