linux_dsm_epyc7002/drivers/net/wireless/ath/ath10k
Sven Eckelmann 3f25911158 ath10k: prevent active scans on potential unusable channels
The QCA4019 hw1.0 firmware 10.4-3.2.1-00050 and 10.4-3.5.3-00053 (and most
likely all other) seem to ignore the WMI_CHAN_FLAG_DFS flag during the
scan. This results in transmission (probe requests) on channels which are
not "available" for transmissions.

Since the firmware is closed source and nothing can be done from our side
to fix the problem in it, the driver has to work around this problem. The
WMI_CHAN_FLAG_PASSIVE seems to be interpreted by the firmware to not
scan actively on a channel unless an AP was detected on it. Simple probe
requests will then be transmitted by the STA on the channel.

ath10k must therefore also use this flag when it queues a radar channel for
scanning. This should reduce the chance of an active scan when the channel
might be "unusable" for transmissions.

Fixes: e8a50f8ba4 ("ath10k: introduce DFS implementation")
Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-07-31 10:47:32 +03:00
..
ahb.c ath10k: remove redundant pointers 'dev' and 'noa' 2018-07-30 20:54:05 +03:00
ahb.h ath10k: expose hif ops for ahb 2016-01-28 10:47:28 +02:00
bmi.c ath10k: update copyright year 2017-12-27 12:22:01 +02:00
bmi.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
ce.c ath10k: fix incorrect size of dma_free_coherent in ath10k_ce_alloc_src_ring_64 2018-06-14 18:11:26 +03:00
ce.h ath10k: snoc: stop including pci.h 2018-06-14 18:15:01 +03:00
core.c ath10k: handle mgmt tx completion event 2018-07-30 20:51:47 +03:00
core.h ath10k: handle mgmt tx completion event 2018-07-30 20:51:47 +03:00
coredump.c ath10k: add memory dump support for QCA9888 and QCA99X0 2018-05-25 12:46:05 +03:00
coredump.h ath10k: add memory dump support QCA9984 2018-03-29 11:54:32 +03:00
debug.c ath10k: add debugfs file warm_hw_reset 2018-07-30 20:59:32 +03:00
debug.h ath10k: debugfs support to get final TPC stats for 10.4 variants 2018-03-26 18:08:56 +03:00
debugfs_sta.c ath10k: fix information leak in debugfs 2018-04-27 14:24:25 +03:00
hif.h ath10k: add support to get target info from hif ops 2018-04-19 18:52:51 +03:00
htc.c ath10k: rename HTC_HOST_MAX_MSG_PER_BUNDLE define 2018-06-28 12:56:05 +03:00
htc.h ath10k: sdio: allocate correct size for RECV_1MORE_BLOCK rx packets 2018-07-02 17:21:37 +03:00
htt_rx.c ath10k: use locked skb_dequeue for rx completions 2018-06-29 14:56:58 +03:00
htt_tx.c ath10k: htt_tx: move lock into id_get function 2018-07-30 20:58:44 +03:00
htt.c ath10k: add inlined wrappers for htt tx ops 2018-04-19 19:19:28 +03:00
htt.h ath10k: enable hw checksum for wcn3990 2018-04-24 08:57:48 +03:00
hw.c ath10k: enable SRRI/DRRI support on ddr for WCN3990 2018-04-24 09:04:21 +03:00
hw.h ath10k: handle mgmt tx completion event 2018-07-30 20:51:47 +03:00
Kconfig ath10k: do not mix spaces and tabs in Kconfig 2018-06-14 18:17:27 +03:00
mac.c ath10k: prevent active scans on potential unusable channels 2018-07-31 10:47:32 +03:00
mac.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
Makefile ath10k: platform driver for WCN3990 SNOC WLAN module 2018-04-19 18:51:52 +03:00
p2p.c ath10k: remove ath10k_vif_to_arvif() 2017-02-14 19:38:15 +02:00
p2p.h ath10k: implement handling of p2p noa event 2015-03-07 09:57:42 +02:00
pci.c ath10k: modify hif tx paddr to dma_addr_t type 2018-04-19 18:52:44 +03:00
pci.h ath10k: snoc: stop including pci.h 2018-06-14 18:15:01 +03:00
rx_desc.h ath10k: replace bit shifts with the BIT() macro for rx desc bits 2018-05-12 12:25:17 +03:00
sdio.c ath10k: sdio: set skb len for all rx packets 2018-07-02 17:21:46 +03:00
sdio.h ath10k: rename HTC_HOST_MAX_MSG_PER_BUNDLE define 2018-06-28 12:56:05 +03:00
snoc.c ath10k: handle resource init failure case 2018-06-14 18:21:18 +03:00
snoc.h ath10k: snoc: stop including pci.h 2018-06-14 18:15:01 +03:00
spectral.c ath10k: fix spectral scan for QCA9984 and QCA9888 chipsets 2018-06-14 18:09:45 +03:00
spectral.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
swap.c ath10k: update copyright year 2017-12-27 12:22:01 +02:00
swap.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
targaddrs.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
testmode_i.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
testmode.c ath10k: re-enable the firmware fallback mechanism for testmode 2018-05-14 16:44:41 +02:00
testmode.h
thermal.c ath10k: update copyright year 2017-12-27 12:22:01 +02:00
thermal.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
trace.c
trace.h ath10k: fix use-after-free in ath10k_wmi_cmd_send_nowait 2018-03-26 18:13:03 +03:00
txrx.c ath10k: Add tx ack signal support for management frames 2018-04-19 18:47:00 +03:00
txrx.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
usb.c ath10k: add initial USB support 2017-08-03 14:31:01 +03:00
usb.h ath10k: add initial USB support 2017-08-03 14:31:01 +03:00
wmi-ops.h ath10k: handle mgmt tx completion event 2018-07-30 20:51:47 +03:00
wmi-tlv.c ath10k: remove redundant pointers 'dev' and 'noa' 2018-07-30 20:54:05 +03:00
wmi-tlv.h ath10k: handle mgmt tx completion event 2018-07-30 20:51:47 +03:00
wmi.c ath10k: add debugfs file warm_hw_reset 2018-07-30 20:59:32 +03:00
wmi.h ath10k: add debugfs file warm_hw_reset 2018-07-30 20:59:32 +03:00
wow.c ath10k: convert wow pattern from 802.3 to 802.11 2018-04-24 08:54:52 +03:00
wow.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00