mbox series

[v6,00/11] wifi: rtlwifi: Add new rtl8192du driver

Message ID 0c22c048-c372-4596-b2c6-612c6ec7ab77@gmail.com (mailing list archive)
Headers show
Series wifi: rtlwifi: Add new rtl8192du driver | expand

Message

Bitterblue Smith May 17, 2024, 9:13 p.m. UTC
These patches add a driver for the RTL8192DU chip.

Power saving is disabled by default because it's not working.

Dual MAC chips are not tested.

Until Ping-Ke Shih will add the firmware to the linux-firmware
repository, the driver can be tested with the firmware from Larry
Finger's repository:
https://github.com/lwfinger/rtl8192du/blob/master/rtl8192dufw.bin

v4 of the series also included the creation of the rtl8192d-common
module, but it was becoming too long. rtl8192d-common was sent
separately and it's merged already.

v6:
 - Avoid "allyesconfig" build errors.
 - Update the copyright year.
 - A little cleanup.
 - More details about the changes can be found in each patch.

v5:
 - Call it 802.11n instead of 802.11an in the module description and
   Kconfig.
 - Patch 2 is new.

Bitterblue Smith (11):
  wifi: rtlwifi: Add rtl8192du/table.{c,h}
  wifi: rtlwifi: Add new members to struct rtl_priv for RTL8192DU
  wifi: rtlwifi: Add rtl8192du/hw.{c,h}
  wifi: rtlwifi: Add rtl8192du/phy.{c,h}
  wifi: rtlwifi: Add rtl8192du/trx.{c,h}
  wifi: rtlwifi: Add rtl8192du/rf.{c,h}
  wifi: rtlwifi: Add rtl8192du/fw.{c,h} and rtl8192du/led.{c,h}
  wifi: rtlwifi: Add rtl8192du/dm.{c,h}
  wifi: rtlwifi: Constify rtl_hal_cfg.{ops,usb_interface_cfg} and
    rtl_priv.cfg
  wifi: rtlwifi: Add rtl8192du/sw.c
  wifi: rtlwifi: Enable the new rtl8192du driver

 drivers/net/wireless/realtek/rtlwifi/Kconfig  |   12 +
 drivers/net/wireless/realtek/rtlwifi/Makefile |    1 +
 drivers/net/wireless/realtek/rtlwifi/base.c   |    2 +-
 .../wireless/realtek/rtlwifi/rtl8192cu/sw.c   |    3 +-
 .../realtek/rtlwifi/rtl8192du/Makefile        |   13 +
 .../wireless/realtek/rtlwifi/rtl8192du/dm.c   |  120 +
 .../wireless/realtek/rtlwifi/rtl8192du/dm.h   |   10 +
 .../wireless/realtek/rtlwifi/rtl8192du/fw.c   |   63 +
 .../wireless/realtek/rtlwifi/rtl8192du/fw.h   |    9 +
 .../wireless/realtek/rtlwifi/rtl8192du/hw.c   | 1212 +++++++
 .../wireless/realtek/rtlwifi/rtl8192du/hw.h   |   22 +
 .../wireless/realtek/rtlwifi/rtl8192du/led.c  |   10 +
 .../wireless/realtek/rtlwifi/rtl8192du/led.h  |    9 +
 .../wireless/realtek/rtlwifi/rtl8192du/phy.c  | 3128 +++++++++++++++++
 .../wireless/realtek/rtlwifi/rtl8192du/phy.h  |   32 +
 .../wireless/realtek/rtlwifi/rtl8192du/rf.c   |  240 ++
 .../wireless/realtek/rtlwifi/rtl8192du/rf.h   |   11 +
 .../wireless/realtek/rtlwifi/rtl8192du/sw.c   |  395 +++
 .../realtek/rtlwifi/rtl8192du/table.c         | 1675 +++++++++
 .../realtek/rtlwifi/rtl8192du/table.h         |   29 +
 .../wireless/realtek/rtlwifi/rtl8192du/trx.c  |  372 ++
 .../wireless/realtek/rtlwifi/rtl8192du/trx.h  |   60 +
 drivers/net/wireless/realtek/rtlwifi/usb.c    |    2 +-
 drivers/net/wireless/realtek/rtlwifi/usb.h    |    2 +-
 drivers/net/wireless/realtek/rtlwifi/wifi.h   |   12 +-
 25 files changed, 7436 insertions(+), 8 deletions(-)
 create mode 100644 drivers/net/wireless/realtek/rtlwifi/rtl8192du/Makefile
 create mode 100644 drivers/net/wireless/realtek/rtlwifi/rtl8192du/dm.c
 create mode 100644 drivers/net/wireless/realtek/rtlwifi/rtl8192du/dm.h
 create mode 100644 drivers/net/wireless/realtek/rtlwifi/rtl8192du/fw.c
 create mode 100644 drivers/net/wireless/realtek/rtlwifi/rtl8192du/fw.h
 create mode 100644 drivers/net/wireless/realtek/rtlwifi/rtl8192du/hw.c
 create mode 100644 drivers/net/wireless/realtek/rtlwifi/rtl8192du/hw.h
 create mode 100644 drivers/net/wireless/realtek/rtlwifi/rtl8192du/led.c
 create mode 100644 drivers/net/wireless/realtek/rtlwifi/rtl8192du/led.h
 create mode 100644 drivers/net/wireless/realtek/rtlwifi/rtl8192du/phy.c
 create mode 100644 drivers/net/wireless/realtek/rtlwifi/rtl8192du/phy.h
 create mode 100644 drivers/net/wireless/realtek/rtlwifi/rtl8192du/rf.c
 create mode 100644 drivers/net/wireless/realtek/rtlwifi/rtl8192du/rf.h
 create mode 100644 drivers/net/wireless/realtek/rtlwifi/rtl8192du/sw.c
 create mode 100644 drivers/net/wireless/realtek/rtlwifi/rtl8192du/table.c
 create mode 100644 drivers/net/wireless/realtek/rtlwifi/rtl8192du/table.h
 create mode 100644 drivers/net/wireless/realtek/rtlwifi/rtl8192du/trx.c
 create mode 100644 drivers/net/wireless/realtek/rtlwifi/rtl8192du/trx.h

