All of lore.kernel.org
 help / color / mirror / Atom feed
From: luka.gejak@linux.dev
To: linux-wireless@vger.kernel.org
Cc: pkshih@realtek.com, straube.linux@gmail.com, luka.gejak@linux.dev
Subject: [RFC PATCH v1 0/9] wifi: rtw88: add RTL8723B/RTL8723BS support
Date: Tue, 14 Jul 2026 19:50:58 +0200	[thread overview]
Message-ID: <cover.1784047561.git.luka.gejak@linux.dev> (raw)

From: Luka Gejak <luka.gejak@linux.dev>

This RFC adds support for the Realtek RTL8723B 802.11n chipset and its
RTL8723BS SDIO variant to rtw88. The series is SDIO-only; untested PCIe
and USB variants are intentionally left for future work.

RTL8723BS predates rtw88 and uses the available Realtek vendor firmware
(version 41), whose H2C/C2H and association behavior differs from the
firmware used by the existing rtw88 8723-family devices. Supporting it
therefore needs both the common RTL8723B chip implementation and an
8723BS-specific SDIO path for firmware commands, coexistence, power,
association, and TX/RX handling.

The series includes:

  - RTL8723B BB/RF/AGC tables, power sequences and chip operations;
  - the RTL8723BS SDIO binding;
  - the vendor-firmware H2C/C2H interface;
  - management/EAPOL descriptor handling and rate adaptation;
  - WiFi/BT PTA antenna handling during scan and association;
  - soft IPS across the scan-to-connect boundary;
  - the vendor association register sequence; and
  - the RTL8723BS SDIO transfer contract, including RX aggregation,
    FIFO/OQT/free-page accounting, management TX scheduling and bounded
    mac80211 queue back-pressure.

This series is based on the rtw-next branch from pkshih/rtw.

The implementation is based on the initial RTL8723B work by Michael
Straube <straube.linux@gmail.com>. The SDIO integration and subsequent
hardware bring-up were developed and tested on an RTL8723BS system.

Hardware validation covered repeated scan, authentication, association,
WPA2 key negotiation, DHCP, bidirectional traffic, reconnects, link
cycles, module reloads, scans under traffic and a sustained stability
run. The final series also builds cleanly with W=1 at every intermediate
commit. RTL8703B, RTL8723CS/DS and the other rtw88 bus modules continue to
build.

The driver requests this firmware file:

  rtw88/rtw8723b_fw.bin

It is not included in this kernel series. I would appreciate guidance
from Realtek and the linux-firmware maintainers on whether the existing
LICENCE.rtlwifi_firmware.txt redistribution terms cover this version 41
blob, or whether Realtek should submit the firmware directly.

Feedback on the series structure, the placement of the association and
coexistence logic, and the firmware submission path would be appreciated.

Luka Gejak (9):
  wifi: rtw88: add RTL8723B chip support
  wifi: rtw88: 8723bs: handle SDIO management and data TX
  wifi: rtw88: 8723bs: add the firmware host-to-chip interface
  wifi: rtw88: 8723bs: add WiFi/BT coexistence antenna handling
  wifi: rtw88: 8723bs: keep the chip powered between scan and connect
  wifi: rtw88: 8723bs: add scan, calibration and rate-adaptation
    handling
  wifi: rtw88: 8723bs: implement the SDIO association sequence
  wifi: rtw88: 8723bs: implement the SDIO transfer contract
  MAINTAINERS: add entry for the RTL8723B rtw88 driver

 MAINTAINERS                                   |    8 +
 drivers/net/wireless/realtek/rtw88/Kconfig    |   18 +
 drivers/net/wireless/realtek/rtw88/Makefile   |    6 +
 drivers/net/wireless/realtek/rtw88/coex.c     |  237 ++
 drivers/net/wireless/realtek/rtw88/coex.h     |    4 +
 drivers/net/wireless/realtek/rtw88/fw.c       |  171 +-
 drivers/net/wireless/realtek/rtw88/fw.h       |   17 +
 drivers/net/wireless/realtek/rtw88/mac80211.c |  538 ++-
 drivers/net/wireless/realtek/rtw88/main.c     |  191 +-
 drivers/net/wireless/realtek/rtw88/main.h     |   35 +
 drivers/net/wireless/realtek/rtw88/ps.c       |   50 +-
 drivers/net/wireless/realtek/rtw88/reg.h      |    6 +
 drivers/net/wireless/realtek/rtw88/rtw8723b.c | 3382 +++++++++++++++++
 drivers/net/wireless/realtek/rtw88/rtw8723b.h |   16 +
 .../wireless/realtek/rtw88/rtw8723b_table.c   |  858 +++++
 .../wireless/realtek/rtw88/rtw8723b_table.h   |   15 +
 .../net/wireless/realtek/rtw88/rtw8723bs.c    |   36 +
 drivers/net/wireless/realtek/rtw88/rx.c       |    8 +-
 drivers/net/wireless/realtek/rtw88/sdio.c     |  443 ++-
 drivers/net/wireless/realtek/rtw88/sdio.h     |   18 +
 drivers/net/wireless/realtek/rtw88/sec.h      |    1 +
 drivers/net/wireless/realtek/rtw88/tx.c       |  225 +-
 drivers/net/wireless/realtek/rtw88/tx.h       |    5 +
 23 files changed, 6205 insertions(+), 83 deletions(-)
 create mode 100644 drivers/net/wireless/realtek/rtw88/rtw8723b.c
 create mode 100644 drivers/net/wireless/realtek/rtw88/rtw8723b.h
 create mode 100644 drivers/net/wireless/realtek/rtw88/rtw8723b_table.c
 create mode 100644 drivers/net/wireless/realtek/rtw88/rtw8723b_table.h
 create mode 100644 drivers/net/wireless/realtek/rtw88/rtw8723bs.c


base-commit: 6c080026ecc17eecb103f8927c64ea73a74bb818
-- 
2.55.0


             reply	other threads:[~2026-07-14 17:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-14 17:50 luka.gejak [this message]
2026-07-14 17:50 ` [RFC PATCH v1 1/9] wifi: rtw88: add RTL8723B chip support luka.gejak
2026-07-14 17:51 ` [RFC PATCH v1 2/9] wifi: rtw88: 8723bs: handle SDIO management and data TX luka.gejak
2026-07-14 17:51 ` [RFC PATCH v1 3/9] wifi: rtw88: 8723bs: add the firmware host-to-chip interface luka.gejak
2026-07-14 17:51 ` [RFC PATCH v1 4/9] wifi: rtw88: 8723bs: add WiFi/BT coexistence antenna handling luka.gejak
2026-07-14 17:51 ` [RFC PATCH v1 5/9] wifi: rtw88: 8723bs: keep the chip powered between scan and connect luka.gejak
2026-07-14 17:51 ` [RFC PATCH v1 6/9] wifi: rtw88: 8723bs: add scan, calibration and rate-adaptation handling luka.gejak
2026-07-14 17:51 ` [RFC PATCH v1 7/9] wifi: rtw88: 8723bs: implement the SDIO association sequence luka.gejak
2026-07-14 17:51 ` [RFC PATCH v1 8/9] wifi: rtw88: 8723bs: implement the SDIO transfer contract luka.gejak
2026-07-14 17:51 ` [RFC PATCH v1 9/9] MAINTAINERS: add entry for the RTL8723B rtw88 driver luka.gejak

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=cover.1784047561.git.luka.gejak@linux.dev \
    --to=luka.gejak@linux.dev \
    --cc=linux-wireless@vger.kernel.org \
    --cc=pkshih@realtek.com \
    --cc=straube.linux@gmail.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.