Skip to content

Commit ec484d0

Browse files
egrumbachlucacoelho
authored andcommitted
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: 33cef92 ("iwlwifi: mvm: support beacon statistics for BSS client") Cc: [email protected] # 4.2+ Signed-off-by: Emmanuel Grumbach <[email protected]> Signed-off-by: Luca Coelho <[email protected]>
1 parent 66e8390 commit ec484d0

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4444,10 +4444,6 @@ static void iwl_mvm_mac_sta_statistics(struct ieee80211_hw *hw,
44444444
sinfo->filled |= BIT_ULL(NL80211_STA_INFO_SIGNAL_AVG);
44454445
}
44464446

4447-
if (!fw_has_capa(&mvm->fw->ucode_capa,
4448-
IWL_UCODE_TLV_CAPA_RADIO_BEACON_STATS))
4449-
return;
4450-
44514447
/* if beacon filtering isn't on mac80211 does it anyway */
44524448
if (!(vif->driver_flags & IEEE80211_VIF_BEACON_FILTER))
44534449
return;

0 commit comments

Comments
 (0)