Comments

Stefan Lippers-Hollmann May 18, 2024, 4:44 a.m. UTC | #1
Hi

On 2024-05-18, Bitterblue Smith wrote:
> These patches add a driver for the RTL8192DU chip.
>
> Power saving is disabled by default because it's not working.
>
> Dual MAC chips are not tested.

Just a quick functionality check with v6 (based on top of v7 of the
common code preparatory patch series), all fine at ~162 MBit/s
thoughput (5 GHz/ ch52, WPA3SAE, QCN5054 AP, ~3m distance). Steady
performance, working really well on my Delock 88540 (0bda:8194,
single-mac).

Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>

Regards
	Stefan Lippers-Hollmann
Ping-Ke Shih May 21, 2024, 2:49 a.m. UTC | #2
Stefan Lippers-Hollmann <s.l-h@gmx.de> wrote:
> On 2024-05-18, Bitterblue Smith wrote:
> > These patches add a driver for the RTL8192DU chip.
> >
> > Power saving is disabled by default because it's not working.
> >
> > Dual MAC chips are not tested.
> 
> Just a quick functionality check with v6 (based on top of v7 of the
> common code preparatory patch series), all fine at ~162 MBit/s
> thoughput (5 GHz/ ch52, WPA3SAE, QCN5054 AP, ~3m distance). Steady
> performance, working really well on my Delock 88540 (0bda:8194,
> single-mac).
> 
> Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
> 

Thanks for your test and report. Could you please add your Tested-by tag
to the patch "wifi: rtlwifi: Enable the new rtl8192du driver" next time?
Then patchwork can help me to take your tag.