iwlwifi: mvm: support sta_statistics() even on older firmware
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 16 Aug 2018 10:25:48 +0000 (13:25 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 15 Nov 2018 21:50:58 +0000 (23:50 +0200)
commitec484d03ef0df8d34086b95710e355a259cbe1f2
tree826cf7f7405ffb5c7e9e50ea8b85df057edc6479
parent66e839030fd698586734e017fd55c4f2a89dba0b
iwlwifi: mvm: support sta_statistics() even on older firmware

The oldest firmware supported by iwlmvm do support getting
the average beacon RSSI. Enable the sta_statistics() call
from mac80211 even on older firmware versions.

Fixes: 33cef9256342 ("iwlwifi: mvm: support beacon statistics for BSS client")
Cc: stable@vger.kernel.org # 4.2+
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c