aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 81d725038f97..8a1aec54e68f 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -3594,6 +3594,25 @@ void cfg80211_ch_switch_notify(struct net_device *dev, int freq,
3594 enum nl80211_channel_type type); 3594 enum nl80211_channel_type type);
3595 3595
3596/* 3596/*
3597 * cfg80211_tdls_oper_request - request userspace to perform TDLS operation
3598 * @dev: the device on which the operation is requested
3599 * @peer: the MAC address of the peer device
3600 * @oper: the requested TDLS operation (NL80211_TDLS_SETUP or
3601 * NL80211_TDLS_TEARDOWN)
3602 * @reason_code: the reason code for teardown request
3603 * @gfp: allocation flags
3604 *
3605 * This function is used to request userspace to perform TDLS operation that
3606 * requires knowledge of keys, i.e., link setup or teardown when the AP
3607 * connection uses encryption. This is optional mechanism for the driver to use
3608 * if it can automatically determine when a TDLS link could be useful (e.g.,
3609 * based on traffic and signal strength for a peer).
3610 */
3611void cfg80211_tdls_oper_request(struct net_device *dev, const u8 *peer,
3612 enum nl80211_tdls_operation oper,
3613 u16 reason_code, gfp_t gfp);
3614
3615/*
3597 * cfg80211_calculate_bitrate - calculate actual bitrate (in 100Kbps units) 3616 * cfg80211_calculate_bitrate - calculate actual bitrate (in 100Kbps units)
3598 * @rate: given rate_info to calculate bitrate from 3617 * @rate: given rate_info to calculate bitrate from
3599 * 3618 *