[RFC] staging: wlan-ng: Driver broken since kernel 5.15

Philipp Hortmann
2024-03-09T22:09:26Z

Hi,

I would remove the driver from the mainline kernel. What are your thoughts?

I bought two WLAN devices (DUT: D-Link DWL-122 and T-Sinus 111 data)
that are supported by wlan-ng driver. Issue is that the driver is not
working anymore.

The error picture is that the device does not receive any packets.
The dmesg says:
[ 123.695917] prism2_usb 2-1.6:1.0 wlan0: Unknown mgmt request message
0x0e4f9800
[ 127.508211] prism2_usb 2-1.6:1.0 wlan0: Unknown mgmt request message
0x04f0d000
...

A working commit 8fc4fb1728855a22f9149079ba51877f5ee61fc9 (HEAD) Date:
Mon Jul 5 11:16:28 2021 -0700
A failing commit d980cc0620ae77ab2572235a1300bf22519f2e86 (HEAD) Date:
Fri Jul 16 19:08:09 2021 -0700

This means that the devices are unusable since kernel 5.15.

A look into the bitrates shows that only up to 11MBits are supported.
static const struct ieee80211_rate prism2_rates[] = {
...
{ .bitrate = 110 }
};

Would be interesting to see why this happened. But it is difficult for
me to find it.

Thanks for your support.

Bye Philipp