From: Ping-Ke Shih <pkshih@realtek.com>
To: <kvalo@kernel.org>
Cc: <linux-wireless@vger.kernel.org>
Subject: [PATCH v3 0/8] rtw89: 8852c: add RF calibration
Date: Tue, 3 May 2022 07:54:00 +0800 [thread overview]
Message-ID: <20220502235408.15052-1-pkshih@realtek.com> (raw)
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
next reply other threads:[~2022-05-02 23:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-02 23:54 Ping-Ke Shih [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220502235408.15052-1-pkshih@realtek.com \
--to=pkshih@realtek.com \
--cc=kvalo@kernel.org \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox