android_kernel_xiaomi_sm8350/drivers/net/wireless/iwlwifi
Jouni Malinen b7a530d82c mac80211: Disable requests for new scans in AP mode
AP mode operations are seriously affected if mac80211 runs through a
multi-second scan while the AP is trying to send Beacon frames on the
operation channel. While this could be implemented in a way that does
not cause too many problems, it is not very simple and will require
synchronization with Beacon frame scheduling in the drivers (scan one
channel at a time between Beacon frames). Furthermore, such scanning
takes quite a bit longer time and existing userspace applications
would be likely to timeout while waiting for the results.

For now, just refuse requests for new scans (SIOCSIWSCAN) when in AP
mode. In practice, this moves the rejection from iwl* drivers into
mac80211 to make it apply to every mac80211-based driver.

This issue shows up in associated stations getting disconnected when
something (e.g., Network Manager) requests a scan while the interface
is in AP mode. When doing this continuously (e.g., NM does it every 120
seconds), the network gets close to useless.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-12-12 14:02:12 -05:00
..
iwl3945-base.c mac80211: Disable requests for new scans in AP mode 2008-12-12 14:02:12 -05:00
iwl-3945-commands.h iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-3945-core.h iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-3945-debug.h iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-3945-hw.h iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-3945-io.h iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-3945-led.c iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-3945-led.h iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-3945-rs.c iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-3945-rs.h iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-3945.c iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-3945.h iwlwifi: 3945 remove qos module parameter 2008-12-12 14:01:51 -05:00
iwl-4965-hw.h iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-4965.c iwlwifi: remove qos module parameter 2008-12-12 14:01:53 -05:00
iwl-5000-hw.h iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-5000.c iwlwifi: remove qos module parameter 2008-12-12 14:01:53 -05:00
iwl-agn-hcmd-check.c iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-agn-rs.c iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-agn-rs.h iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-agn.c mac80211: Disable requests for new scans in AP mode 2008-12-12 14:02:12 -05:00
iwl-calib.c iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-calib.h iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-commands.h iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-core.c iwlwifi: remove qos module parameter 2008-12-12 14:01:53 -05:00
iwl-core.h iwlwifi: remove qos module parameter 2008-12-12 14:01:53 -05:00
iwl-csr.h iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-debug.h iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-debugfs.c iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-dev.h iwlwifi: remove qos module parameter 2008-12-12 14:01:53 -05:00
iwl-eeprom.c iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-eeprom.h iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-fh.h iwlifi: remove twice defined SINGLE_FRAME RX FH MASK 2008-12-12 14:01:49 -05:00
iwl-hcmd.c iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-helpers.h iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-io.h iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-led.c iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-led.h iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-power.c iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-power.h iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-prph.h iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-rfkill.c iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-rfkill.h iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-rx.c iwlifi: remove twice defined SINGLE_FRAME RX FH MASK 2008-12-12 14:01:49 -05:00
iwl-scan.c iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-spectrum.c iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-spectrum.h iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-sta.c iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-sta.h iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
iwl-tx.c iwlwifi: change email contact information 2008-12-12 14:01:46 -05:00
Kconfig wireless: consolidate on a single escape_essid implementation 2008-10-31 19:00:46 -04:00
Makefile iwlwifi: move host command check function into separate file 2008-12-05 09:35:51 -05:00