]> git.ipfire.org Git - thirdparty/openwrt.git/commit
mac80211: mwl8k: inject DSSS Parameter Set element into beacons if missing 20817/head
authorPawel Dembicki <paweldembicki@gmail.com>
Wed, 12 Nov 2025 21:33:24 +0000 (22:33 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 18 Nov 2025 11:41:38 +0000 (12:41 +0100)
commitdbc2b142ceb4c9727b9254b0c9a524537cc39a2d
treecc0bdbf17ecfb8356eb1613d84a7cfb000937698
parent4d1c1d775468c1dc60a8e6e0dd6e1364176c03ae
mac80211: mwl8k: inject DSSS Parameter Set element into beacons if missing

Some Marvell AP firmware used with mwl8k misbehaves when beacons do not
contain the DSSS Parameter Set (WLAN_EID_DS_PARAMS) with the current
channel. When hostapd/mac80211 omits this element (which is valid on
some bands), the firmware may report bogus RX channel information and AP
mode becomes unusable.

Backport the upstream fix that ensures beacons always carry the DSSS
Parameter Set for mwl8k: when setting the beacon, detect if the element
is missing and inject it after SSID and Supported Rates (per spec
ordering). This mirrors behaviour in newer Marvell drivers and restores
stable operation.

Tested on Linksys EA4500 (88W8366).

Fixes: openwrt/openwrt#19088
Link: https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless.git/commit/?id=c4e1ac09ee1c750890e36cb1f841f25518f23589
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20757
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 38ed1510dbe80a37fd35b9a47e937a32a5a673bd)
[refreshed patches]
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20817
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
package/kernel/mac80211/patches/mwl/001-mwl8k-inject-DS-Params-IE-into-beacons-if-missing.patch [new file with mode: 0644]
package/kernel/mac80211/patches/mwl/700-mwl8k-missing-pci-id-for-WNR854T.patch
package/kernel/mac80211/patches/mwl/940-mwl8k_init_devices_synchronously.patch