Files
openwrt/package
Felix Fietkau 7737e0a7f5 wifi-scripts: read the FTM responder and background radar feature bits
hostapd.uc tests NL80211_EXT_FEATURE_ENABLE_FTM_RESPONDER as bit 33 and
NL80211_EXT_FEATURE_RADAR_BACKGROUND as bit 61. In nl80211.h they are
32 and 60; bits 33 and 61 are AIRTIME_FAIRNESS and
POWERED_ADDR_CHANGE. The values had no effect until commit
28c6f5e6f7 ("wifi-scripts: fix extended-feature bit test").

Since then mt76 radios, which set AIRTIME_FAIRNESS, read as FTM
responders, and mac80211_hwsim, which has an FTM responder, does not.
Every mac80211 radio sets POWERED_ADDR_CHANGE, so every 5 GHz radio
reads as capable of background radar.

Use the values of nl80211.h.

Fixes: 218f3884d2 ("wifi-scripts: add ucode based scripts")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2026-10-28 15:50:50 +01:00
..
…