On 19-09-17 05:15, yintang@xxxxxxxxxxxxxxxx wrote:
From: Yingying Tang <yintang@xxxxxxxxxxxxxxxx> Enable TDLS peer buffer STA feature. Set extended capability bit to enable buffer STA when driver support it. Signed-off-by: Yingying Tang <yintang@xxxxxxxxxxxxxxxx> --- include/net/cfg80211.h | 3 +++ net/mac80211/tdls.c | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index f12fa52..edefc25 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -3249,6 +3249,8 @@ struct cfg80211_ops { * beaconing mode (AP, IBSS, Mesh, ...). * @WIPHY_FLAG_HAS_STATIC_WEP: The device supports static WEP key installation * before connection. + * @WIPHY_FLAG_SUPPORT_TDLS_BUFFER_STA: Device support buffer STA when TDLS is + * established.
If I am not mistaken no new wiphy flags are supposed to be added. Although this might be something not reported to user-space, right? Have a look at struct wiphy::ext_features.
Regards, Arend