linux/drivers/net/wireless/ath
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
..
ar5523 ar5523: fix spelling mistake "to" -> "too" 2020-01-26 16:36:15 +02:00
ath5k ath5k: Use scnprintf() for avoiding potential buffer overflow 2020-03-12 10:21:27 +02:00
ath6kl net/wireless: Use kmemdup rather than duplicating its implementation 2019-10-02 07:16:10 +03:00
ath9k ath9k: add calibration timeout for AR9002 2020-04-28 12:07:21 +03:00
ath10k ath10k: add statistics of tx retries and tx failed when tx complete disable 2020-04-27 08:02:03 +03:00
ath11k ath11k: fix reo flush send 2020-04-27 07:52:59 +03:00
carl9170 carl9170: Use scnprintf() for avoiding potential buffer overflow 2020-03-12 15:43:36 +02:00
wcn36xx wcn36xx: fix spelling mistake "to" -> "too" 2020-01-26 16:40:19 +02:00
wil6210 wil6210: reject unsupported coalescing params 2020-03-06 22:45:55 -08:00
ath.h
debug.c
dfs_pattern_detector.c ath: DFS JP domain W56 fixed pulse type 3 RADAR detection 2019-04-29 17:58:51 +03:00
dfs_pattern_detector.h
dfs_pri_detector.c
dfs_pri_detector.h
hw.c
Kconfig Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git 2019-12-10 11:34:30 +02:00
key.c
main.c
Makefile ath11k: driver for Qualcomm IEEE 802.11ax devices 2019-11-25 14:16:34 +02:00
reg.h
regd_common.h ath: regd: add extra US coutry codes 2019-02-07 17:02:19 +02:00
regd.c ath: add support for special 0x0 regulatory domain 2019-12-02 12:08:01 +02:00
regd.h ath: drop duplicated define 2019-04-29 17:55:53 +03:00
spectral_common.h
trace.c
trace.h