Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH v3 0/8] rtw89: 8852c: add RF calibration
@ 2022-05-02 23:54 Ping-Ke Shih
  2022-05-02 23:54 ` [PATCH v3 1/8] rtw89: 8852c: rfk: add RFK tables Ping-Ke Shih
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Ping-Ke Shih @ 2022-05-02 23:54 UTC (permalink / raw)
  To: kvalo; +Cc: linux-wireless

These RFK (RF calibration) can be called once interface is going up, or
when we are going to connect to AP in certain channel, or band is changed.
The general steps of calibration are to backup registers (optional) and
set a set of registers before doing calibration according to channels or
something else, and then trigger the calibration and poll if calibration
is complete. Then, check the result is positive or not to decide to
adjust parameters and re-trigger again. If the result is okay, set
registers accordingly, and restore registers we backup before (optional).

v3:
    - shrink number of patches from 16 to 8
    - add blank lines to make code more readable
    - use upper case for macros name with proper prefix
    - move const tables upward to top of .c file
v2: add patch 15 to fix clang warning

Ping-Ke Shih (8):
  rtw89: 8852c: rfk: add RFK tables
  rtw89: 8852c: rfk: add DACK
  rtw89: 8852c: rfk: add LCK
  rtw89: 8852c: rfk: add TSSI
  rtw89: 8852c: rfk: add RCK
  rtw89: 8852c: rfk: add RX DCK
  rtw89: 8852c: rfk: add IQK
  rtw89: 8852c: rfk: add DPK

 drivers/net/wireless/realtek/rtw89/core.h     |   19 +-
 drivers/net/wireless/realtek/rtw89/reg.h      |  211 +-
 .../net/wireless/realtek/rtw89/rtw8852a_rfk.c |    8 +-
 drivers/net/wireless/realtek/rtw89/rtw8852c.c |   34 +
 .../net/wireless/realtek/rtw89/rtw8852c_rfk.c | 3825 ++++++++++++++++-
 .../net/wireless/realtek/rtw89/rtw8852c_rfk.h |   13 +
 .../realtek/rtw89/rtw8852c_rfk_table.c        |  781 ++++
 .../realtek/rtw89/rtw8852c_rfk_table.h        |   67 +
 8 files changed, 4930 insertions(+), 28 deletions(-)
 create mode 100644 drivers/net/wireless/realtek/rtw89/rtw8852c_rfk_table.c
 create mode 100644 drivers/net/wireless/realtek/rtw89/rtw8852c_rfk_table.h

-- 
2.25.1


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

end of thread, other threads:[~2022-05-03  5:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-02 23:54 [PATCH v3 0/8] rtw89: 8852c: add RF calibration Ping-Ke Shih
2022-05-02 23:54 ` [PATCH v3 1/8] rtw89: 8852c: rfk: add RFK tables Ping-Ke Shih
2022-05-03  5:32   ` Kalle Valo
2022-05-02 23:54 ` [PATCH v3 2/8] rtw89: 8852c: rfk: add DACK Ping-Ke Shih
2022-05-02 23:54 ` [PATCH v3 3/8] rtw89: 8852c: rfk: add LCK Ping-Ke Shih
2022-05-02 23:54 ` [PATCH v3 4/8] rtw89: 8852c: rfk: add TSSI Ping-Ke Shih
2022-05-02 23:54 ` [PATCH v3 5/8] rtw89: 8852c: rfk: add RCK Ping-Ke Shih
2022-05-02 23:54 ` [PATCH v3 6/8] rtw89: 8852c: rfk: add RX DCK Ping-Ke Shih
2022-05-02 23:54 ` [PATCH v3 7/8] rtw89: 8852c: rfk: add IQK Ping-Ke Shih
2022-05-02 23:54 ` [PATCH v3 8/8] rtw89: 8852c: rfk: add DPK Ping-Ke Shih

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox