mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-22 17:27:48 +04:00
The Spatial Reuse Parameter Set takes SRG OBSS PD offsets and the SRG BSS colour and partial BSSID bitmaps (IEEE Std 802.11-2024 9.4.2.251), and hostapd reads them as he_spr_srg_obss_pd_min_offset, he_spr_srg_obss_pd_max_offset, he_spr_srg_bss_colors and he_spr_srg_partial_bssid. The schema had none of them, so a radio could not run with SRG information. Add the four options. Either offset sets SR Control bit 3 (SRG Information Present). The non-SRG offset now sets bit 2 by its presence: an offset of 0 is a valid offset, and before it left the field out of the element. Signed-off-by: Felix Fietkau <nbd@nbd.name>