mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 23:29:10 -04:00
staging: wfx: do not use built-in AUTO_ERP feature
Firmware is able to detect detect changes about ERP protection in beacons and automatically enable/disable ERP protection. However, it not bring performance improvements and we are more confident in the ERP handling of mac80211. So, the patch disable this feature. Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com> Link: https://lore.kernel.org/r/20200415161147.69738-9-Jerome.Pouiller@silabs.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
eb52d63a6d
commit
349e540a3d
@@ -147,10 +147,6 @@ void wfx_update_filtering(struct wfx_vif *wvif)
|
||||
if (wvif->disable_beacon_filter) {
|
||||
hif_set_beacon_filter_table(wvif, 0, NULL);
|
||||
hif_beacon_filter_control(wvif, 0, 1);
|
||||
} else if (wvif->vif->type != NL80211_IFTYPE_STATION) {
|
||||
hif_set_beacon_filter_table(wvif, 2, filter_ies);
|
||||
hif_beacon_filter_control(wvif, HIF_BEACON_FILTER_ENABLE |
|
||||
HIF_BEACON_FILTER_AUTO_ERP, 0);
|
||||
} else {
|
||||
hif_set_beacon_filter_table(wvif, 3, filter_ies);
|
||||
hif_beacon_filter_control(wvif, HIF_BEACON_FILTER_ENABLE, 0);
|
||||
|
||||
Reference in New Issue
Block a user