diff mbox

mac80211: Set global RRM capability

Message ID 1457437561-19387-1-git-send-email-emmanuel.grumbach@intel.com (mailing list archive)
State Changes Requested
Headers show

Commit Message

Emmanuel Grumbach March 8, 2016, 11:46 a.m. UTC
Allow publishing RRM capabilities for features that are not
HW dependent.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
---
 net/mac80211/main.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Emmanuel Grumbach March 8, 2016, 11:57 a.m. UTC | #1
> Subject: [PATCH] mac80211: Set global RRM capability
> 
> Allow publishing RRM capabilities for features that are not HW dependent.
> 
> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
> ---

Err... please ignore..

>  net/mac80211/main.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/net/mac80211/main.c b/net/mac80211/main.c index
> 8190bf2..0c9b621 100644
> --- a/net/mac80211/main.c
> +++ b/net/mac80211/main.c
> @@ -548,7 +548,8 @@ struct ieee80211_hw
> *ieee80211_alloc_hw_nm(size_t priv_data_len,
>  			   NL80211_FEATURE_VIF_TXPOWER |
>  			   NL80211_FEATURE_MAC_ON_CREATE |
>  			   NL80211_FEATURE_USERSPACE_MPM |
> -			   NL80211_FEATURE_FULL_AP_CLIENT_STATE;
> +			   NL80211_FEATURE_FULL_AP_CLIENT_STATE |
> +			   NL80211_EXT_FEATURE_RRM;
> 
>  	if (!ops->hw_scan)
>  		wiphy->features |=
> NL80211_FEATURE_LOW_PRIORITY_SCAN |
> --
> 2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index 8190bf2..0c9b621 100644
--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -548,7 +548,8 @@  struct ieee80211_hw *ieee80211_alloc_hw_nm(size_t priv_data_len,
 			   NL80211_FEATURE_VIF_TXPOWER |
 			   NL80211_FEATURE_MAC_ON_CREATE |
 			   NL80211_FEATURE_USERSPACE_MPM |
-			   NL80211_FEATURE_FULL_AP_CLIENT_STATE;
+			   NL80211_FEATURE_FULL_AP_CLIENT_STATE |
+			   NL80211_EXT_FEATURE_RRM;
 
 	if (!ops->hw_scan)
 		wiphy->features |= NL80211_FEATURE_LOW_PRIORITY_SCAN |