linux_dsm_epyc7002/drivers/net/wireless
Sergey Ryazanov d8d20845c7 ath9k: add calibration timeout for AR9002
ADC & I/Q calibrations could take infinite time to comple, since they
depend on received frames. In particular the I/Q mismatch calibration
requires receiving of OFDM frames for completion. But in the 2.4GHz
band, a station could receive only CCK frames for a very long time.

And while we wait for the completion of one of the mentioned
calibrations, the NF calibration is blocked. Moreover, in some
environments, I/Q calibration is unable to complete until a correct
noise calibration will be performed due to AGC behaviour.

In order to avoid delaying NF calibration on forever, limit the maximum
duration of ADCs & I/Q calibrations. If the calibration is not completed
within the maximum time, it will be interrupted and a next calibration
will be performed. The code that selects the next calibration has been
reworked to the loop so incompleted calibration will be respinned later.

А maximum calibration time of 30 seconds was selected to give the
calibration enough time to complete and to not interfere with the long
(NF) calibration.

Run tested with AR9220.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200424004923.17129-7-ryazanov.s.a@gmail.com
2020-04-28 12:07:21 +03:00
..
admtek adm80211: Replace zero-length array with flexible-array member 2020-03-23 19:16:11 +02:00
ath ath9k: add calibration timeout for AR9002 2020-04-28 12:07:21 +03:00
atmel atmel: at76c50x: Replace zero-length array with flexible-array member 2020-03-23 19:17:11 +02:00
broadcom brcmfmac: add USB autosuspend feature support 2020-03-26 11:44:18 +02:00
cisco proc: convert everything to "struct proc_ops" 2020-02-04 03:05:26 +00:00
intel Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-03-31 17:29:33 -07:00
intersil Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-03-31 17:29:33 -07:00
marvell wireless: marvell: Replace zero-length array with flexible-array member 2020-03-23 19:11:09 +02:00
mediatek wireless-drivers-next patches for v5.7 2020-03-24 16:15:58 -07:00
quantenna qtnfmac: add interface combination check for repeater mode 2020-03-12 15:38:59 +02:00
ralink
realtek wireless-drivers-next patches for v5.7 2020-03-27 15:40:24 -07:00
rsi rsi: fix null pointer dereference during rsi_shutdown() 2020-02-12 18:19:14 +02:00
st cw1200: Replace zero-length array with flexible-array member 2020-03-23 19:14:44 +02:00
ti Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-03-25 18:58:11 -07:00
zydas zd1211rw: Replace zero-length array with flexible-array member 2020-03-23 19:13:28 +02:00
Kconfig
mac80211_hwsim.c mac80211_hwsim: add frame transmission support over virtio 2020-03-20 14:42:19 +01:00
mac80211_hwsim.h mac80211_hwsim: add frame transmission support over virtio 2020-03-20 14:42:19 +01:00
Makefile
ray_cs.c proc: convert everything to "struct proc_ops" 2020-02-04 03:05:26 +00:00
ray_cs.h
rayctl.h ray_cs: Replace zero-length array with flexible-array member 2020-03-23 19:18:27 +02:00
rndis_wlan.c
virt_wifi.c virt_wifi: implement ndo_get_iflink 2020-03-20 14:42:20 +01:00
wl3501_cs.c
wl3501.h wl3501_cs: Replace zero-length array with flexible-array member 2020-03-23 19:21:21 +02:00