您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

scan.h 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * WPA Supplicant - Scanning
  3. * Copyright (c) 2003-2010, Jouni Malinen <j@w1.fi>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  8. *
  9. * Alternatively, this software may be distributed under the terms of BSD
  10. * license.
  11. *
  12. * See README and COPYING for more details.
  13. */
  14. #ifndef SCAN_H
  15. #define SCAN_H
  16. int wpa_supplicant_enabled_networks(struct wpa_config *conf);
  17. void wpa_supplicant_req_scan(struct wpa_supplicant *wpa_s, int sec, int usec);
  18. void wpa_supplicant_cancel_scan(struct wpa_supplicant *wpa_s);
  19. void wpa_supplicant_notify_scanning(struct wpa_supplicant *wpa_s,
  20. int scanning);
  21. struct wpa_driver_scan_params;
  22. int wpa_supplicant_trigger_scan(struct wpa_supplicant *wpa_s,
  23. struct wpa_driver_scan_params *params);
  24. struct wpa_scan_results *
  25. wpa_supplicant_get_scan_results(struct wpa_supplicant *wpa_s,
  26. struct scan_info *info, int new_scan);
  27. int wpa_supplicant_update_scan_results(struct wpa_supplicant *wpa_s);
  28. const u8 * wpa_scan_get_ie(const struct wpa_scan_res *res, u8 ie);
  29. const u8 * wpa_scan_get_vendor_ie(const struct wpa_scan_res *res,
  30. u32 vendor_type);
  31. struct wpabuf * wpa_scan_get_vendor_ie_multi(const struct wpa_scan_res *res,
  32. u32 vendor_type);
  33. struct wpabuf * wpa_scan_get_vendor_ie_multi_beacon(
  34. const struct wpa_scan_res *res, u32 vendor_type);
  35. void wpa_scan_results_free(struct wpa_scan_results *res);
  36. #endif /* SCAN_H */