nl80211.h 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. #ifndef __NET_WIRELESS_NL80211_H
  2. #define __NET_WIRELESS_NL80211_H
  3. #include "core.h"
  4. int nl80211_init(void);
  5. void nl80211_exit(void);
  6. void nl80211_notify_dev_rename(struct cfg80211_registered_device *rdev);
  7. void nl80211_send_scan_start(struct cfg80211_registered_device *rdev,
  8. struct net_device *netdev);
  9. void nl80211_send_scan_done(struct cfg80211_registered_device *rdev,
  10. struct net_device *netdev);
  11. void nl80211_send_scan_aborted(struct cfg80211_registered_device *rdev,
  12. struct net_device *netdev);
  13. void nl80211_send_reg_change_event(struct regulatory_request *request);
  14. void nl80211_send_rx_auth(struct cfg80211_registered_device *rdev,
  15. struct net_device *netdev,
  16. const u8 *buf, size_t len, gfp_t gfp);
  17. void nl80211_send_rx_assoc(struct cfg80211_registered_device *rdev,
  18. struct net_device *netdev,
  19. const u8 *buf, size_t len, gfp_t gfp);
  20. void nl80211_send_deauth(struct cfg80211_registered_device *rdev,
  21. struct net_device *netdev,
  22. const u8 *buf, size_t len, gfp_t gfp);
  23. void nl80211_send_disassoc(struct cfg80211_registered_device *rdev,
  24. struct net_device *netdev,
  25. const u8 *buf, size_t len, gfp_t gfp);
  26. void nl80211_send_auth_timeout(struct cfg80211_registered_device *rdev,
  27. struct net_device *netdev,
  28. const u8 *addr, gfp_t gfp);
  29. void nl80211_send_assoc_timeout(struct cfg80211_registered_device *rdev,
  30. struct net_device *netdev,
  31. const u8 *addr, gfp_t gfp);
  32. void nl80211_send_connect_result(struct cfg80211_registered_device *rdev,
  33. struct net_device *netdev, const u8 *bssid,
  34. const u8 *req_ie, size_t req_ie_len,
  35. const u8 *resp_ie, size_t resp_ie_len,
  36. u16 status, gfp_t gfp);
  37. void nl80211_send_roamed(struct cfg80211_registered_device *rdev,
  38. struct net_device *netdev, const u8 *bssid,
  39. const u8 *req_ie, size_t req_ie_len,
  40. const u8 *resp_ie, size_t resp_ie_len, gfp_t gfp);
  41. void nl80211_send_disconnected(struct cfg80211_registered_device *rdev,
  42. struct net_device *netdev, u16 reason,
  43. const u8 *ie, size_t ie_len, bool from_ap);
  44. void
  45. nl80211_michael_mic_failure(struct cfg80211_registered_device *rdev,
  46. struct net_device *netdev, const u8 *addr,
  47. enum nl80211_key_type key_type,
  48. int key_id, const u8 *tsc, gfp_t gfp);
  49. void
  50. nl80211_send_beacon_hint_event(struct wiphy *wiphy,
  51. struct ieee80211_channel *channel_before,
  52. struct ieee80211_channel *channel_after);
  53. void nl80211_send_ibss_bssid(struct cfg80211_registered_device *rdev,
  54. struct net_device *netdev, const u8 *bssid,
  55. gfp_t gfp);
  56. #endif /* __NET_WIRELESS_NL80211_H */