diff options
| author | Jérôme Pouiller <jerome.pouiller@silabs.com> | 2020-04-15 18:11:35 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-16 12:29:42 +0200 |
| commit | 349e540a3d09ccd8ee1367bed09958899bfd9ff1 (patch) | |
| tree | 3fdc81d02b74f256adc99059f4470ab69eafe9a6 | |
| parent | eb52d63a6dbded02375fa094dacec9c4503b8b72 (diff) | |
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>
| -rw-r--r-- | drivers/staging/wfx/sta.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/wfx/sta.c b/drivers/staging/wfx/sta.c index 7c8ebd76114e..0b2ef2d3023b 100644 --- a/drivers/staging/wfx/sta.c +++ b/drivers/staging/wfx/sta.c @@ -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); |
