diff options
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 7f7b53b69cb2..b8a76764e1c5 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -1475,22 +1475,40 @@ void cfg80211_unlink_bss(struct wiphy *wiphy, struct cfg80211_bss *bss); | |||
1475 | * @len: length of the frame data | 1475 | * @len: length of the frame data |
1476 | * | 1476 | * |
1477 | * This function is called whenever an authentication has been processed in | 1477 | * This function is called whenever an authentication has been processed in |
1478 | * station mode. | 1478 | * station mode. The driver is required to call either this function or |
1479 | * cfg80211_send_auth_timeout() to indicate the result of cfg80211_ops::auth() | ||
1480 | * call. | ||
1479 | */ | 1481 | */ |
1480 | void cfg80211_send_rx_auth(struct net_device *dev, const u8 *buf, size_t len); | 1482 | void cfg80211_send_rx_auth(struct net_device *dev, const u8 *buf, size_t len); |
1481 | 1483 | ||
1482 | /** | 1484 | /** |
1485 | * cfg80211_send_auth_timeout - notification of timed out authentication | ||
1486 | * @dev: network device | ||
1487 | * @addr: The MAC address of the device with which the authentication timed out | ||
1488 | */ | ||
1489 | void cfg80211_send_auth_timeout(struct net_device *dev, const u8 *addr); | ||
1490 | |||
1491 | /** | ||
1483 | * cfg80211_send_rx_assoc - notification of processed association | 1492 | * cfg80211_send_rx_assoc - notification of processed association |
1484 | * @dev: network device | 1493 | * @dev: network device |
1485 | * @buf: (re)association response frame (header + body) | 1494 | * @buf: (re)association response frame (header + body) |
1486 | * @len: length of the frame data | 1495 | * @len: length of the frame data |
1487 | * | 1496 | * |
1488 | * This function is called whenever a (re)association response has been | 1497 | * This function is called whenever a (re)association response has been |
1489 | * processed in station mode. | 1498 | * processed in station mode. The driver is required to call either this |
1499 | * function or cfg80211_send_assoc_timeout() to indicate the result of | ||
1500 | * cfg80211_ops::assoc() call. | ||
1490 | */ | 1501 | */ |
1491 | void cfg80211_send_rx_assoc(struct net_device *dev, const u8 *buf, size_t len); | 1502 | void cfg80211_send_rx_assoc(struct net_device *dev, const u8 *buf, size_t len); |
1492 | 1503 | ||
1493 | /** | 1504 | /** |
1505 | * cfg80211_send_assoc_timeout - notification of timed out association | ||
1506 | * @dev: network device | ||
1507 | * @addr: The MAC address of the device with which the association timed out | ||
1508 | */ | ||
1509 | void cfg80211_send_assoc_timeout(struct net_device *dev, const u8 *addr); | ||
1510 | |||
1511 | /** | ||
1494 | * cfg80211_send_deauth - notification of processed deauthentication | 1512 | * cfg80211_send_deauth - notification of processed deauthentication |
1495 | * @dev: network device | 1513 | * @dev: network device |
1496 | * @buf: deauthentication frame (header + body) | 1514 | * @buf: deauthentication frame (header + body) |