diff options
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 31 |
1 files changed, 23 insertions, 8 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 6f4862b3ec2c..ff67865de231 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -1809,30 +1809,45 @@ void cfg80211_send_assoc_timeout(struct net_device *dev, const u8 *addr); | |||
1809 | * @dev: network device | 1809 | * @dev: network device |
1810 | * @buf: deauthentication frame (header + body) | 1810 | * @buf: deauthentication frame (header + body) |
1811 | * @len: length of the frame data | 1811 | * @len: length of the frame data |
1812 | * @cookie: cookie from ->deauth if called within that callback, | ||
1813 | * %NULL otherwise | ||
1814 | * | 1812 | * |
1815 | * This function is called whenever deauthentication has been processed in | 1813 | * This function is called whenever deauthentication has been processed in |
1816 | * station mode. This includes both received deauthentication frames and | 1814 | * station mode. This includes both received deauthentication frames and |
1817 | * locally generated ones. This function may sleep. | 1815 | * locally generated ones. This function may sleep. |
1818 | */ | 1816 | */ |
1819 | void cfg80211_send_deauth(struct net_device *dev, const u8 *buf, size_t len, | 1817 | void cfg80211_send_deauth(struct net_device *dev, const u8 *buf, size_t len); |
1820 | void *cookie); | 1818 | |
1819 | /** | ||
1820 | * __cfg80211_send_deauth - notification of processed deauthentication | ||
1821 | * @dev: network device | ||
1822 | * @buf: deauthentication frame (header + body) | ||
1823 | * @len: length of the frame data | ||
1824 | * | ||
1825 | * Like cfg80211_send_deauth(), but doesn't take the wdev lock. | ||
1826 | */ | ||
1827 | void __cfg80211_send_deauth(struct net_device *dev, const u8 *buf, size_t len); | ||
1821 | 1828 | ||
1822 | /** | 1829 | /** |
1823 | * cfg80211_send_disassoc - notification of processed disassociation | 1830 | * cfg80211_send_disassoc - notification of processed disassociation |
1824 | * @dev: network device | 1831 | * @dev: network device |
1825 | * @buf: disassociation response frame (header + body) | 1832 | * @buf: disassociation response frame (header + body) |
1826 | * @len: length of the frame data | 1833 | * @len: length of the frame data |
1827 | * @cookie: cookie from ->disassoc if called within that callback, | ||
1828 | * %NULL otherwise | ||
1829 | * | 1834 | * |
1830 | * This function is called whenever disassociation has been processed in | 1835 | * This function is called whenever disassociation has been processed in |
1831 | * station mode. This includes both received disassociation frames and locally | 1836 | * station mode. This includes both received disassociation frames and locally |
1832 | * generated ones. This function may sleep. | 1837 | * generated ones. This function may sleep. |
1833 | */ | 1838 | */ |
1834 | void cfg80211_send_disassoc(struct net_device *dev, const u8 *buf, size_t len, | 1839 | void cfg80211_send_disassoc(struct net_device *dev, const u8 *buf, size_t len); |
1835 | void *cookie); | 1840 | |
1841 | /** | ||
1842 | * __cfg80211_send_disassoc - notification of processed disassociation | ||
1843 | * @dev: network device | ||
1844 | * @buf: disassociation response frame (header + body) | ||
1845 | * @len: length of the frame data | ||
1846 | * | ||
1847 | * Like cfg80211_send_disassoc(), but doesn't take the wdev lock. | ||
1848 | */ | ||
1849 | void __cfg80211_send_disassoc(struct net_device *dev, const u8 *buf, | ||
1850 | size_t len); | ||
1836 | 1851 | ||
1837 | /** | 1852 | /** |
1838 | * cfg80211_michael_mic_failure - notification of Michael MIC failure (TKIP) | 1853 | * cfg80211_michael_mic_failure - notification of Michael MIC failure (TKIP) |