Linux wireless drivers development
 help / color / mirror / Atom feed
* [RFC/INFO] Hardware quirks of SmartChip S9082C / S9082xs SDIO Wi-Fi clone (02E7:9082)
@ 2026-11-29 21:40 Alex Novak
  2026-11-30  5:43 ` Ping-Ke Shih
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Novak @ 2026-11-29 21:40 UTC (permalink / raw)
  To: pkshih; +Cc: linux-wireless

Hi Ping-Ke, hi linux-wireless,

I'm writing to share hardware analysis and register quirk details for the SmartChip S9082C / S9082xs SDIO Wi-Fi chip (SDIO ID 02e7:9082), an RTL8189ES clone commonly found in budget Amlogic S905W/S905X TV boxes (TX3 Mini, X96 Mini, etc.).

While based on the RTL8189ES architecture, the silicon has two critical differences that cause association failure if driven by unmodified RTL8189 logic:

1. RF Synthesizer Frequency Offset:
During baseband initialization, register 0x4026 must be programmed to 0xac82. Without this write, the PLL frequency synthesizer operates with a +25 MHz offset, resulting in authentication timeouts with standard 2.4 GHz 802.11b/g/n access points.

2. OTP EFUSE Layout:
The internal OTP EFUSE content on S9082C is inverted (bitwise NOT / 1s-complement) compared to standard Realtek EFUSE maps.

I have verified these quirks in an out-of-tree driver on Linux 6.x (https://github.com/Neur-alx/s9082c-linux-driver). Documenting this here in case rtw88 or mac80211 ever adds SDIO support for 8189/8188 series chips and needs to recognize the 02e7:9082 device ID.

Regards,
Alex

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

* RE: [RFC/INFO] Hardware quirks of SmartChip S9082C / S9082xs SDIO Wi-Fi clone (02E7:9082)
  2026-11-29 21:40 [RFC/INFO] Hardware quirks of SmartChip S9082C / S9082xs SDIO Wi-Fi clone (02E7:9082) Alex Novak
@ 2026-11-30  5:43 ` Ping-Ke Shih
       [not found]   ` <010001a22b85d8f9-d39c2e66-89fc-4cd7-838d-4d0b88c0eae6-000000@email.amazonses.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Ping-Ke Shih @ 2026-11-30  5:43 UTC (permalink / raw)
  To: Alex Novak; +Cc: linux-wireless@vger.kernel.org

Alex Novak <neur-alx@agentmail.to> wrote:
> Hi Ping-Ke, hi linux-wireless,
> 
> I'm writing to share hardware analysis and register quirk details for the SmartChip S9082C / S9082xs
> SDIO Wi-Fi chip (SDIO ID 02e7:9082), an RTL8189ES clone commonly found in budget Amlogic S905W/S905X
> TV boxes (TX3 Mini, X96 Mini, etc.).
> 
> While based on the RTL8189ES architecture, the silicon has two critical differences that cause
> association failure if driven by unmodified RTL8189 logic:
> 
> 1. RF Synthesizer Frequency Offset:
> During baseband initialization, register 0x4026 must be programmed to 0xac82. Without this write, the
> PLL frequency synthesizer operates with a +25 MHz offset, resulting in authentication timeouts with
> standard 2.4 GHz 802.11b/g/n access points.
> 
> 2. OTP EFUSE Layout:
> The internal OTP EFUSE content on S9082C is inverted (bitwise NOT / 1s-complement) compared to standard
> Realtek EFUSE maps.
> 
> I have verified these quirks in an out-of-tree driver on Linux 6.x
> (https://github.com/Neur-alx/s9082c-linux-driver). Documenting this here in case rtw88 or mac80211
> ever adds SDIO support for 8189/8188 series chips and needs to recognize the 02e7:9082 device ID.

Thanks for the record. Currently, only rtw88 can support SDIO interface.
Welcome to rewrite vendor drier into upstream. :)



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

* RE: RE: [RFC/INFO] Hardware quirks of SmartChip S9082C / S9082xs SDIO Wi-Fi clone (02E7:9082)
       [not found]   ` <010001a22b85d8f9-d39c2e66-89fc-4cd7-838d-4d0b88c0eae6-000000@email.amazonses.com>
@ 2026-11-30  8:51     ` Ping-Ke Shih
  0 siblings, 0 replies; 3+ messages in thread
From: Ping-Ke Shih @ 2026-11-30  8:51 UTC (permalink / raw)
  To: Alex Novak; +Cc: linux-wireless@vger.kernel.org



Alex Novak <neur-alx@agentmail.to> wrote:
> I've put together an upstream architectural roadmap and register mapping in 
> docs/RTW88_UPSTREAM_ROADMAP.md (https://github.com/Neur-alx/
> s9082c-linux-driver/blob/main/docs/RTW88_UPSTREAM_ROADMAP.md).

Some quick guides to rewrite a new driver:
1. patches to extend common flow to support new chip. 
   mostly, I prefer add chip_{ops,info} to support them.
2. add chip specific files.

Basically, item 1 should be minimize. 

> 
> Since rtw88 already provides the SDIO bus infrastructure (rtw88_sdio.c), the 
> primary task is drafting the 8189E / S9082C chip ops module (rtw8189e.c) 
> covering 802.11n 1T1R descriptor parsing and baseband register tables, 
> alongside the 0x4026 PLL register fix and inverted EFUSE handling.

Just add them as your perspective. We can review them in detail. 

> 
> I'll start staging this against your rtw.git tree on GitHub and will submit an 
> RFC patch to the list once the skeleton probes and enumerates on Amlogic SDIO 
> hardware.

Okay. 

Please remember to send mail in plain text mode. 

Ping-Ke


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

end of thread, other threads:[~2026-11-30  8:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-29 21:40 [RFC/INFO] Hardware quirks of SmartChip S9082C / S9082xs SDIO Wi-Fi clone (02E7:9082) Alex Novak
2026-11-30  5:43 ` Ping-Ke Shih
     [not found]   ` <010001a22b85d8f9-d39c2e66-89fc-4cd7-838d-4d0b88c0eae6-000000@email.amazonses.com>
2026-11-30  8:51     ` 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