mirror of
https://github.com/openwrt/openwrt.git
synced 2026-11-28 23:03:53 +04:00
hapd_drv_send_action() sends the action frames that IEEE Std 802.11be-2024, 35.3.14 makes link-agnostic (Robust AV Streaming SCS and MSCS, WNM BSS Transition Management and WNM Sleep Mode) with link ID -1 to every station of an AP MLD. For a station that is not a non-AP MLD, the SA and the BSSID are the link address of the BSS, and cfg80211_mlme_mgmt_tx() refuses the frame with -EINVAL where that address is not the address of the interface. A non-MLO station on such a link gets no SCS Response and no MSCS Response. The rule of 35.3.14 holds between an AP MLD and a non-AP MLD only. Add patch 196, which sends these frames to a non-MLD station of the BSS on the link of the BSS, as hostapd_drv_sta_disassoc() does with patch 187. A destination without an entry in the BSS keeps link ID -1. Patches 834 and 853 are refreshed on top of it. Signed-off-by: Felix Fietkau <nbd@nbd.name>