iwlwifi: mvm: Set global RRM capability
authorBeni Lev <beni.lev@intel.com>
Wed, 23 Dec 2015 14:39:57 +0000 (17:39 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sat, 27 Feb 2016 20:00:13 +0000 (22:00 +0200)
Allow to publish RRM capabilities without the need to support a minimal
capability set. Since some RRM features(e.g. neighbor report) are fw
independent, set this capability unconditionally.

Signed-off-by: Beni Lev <beni.lev@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c

index 85ea5a8b5e3a439a8edc71cced368f5dbfdc6f1d..4c2449b0ba86e286990f55f5ecf53028261c2be7 100644 (file)
@@ -610,6 +610,8 @@ int iwl_mvm_mac_setup_register(struct iwl_mvm *mvm)
                        IWL_UCODE_TLV_CAPA_WFA_TPC_REP_IE_SUPPORT))
                hw->wiphy->features |= NL80211_FEATURE_WFA_TPC_IE_IN_PROBES;
 
+       wiphy_ext_feature_set(hw->wiphy, NL80211_EXT_FEATURE_RRM);
+
        mvm->rts_threshold = IEEE80211_MAX_RTS_THRESHOLD;
 
 #ifdef CONFIG_PM_SLEEP
This page took 0.072166 seconds and 5 git commands to generate.