Re: [PATCH] [RFC] wireless: move obsolete drivers to staging

From: Philipp Hortmann
Date: Wed Oct 11 2023 - 14:13:34 EST


On 10/10/23 17:27, Arnd Bergmann wrote:
From: Arnd Bergmann <arnd@xxxxxxxx> While looking at the old drivers using the obsolete .ndo_do_ioctl() callback, I found a number of network drivers that are especially obsolete, in particular for 802.11b (11Mbit/s) or even older wireless networks, using non-busmaster ISA/PCMCIA style bus interfaces, and using the legacy wireless extension ioctls rather than the netlink interfaces that were meant to replace them in 2007. All of these drivers are obsolete or orphaned. We had previously discussed this topic, but nobody ever moved the files, so I now went through the list to my best knowledge. These are the drivers that I would classify as "probably unused" by now:

I found a USB WLAN Stick with a rtl8192u. I got it last Saturday and found out that the firmware is missing in my ubuntu 20.04. I found it on the web and fixed it. When I started the driver my computer crashed. The missing part was: priv->priv_wq = alloc_workqueue("priv_wq", 0, 0); Fixing this the next error was a network = kzalloc(sizeof(*network), GFP_KERNEL); in wrong context with leads to a crash of my computer. Fixing this leads to another issue which lets my computer crash.

For me the firmware of rtl8192u was intentionally missing because of the issues with the driver.

What this has to do with your question?
Can we check for missing firmware in main distributions to know which drivers are considered to be old and unused?

Bye Philipp