mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-18 06:50:08 +00:00
53b46b8444
Previously, nl80211 mlme events were generated only for received deauthentication and disassociation frames. We need to do the same for locally generated ones in order to let applications know that we disconnected (e.g., when AP does not reply to a probe). Rename the nl80211 and cfg80211 functions (s/rx_//) to make it clearer that they are used for both received and locally generated frames. Signed-off-by: Jouni Malinen <j@w1.fi> Signed-off-by: John W. Linville <linville@tuxdriver.com>
28 lines
1.1 KiB
C
28 lines
1.1 KiB
C
#ifndef __NET_WIRELESS_NL80211_H
|
|
#define __NET_WIRELESS_NL80211_H
|
|
|
|
#include "core.h"
|
|
|
|
extern int nl80211_init(void);
|
|
extern void nl80211_exit(void);
|
|
extern void nl80211_notify_dev_rename(struct cfg80211_registered_device *rdev);
|
|
extern void nl80211_send_scan_done(struct cfg80211_registered_device *rdev,
|
|
struct net_device *netdev);
|
|
extern void nl80211_send_scan_aborted(struct cfg80211_registered_device *rdev,
|
|
struct net_device *netdev);
|
|
extern void nl80211_send_reg_change_event(struct regulatory_request *request);
|
|
extern void nl80211_send_rx_auth(struct cfg80211_registered_device *rdev,
|
|
struct net_device *netdev,
|
|
const u8 *buf, size_t len);
|
|
extern void nl80211_send_rx_assoc(struct cfg80211_registered_device *rdev,
|
|
struct net_device *netdev,
|
|
const u8 *buf, size_t len);
|
|
extern void nl80211_send_deauth(struct cfg80211_registered_device *rdev,
|
|
struct net_device *netdev,
|
|
const u8 *buf, size_t len);
|
|
extern void nl80211_send_disassoc(struct cfg80211_registered_device *rdev,
|
|
struct net_device *netdev,
|
|
const u8 *buf, size_t len);
|
|
|
|
#endif /* __NET_WIRELESS_NL80211_H */
|