linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mac80211: Set global RRM capability
@ 2016-03-08 11:46 Emmanuel Grumbach
  2016-03-08 11:57 ` Grumbach, Emmanuel
  0 siblings, 1 reply; 4+ messages in thread
From: Emmanuel Grumbach @ 2016-03-08 11:46 UTC (permalink / raw)
  To: johannes; +Cc: linux-wireless, Emmanuel Grumbach

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(-)

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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* RE: [PATCH] mac80211: Set global RRM capability
  2016-03-08 11:46 Emmanuel Grumbach
@ 2016-03-08 11:57 ` Grumbach, Emmanuel
  0 siblings, 0 replies; 4+ messages in thread
From: Grumbach, Emmanuel @ 2016-03-08 11:57 UTC (permalink / raw)
  To: johannes@sipsolutions.net; +Cc: linux-wireless@vger.kernel.org

> 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] mac80211: Set global RRM capability
@ 2016-03-09  8:08 Emmanuel Grumbach
  2016-04-05  9:45 ` Johannes Berg
  0 siblings, 1 reply; 4+ messages in thread
From: Emmanuel Grumbach @ 2016-03-09  8:08 UTC (permalink / raw)
  To: johannes; +Cc: linux-wireless, Emmanuel Grumbach

Allow publishing RRM capabilities for features that are not
HW dependent.

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

diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index 8190bf2..8155961 100644
--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -558,6 +558,8 @@ struct ieee80211_hw *ieee80211_alloc_hw_nm(size_t priv_data_len,
 	if (!ops->set_key)
 		wiphy->flags |= WIPHY_FLAG_IBSS_RSN;
 
+	wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_RRM);
+
 	wiphy->bss_priv_size = sizeof(struct ieee80211_bss);
 
 	local = wiphy_priv(wiphy);
-- 
2.5.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] mac80211: Set global RRM capability
  2016-03-09  8:08 [PATCH] mac80211: Set global RRM capability Emmanuel Grumbach
@ 2016-04-05  9:45 ` Johannes Berg
  0 siblings, 0 replies; 4+ messages in thread
From: Johannes Berg @ 2016-04-05  9:45 UTC (permalink / raw)
  To: Emmanuel Grumbach; +Cc: linux-wireless

On Wed, 2016-03-09 at 10:08 +0200, Emmanuel Grumbach wrote:
> Allow publishing RRM capabilities for features that are not
> HW dependent.
> 
Applied.

johannes

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-04-05  9:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-09  8:08 [PATCH] mac80211: Set global RRM capability Emmanuel Grumbach
2016-04-05  9:45 ` Johannes Berg
  -- strict thread matches above, loose matches on Subject: below --
2016-03-08 11:46 Emmanuel Grumbach
2016-03-08 11:57 ` Grumbach, Emmanuel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).