A long-running saga in Linux driver maintenance appears headed for a practical conclusion. Patches have been submitted to migrate support for the Realtek RTL8723B and RTL8723BS Wi-Fi chipsets from their long-term home in the kernel's staging area into the mature, mainline RTW88 driver.

The RTL8723BS driver was added to the staging tree in Linux 4.12 back in 2017. Nearly a decade later, it remains there, a persistent maintenance challenge. While developers have spent years cleaning up its code—removing unnecessary abstractions and hardening it against malicious access points—kernel maintainer Greg Kroah-Hartman has famously referred to it as a "beast," highlighting the significant technical debt accumulated outside the mainline kernel.

Instead of continuing an incremental cleanup of this isolated driver, the proposed patches offer a more sustainable path: merging its core functionality into RTW88. RTW88 is an actively maintained subsystem covering a wide array of modern Realtek wireless chips and benefits from regular security and stability updates. Integrating the older SDIO-based 802.11n hardware into this unified framework promises to reduce fragmentation in Realtek's Linux support.

The benefits for users and maintainers are substantial. Devices still utilizing RTL8723B/BS silicon—found in older laptops, tablets, and budget embedded systems—would gain faster access to critical updates once the code resides in mainline, as staging drivers typically receive updates with a lower priority. This move also simplifies packaging for Linux distributions, reducing the risk they will ship divergent or outdated driver versions.

The patch series is currently under review, with acceptance contingent on approval from the RTW88 maintainers and the broader kernel community. Until a final decision is made, the existing staging driver will continue to serve affected hardware. This consolidation represents a common pattern in kernel development: when a legacy driver becomes too complex to maintain in isolation, folding it into a mature, active subsystem is often the most viable long-term solution.

For Linux professionals managing fleets with aging or cost-sensitive hardware, this development is noteworthy. A cleaner, mainline driver path means fewer out-of-tree modules, simpler kernel upgrades, and reduced attack surfaces on systems that cannot be easily retired. As the patches progress through review, the kernel's Realtek Wi-Fi support is poised to become both more unified and more maintainable.


Linux驅動程式維護的一場長跑似乎正走向實際結局。已有人提交補丁,旨在將Realtek RTL8723B及RTL8723BS Wi-Fi晶片組的支持,從其長期以來所在的內核暫存區(staging area),遷移至成熟、已整合入主線的RTW88驅動程式中。

RTL8723BS驅動程式早在2017年隨Linux 4.12版本被加入暫存區樹狀結構。近十年後,它仍然留在那裡,成為一個持續存在的維護挑戰。儘管開發者多年來一直在清理其程式碼——移除不必要的抽象化並強化其對抗惡意接入點的能力——內核維護者Greg Kroah-Hartman曾著名地將其形容為一隻「野獸」,突顯了在主線內核之外累積的龐大技術債務。

與其繼續對這個孤立的驅動程式進行增量清理,此次提出的補丁提供了一條更可持續的路徑:將其核心功能整合到RTW88中。RTW88是一個活躍維護的子系統,涵蓋廣泛的現代Realtek無線晶片,並受益於定期的安全性與穩定性更新。將這款基於舊式SDIO的802.11n硬體整合到這個統一框架中,有望減少Realtek在Linux支持上的碎片化。

對用戶和維護者而言,好處顯著。仍使用RTL8723B/BS晶片的設備——見於較舊的筆記型電腦、平板電腦及低成本的嵌入式系統——一旦程式碼遷入主線,將能更快獲得關鍵更新,因為暫存區驅動程式的更新優先級通常較低。此舉也簡化了Linux發行版的打包工作,降低了它們發布不同步或過時驅動程式版本的風險。

補丁系列目前正處於審查階段,其接受取決於RTW88維護者和更廣泛的內核社群的批准。在最終決定作出之前,現有的暫存區驅動程式將繼續服務於受影響的硬體。這種整合代表了內核開發中的一個常見模式:當一個老舊驅動程式變得過於複雜,難以獨立維護時,將其納入一個成熟、活躍的子系統,往往是長遠來看最可行的解決方案。

對於管理著搭載老舊或成本敏感硬體設備的Linux專業人士而言,這項發展值得關注。一條更乾淨、位於主線的驅動程式路徑,意味著更少的樹外模組(out-of-tree modules)、更簡單的內核升級,以及降低了那些無法輕易淘汰的系統所面臨的攻擊面。隨著補丁通過審查,內核的Realtek Wi-Fi支持有望變得更加統一且更易於維護。

新聞來源 / Original News Source