]> git.ipfire.org Git - thirdparty/openwrt.git/commit
hostapd: initialize first BSS radio_mask during driver init
authorChad Monroe <chad@monroe.io>
Fri, 6 Feb 2026 17:21:44 +0000 (09:21 -0800)
committerFelix Fietkau <nbd@nbd.name>
Thu, 19 Feb 2026 15:14:16 +0000 (15:14 +0000)
commitae2fbe48d23a504bdee235097939c1df4be3e95b
treea272595af41709f7f660dcabaa04088b4a6340a8
parent9cbdc2056bb0d34e904e7e45f53e26c4700b883d
hostapd: initialize first BSS radio_mask during driver init

Secondary BSSes inherit the alloc value which bypasses
NL80211_ATTR_VIF_RADIO_MASK in nl80211_create_iface() and causes the
kernel to default new interfaces to all radios.

The ucode bss_create fallback fails to correct this because
the interface is already UP.. the kernel rejects SET_INTERFACE with
-EBUSY.

Signed-off-by: Chad Monroe <chad@monroe.io>
(cherry picked from commit 50d3d287e4cfafd5e0cf727d55472df7bd0e1c0c)
package/network/services/hostapd/patches/370-preserve_radio_mask.patch
package/network/services/hostapd/patches/463-add-mcast_rate-to-11s.patch
package/network/services/hostapd/patches/601-ucode_support.patch
package/network/services/hostapd/patches/740-snoop_iface.patch
package/network/services/hostapd/patches/780-Implement-APuP-Access-Point-Micro-Peering.patch