Linux wireless drivers development
 help / color / mirror / Atom feed
* wifi: rtw88: 8822cs/bs: Issues migrating RTL8822CS/BS from downstream to upstream driver
@ 2026-06-15 13:55 Lucas Tanure
  2026-06-16  3:30 ` Ping-Ke Shih
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Tanure @ 2026-06-15 13:55 UTC (permalink / raw)
  To: Ping-Ke Shih
  Cc: linux-wireless, linux-kernel, Krzysztof Opasiak,
	Anders Rønningen

Hi Ping-Ke,

We are bringing up an RTL8822BS / RTL8822CS combo on a Rockchip PX30
board (kernel 6.1.118), Wi-Fi over SDIO, BT on the same die over UART
via btrtl + hci_h5.

We're deliberately migrating off Realtek's out-of-tree SDIO vendor
driver to mainline rtw88: the vendor driver hits memory-corruption
bugs we've been unable to get support on, and mainline is the better
long-term path.
That migration leaves us two gaps I'd appreciate your guidance on:

1) Power-parameter tables. Mainline carries the TX-power data as generated
   C arrays in rtw88xxc_table.c, while the vendor driver ships the same
   data as text files.

   The TX-power limits look like this (TXPWR_LMT.txt):

       ##  2.4G, 20M, 1T, CCK, //(1M;2M;5.5M;11M)
       ##  START
       ##  #3#  FCC  ETSI  MKK
       CH01  16  15  15
       CH02  16  15  15
       ##  END

   and the power-by-rate like this (PHY_REG_PG.txt):

       #[2.4G][A]#
       [1Tx] 0xc20  0xffffffff  18 19 19 19  // {11M 5.5M 2M 1M}
       [1Tx] 0xc24  0xffffffff  18 18 18 18  // {18M 12M 9M 6M}

   Is there any way to convert these .TXT files into the C tables? It
seems the vendor driver and the mainline driver power configuration
don't have anything in common.

2) Is there an upstream (linux-firmware) RTL8822BS firmware that
supports the UART transport (rtl_bt/rtl8822bs_fw.bin + config), or
does the 8822BS firmware still have to come from the vendor BSP?
   Is there a problem using vendor firmware (not released at
linux-firmware) with the mainline driver?

Thanks,
Lucas Tanure
Neat

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

end of thread, other threads:[~2026-06-16  3:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-15 13:55 wifi: rtw88: 8822cs/bs: Issues migrating RTL8822CS/BS from downstream to upstream driver Lucas Tanure
2026-06-16  3:30 ` 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