aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-04-22 14:38:25 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-04-22 16:57:21 -0400
commit1965c85331ed29dc4fd32479ff31663e3e9a518f (patch)
tree1542f0fdf4121491671bbb604564cb4f6dd1ad58 /include/net/cfg80211.h
parentff2ba188fc5eaae529cb2ef9b127c3ca2a7df4b9 (diff)
nl80211: Add event for authentication/association timeout
SME needs to be notified when the authentication or association attempt times out and MLME has stopped processing in order to allow the SME to decide what to do next. Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h22
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 */
1480void cfg80211_send_rx_auth(struct net_device *dev, const u8 *buf, size_t len); 1482void 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 */
1489void 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 */
1491void cfg80211_send_rx_assoc(struct net_device *dev, const u8 *buf, size_t len); 1502void 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 */
1509void 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)