From: Emmanuel Grumbach Date: Wed, 9 Mar 2016 08:08:27 +0000 (+0200) Subject: mac80211: Set global RRM capability X-Git-Tag: v4.7-rc1~154^2~326^2~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f278ce4ffaaa2ee3adb957add3df7b41e6ecc1b3;p=platform%2Fkernel%2Flinux-exynos.git mac80211: Set global RRM capability Allow publishing RRM capabilities for features that are not HW dependent. Signed-off-by: Emmanuel Grumbach Signed-off-by: Johannes Berg --- 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);