aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/net/cfg80211.h21
1 files changed, 14 insertions, 7 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index dba7874d1963..1696ff647a08 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1572,64 +1572,70 @@ void cfg80211_unlink_bss(struct wiphy *wiphy, struct cfg80211_bss *bss);
1572 * @dev: network device 1572 * @dev: network device
1573 * @buf: authentication frame (header + body) 1573 * @buf: authentication frame (header + body)
1574 * @len: length of the frame data 1574 * @len: length of the frame data
1575 * @gfp: allocation flags
1575 * 1576 *
1576 * This function is called whenever an authentication has been processed in 1577 * This function is called whenever an authentication has been processed in
1577 * station mode. The driver is required to call either this function or 1578 * station mode. The driver is required to call either this function or
1578 * cfg80211_send_auth_timeout() to indicate the result of cfg80211_ops::auth() 1579 * cfg80211_send_auth_timeout() to indicate the result of cfg80211_ops::auth()
1579 * call. 1580 * call.
1580 */ 1581 */
1581void cfg80211_send_rx_auth(struct net_device *dev, const u8 *buf, size_t len); 1582void cfg80211_send_rx_auth(struct net_device *dev, const u8 *buf, size_t len, gfp_t gfp);
1582 1583
1583/** 1584/**
1584 * cfg80211_send_auth_timeout - notification of timed out authentication 1585 * cfg80211_send_auth_timeout - notification of timed out authentication
1585 * @dev: network device 1586 * @dev: network device
1586 * @addr: The MAC address of the device with which the authentication timed out 1587 * @addr: The MAC address of the device with which the authentication timed out
1588 * @gfp: allocation flags
1587 */ 1589 */
1588void cfg80211_send_auth_timeout(struct net_device *dev, const u8 *addr); 1590void cfg80211_send_auth_timeout(struct net_device *dev, const u8 *addr, gfp_t gfp);
1589 1591
1590/** 1592/**
1591 * cfg80211_send_rx_assoc - notification of processed association 1593 * cfg80211_send_rx_assoc - notification of processed association
1592 * @dev: network device 1594 * @dev: network device
1593 * @buf: (re)association response frame (header + body) 1595 * @buf: (re)association response frame (header + body)
1594 * @len: length of the frame data 1596 * @len: length of the frame data
1597 * @gfp: allocation flags
1595 * 1598 *
1596 * This function is called whenever a (re)association response has been 1599 * This function is called whenever a (re)association response has been
1597 * processed in station mode. The driver is required to call either this 1600 * processed in station mode. The driver is required to call either this
1598 * function or cfg80211_send_assoc_timeout() to indicate the result of 1601 * function or cfg80211_send_assoc_timeout() to indicate the result of
1599 * cfg80211_ops::assoc() call. 1602 * cfg80211_ops::assoc() call.
1600 */ 1603 */
1601void cfg80211_send_rx_assoc(struct net_device *dev, const u8 *buf, size_t len); 1604void cfg80211_send_rx_assoc(struct net_device *dev, const u8 *buf, size_t len, gfp_t gfp);
1602 1605
1603/** 1606/**
1604 * cfg80211_send_assoc_timeout - notification of timed out association 1607 * cfg80211_send_assoc_timeout - notification of timed out association
1605 * @dev: network device 1608 * @dev: network device
1606 * @addr: The MAC address of the device with which the association timed out 1609 * @addr: The MAC address of the device with which the association timed out
1610 * @gfp: allocation flags
1607 */ 1611 */
1608void cfg80211_send_assoc_timeout(struct net_device *dev, const u8 *addr); 1612void cfg80211_send_assoc_timeout(struct net_device *dev, const u8 *addr, gfp_t gfp);
1609 1613
1610/** 1614/**
1611 * cfg80211_send_deauth - notification of processed deauthentication 1615 * cfg80211_send_deauth - notification of processed deauthentication
1612 * @dev: network device 1616 * @dev: network device
1613 * @buf: deauthentication frame (header + body) 1617 * @buf: deauthentication frame (header + body)
1614 * @len: length of the frame data 1618 * @len: length of the frame data
1619 * @gfp: allocation flags
1615 * 1620 *
1616 * This function is called whenever deauthentication has been processed in 1621 * This function is called whenever deauthentication has been processed in
1617 * station mode. This includes both received deauthentication frames and 1622 * station mode. This includes both received deauthentication frames and
1618 * locally generated ones. 1623 * locally generated ones.
1619 */ 1624 */
1620void cfg80211_send_deauth(struct net_device *dev, const u8 *buf, size_t len); 1625void cfg80211_send_deauth(struct net_device *dev, const u8 *buf, size_t len, gfp_t gfp);
1621 1626
1622/** 1627/**
1623 * cfg80211_send_disassoc - notification of processed disassociation 1628 * cfg80211_send_disassoc - notification of processed disassociation
1624 * @dev: network device 1629 * @dev: network device
1625 * @buf: disassociation response frame (header + body) 1630 * @buf: disassociation response frame (header + body)
1626 * @len: length of the frame data 1631 * @len: length of the frame data
1632 * @gfp: allocation flags
1627 * 1633 *
1628 * This function is called whenever disassociation has been processed in 1634 * This function is called whenever disassociation has been processed in
1629 * station mode. This includes both received disassociation frames and locally 1635 * station mode. This includes both received disassociation frames and locally
1630 * generated ones. 1636 * generated ones.
1631 */ 1637 */
1632void cfg80211_send_disassoc(struct net_device *dev, const u8 *buf, size_t len); 1638void cfg80211_send_disassoc(struct net_device *dev, const u8 *buf, size_t len, gfp_t gfp);
1633 1639
1634/** 1640/**
1635 * cfg80211_hold_bss - exclude bss from expiration 1641 * cfg80211_hold_bss - exclude bss from expiration
@@ -1655,6 +1661,7 @@ void cfg80211_unhold_bss(struct cfg80211_bss *bss);
1655 * @key_type: The key type that the received frame used 1661 * @key_type: The key type that the received frame used
1656 * @key_id: Key identifier (0..3) 1662 * @key_id: Key identifier (0..3)
1657 * @tsc: The TSC value of the frame that generated the MIC failure (6 octets) 1663 * @tsc: The TSC value of the frame that generated the MIC failure (6 octets)
1664 * @gfp: allocation flags
1658 * 1665 *
1659 * This function is called whenever the local MAC detects a MIC failure in a 1666 * This function is called whenever the local MAC detects a MIC failure in a
1660 * received frame. This matches with MLME-MICHAELMICFAILURE.indication() 1667 * received frame. This matches with MLME-MICHAELMICFAILURE.indication()
@@ -1662,7 +1669,7 @@ void cfg80211_unhold_bss(struct cfg80211_bss *bss);
1662 */ 1669 */
1663void cfg80211_michael_mic_failure(struct net_device *dev, const u8 *addr, 1670void cfg80211_michael_mic_failure(struct net_device *dev, const u8 *addr,
1664 enum nl80211_key_type key_type, int key_id, 1671 enum nl80211_key_type key_type, int key_id,
1665 const u8 *tsc); 1672 const u8 *tsc, gfp_t gfp);
1666 1673
1667/** 1674/**
1668 * cfg80211_ibss_joined - notify cfg80211 that device joined an IBSS 1675 * cfg80211_ibss_joined - notify cfg80211 that device joined an IBSS