All of lore.kernel.org
 help / color / mirror / Atom feed
From: <yhchuang@realtek.com>
To: <kvalo@codeaurora.org>
Cc: <linux-wireless@vger.kernel.org>, <pkshih@realtek.com>,
	<bigeasy@linutronix.de>
Subject: [PATCH v3 0/9] rtw88: 8723d: Add RF calibration and coex
Date: Tue, 12 May 2020 18:26:12 +0800	[thread overview]
Message-ID: <20200512102621.5148-1-yhchuang@realtek.com> (raw)

From: Yan-Hsuan Chuang <yhchuang@realtek.com>

This patch set is the last set for RTL8723D, it adds RF calibration
routines and BT-coex mechanism. The RFK includes IQK/LCK/PowerTrack.

Unlike other 802.11ac devices, RTL8723D is not supporting doing IQK
in firmware, which is called SW IQK. Hence more code is put in driver.
LCK is easier, just trigger the hardware circuit, and wait until it's
done by register polling.

For coex mechanisms, the driver's coex.c has implemented most of the
routines, what 8723D should add is the chip dependent settings.

For BT USB suspend, disable it when PCI shutdown. If not, the USB
part cannot be enumarated, and the card cannot be initialised.

Finally, it should be the last patch set for 8723D, so add it in
Makefile and Kconfig. The firmware has already been applied by
linux-firmware [1], one can found it in:
	
	linux-firmware/rtw88/rtw8723d_fw.bin

[1] git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git


v1 -> v2
  * split the patches for review
  * move some macro to header file
  * include coex debug info in coex support
  * use read_poll_timeout for LCK
  * rename 'result' to 'status' to avoid confusion in IQK
  * drop unnecessary (u8) cast

v2 -> v3
  * rebase on top of tree


Ping-Ke Shih (9):
  rtw88: 8723d: Add LC calibration
  rtw88: 8723d: add IQ calibration
  rtw88: 8723d: Add power tracking
  rtw88: 8723d: Add shutdown callback to disable BT USB suspend
  rtw88: 8723d: implement flush queue
  rtw88: 8723d: set ltecoex register address in chip_info
  rtw88: 8723d: Add coex support
  rtw88: fill zeros to words 0x06 and 0x07 of security cam entry
  rtw88: 8723d: Add 8723DE to Kconfig and Makefile

 drivers/net/wireless/realtek/rtw88/Kconfig    |   10 +
 drivers/net/wireless/realtek/rtw88/Makefile   |    1 +
 drivers/net/wireless/realtek/rtw88/debug.c    |    9 +-
 drivers/net/wireless/realtek/rtw88/mac.c      |   29 +-
 drivers/net/wireless/realtek/rtw88/main.h     |   36 +
 drivers/net/wireless/realtek/rtw88/pci.c      |   17 +
 drivers/net/wireless/realtek/rtw88/phy.c      |    8 +-
 drivers/net/wireless/realtek/rtw88/phy.h      |    1 +
 drivers/net/wireless/realtek/rtw88/reg.h      |   11 +
 drivers/net/wireless/realtek/rtw88/rtw8723d.c | 1605 +++++++++++++++++
 drivers/net/wireless/realtek/rtw88/rtw8723d.h |  138 ++
 drivers/net/wireless/realtek/rtw88/rtw8822b.c |   24 +
 drivers/net/wireless/realtek/rtw88/rtw8822c.c |   24 +
 drivers/net/wireless/realtek/rtw88/sec.c      |    6 +-
 drivers/net/wireless/realtek/rtw88/util.c     |   18 +-
 15 files changed, 1907 insertions(+), 30 deletions(-)

-- 
2.17.1


             reply	other threads:[~2020-05-12 10:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-12 10:26 yhchuang [this message]
2020-05-12 10:26 ` [PATCH v3 1/9] rtw88: 8723d: Add LC calibration yhchuang
2020-05-13 15:49   ` Kalle Valo
2020-05-12 10:26 ` [PATCH v3 2/9] rtw88: 8723d: add IQ calibration yhchuang
2020-05-12 10:26 ` [PATCH v3 3/9] rtw88: 8723d: Add power tracking yhchuang
2020-05-12 10:26 ` [PATCH v3 4/9] rtw88: 8723d: Add shutdown callback to disable BT USB suspend yhchuang
2020-05-12 10:26 ` [PATCH v3 5/9] rtw88: 8723d: implement flush queue yhchuang
2020-05-12 10:26 ` [PATCH v3 6/9] rtw88: 8723d: set ltecoex register address in chip_info yhchuang
2020-05-12 10:26 ` [PATCH v3 7/9] rtw88: 8723d: Add coex support yhchuang
2020-05-12 10:26 ` [PATCH v3 8/9] rtw88: fill zeros to words 0x06 and 0x07 of security cam entry yhchuang
2020-05-12 10:26 ` [PATCH v3 9/9] rtw88: 8723d: Add 8723DE to Kconfig and Makefile yhchuang

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=20200512102621.5148-1-yhchuang@realtek.com \
    --to=yhchuang@realtek.com \
    --cc=bigeasy@linutronix.de \
    --cc=kvalo@codeaurora.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=pkshih@realtek.com \
    /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 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.