Search Linux Wireless

RE: Extending rtw88 for rtl8723cs/rtl8703b SDIO chips

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Fiona Klute <fiona.klute@xxxxxx>
> Sent: Monday, January 15, 2024 1:29 AM
> To: linux-wireless <linux-wireless@xxxxxxxxxxxxxxx>
> Cc: Ping-Ke Shih <pkshih@xxxxxxxxxxx>
> Subject: Extending rtw88 for rtl8723cs/rtl8703b SDIO chips
> 
> Hi,
> 
> I'm trying to extend the rtw88 driver to support the rtl8723cs card used
> in the Pinephone, with its rtl8703b chip. The code is far from ready for
> review (I'm halfway into chip initialization so far, look at [1] if you
> like), but I'd like to ask a few question to avoid wasting time.
> 
> 1) The 8703b chip is pretty similar to the already supported 8723d, I
> can directly reuse some functions defined in rtw8723d.c (e.g. efuse
> parsing). Would moving those to a shared support module ("rtw88_87x3" or
> similar) be acceptable? If not, what's the recommended approach?

I prefer rtw88_8723_common, because 8723cs is more formal and 8703cs is just
a subtype of 8723cs, 

> 
> 2) I'm currently using firmware extracted from the (not in mainline and
> likely never will be) rtl8723cs driver [2], where it's stored as u8
> arrays in source with GPL license header. Do you know if that'd be
> acceptable for linux-firmware? Ping-Ke, from your mail address I'm
> guessing you work at Realtek, is there any chance to get 8703b firmware
> released directly? As a fallback, could the driver be accepted if people
> will still need to get firmware separately?

Firmware should go via linux-firmware [1]. You can send an individual
firmware patch with to me. I will help to send a pull request with
my s-o-b.

> 
> 3) Finally, licensing: Are GPL-only module/chip drivers for rtw88
> acceptable? A shared support module would of course stick with the
> current dual license.

I think you can declare dual license to new added/rewritten 8723cs*.
I'm not a lawyer, but we have done many drivers already. 

Ping-Ke 

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





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux