All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] ath9k: AR9002 calibration fixes
@ 2020-04-24  0:49 Sergey Ryazanov
  2020-04-24  0:49 ` [PATCH 1/6] ath9k: fix AR9002 ADC and NF calibrations Sergey Ryazanov
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Sergey Ryazanov @ 2020-04-24  0:49 UTC (permalink / raw)
  To: Kalle Valo; +Cc: QCA ath9k Development, linux-wireless

Hello,

I am faced a situation where the AR9220 AGC is goes crazy in case of a
low Rx signal in a noisy environment. It seems like it turned off the
internal LNA, so low signal neighbours become completely inaccessable,
and RSSI of neighbours with a strong signal drops by around 30 dB.
Periodic NF calibration perfectly solves this situation. But the NF
calibration itself in some cases could be blocked by the ADCs & I/Q
calibrations forever. This series is an attempt to address these NF
calibration blocking issues.

The first patch disables ADC gain & offset calibrations for unsupported
channels. The second patch is a trivial code cleanup.

And the last four patches together prevent the NF calibration infinite
deferring. They limit the run time of individual calibration, allow
correct running of NF calibration in between ADCs & I/Q calibrations
and prevent missing of NF periodic calibrations.

Run tested with AR9220 based NIC.

Sergey Ryazanov (6):
  ath9k: fix AR9002 ADC and NF calibrations
  ath9k: remove needless NFCAL_PENDING flag setting
  ath9k: do not miss longcal on AR9002
  ath9k: interleaved NF calibration on AR9002
  ath9k: invalidate all calibrations at once
  ath9k: add calibration timeout for AR9002

 drivers/net/wireless/ath/ath9k/ar9002_calib.c | 49 +++++++++++++++----
 drivers/net/wireless/ath/ath9k/calib.c        | 16 +++---
 drivers/net/wireless/ath/ath9k/hw.h           |  2 +
 3 files changed, 51 insertions(+), 16 deletions(-)

-- 
2.24.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-04-28  9:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-24  0:49 [PATCH 0/6] ath9k: AR9002 calibration fixes Sergey Ryazanov
2020-04-24  0:49 ` [PATCH 1/6] ath9k: fix AR9002 ADC and NF calibrations Sergey Ryazanov
2020-04-28  9:07   ` Kalle Valo
2020-04-24  0:49 ` [PATCH 2/6] ath9k: remove needless NFCAL_PENDING flag setting Sergey Ryazanov
2020-04-24  0:49 ` [PATCH 3/6] ath9k: do not miss longcal on AR9002 Sergey Ryazanov
2020-04-24  0:49 ` [PATCH 4/6] ath9k: interleaved NF calibration " Sergey Ryazanov
2020-04-24  0:49 ` [PATCH 5/6] ath9k: invalidate all calibrations at once Sergey Ryazanov
2020-04-24  0:49 ` [PATCH 6/6] ath9k: add calibration timeout for AR9002 Sergey Ryazanov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.