scan.h 894 B

123456789101112131415161718192021222324252627282930313233
  1. /**
  2. * Interface for the wlan network scan routines
  3. *
  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
  9. #include <net/iw_handler.h>
  10. #define MAX_NETWORK_COUNT 128
  11. /**
  12. * @brief Maximum number of channels that can be sent in a setuserscan ioctl
  13. */
  14. #define LBS_IOCTL_USER_SCAN_CHAN_MAX 50
  15. int lbs_ssid_cmp(u8 *ssid1, u8 ssid1_len, u8 *ssid2, u8 ssid2_len);
  16. int lbs_send_specific_ssid_scan(struct lbs_private *priv, u8 *ssid,
  17. u8 ssid_len);
  18. int lbs_get_scan(struct net_device *dev, struct iw_request_info *info,
  19. struct iw_point *dwrq, char *extra);
  20. int lbs_set_scan(struct net_device *dev, struct iw_request_info *info,
  21. union iwreq_data *wrqu, char *extra);
  22. int lbs_scan_networks(struct lbs_private *priv, int full_scan);
  23. void lbs_scan_worker(struct work_struct *work);
  24. #endif