On Tue, Sep 19, 2017 at 10:51:04AM +0800, [email protected] wrote:
> From: Yingying Tang <[email protected]>
> 
> Enable TDLS peer buffer STA feature.
> Set extended capability bit to enable buffer STA when driver
> support it.
> 
> Signed-off-by: Yingying Tang <[email protected]>
> ---
>  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_ST: Device support buffer STA when TDLS is

"_ST:" should be "_STA:"

> + *   established.
>   */
>  enum wiphy_flags {
>       /* use hole at 0 */
> @@ -3275,6 +3277,7 @@ enum wiphy_flags {
>       WIPHY_FLAG_SUPPORTS_5_10_MHZ            = BIT(22),
>       WIPHY_FLAG_HAS_CHANNEL_SWITCH           = BIT(23),
>       WIPHY_FLAG_HAS_STATIC_WEP               = BIT(24),
> +     WIPHY_FLAG_SUPPORT_TDLS_BUFFER_STA      = BIT(25),
>  };
>  
>  /**
> [...]

-- 
James Cameron
http://quozl.netrek.org/

Reply via email to