Files
openwrt/package
Felix Fietkau d9c461b73b hostapd: clamp the DPP chirp wait time to the driver limit
wpas_dpp_chirp_start() sends each Presence Announcement with a wait time
of 2000 ms. cfg80211 refuses a frame whose wait exceeds the driver's
maximum remain-on-channel duration with -EINVAL (nl80211_tx_mgmt()), so
on a driver with a smaller maximum, such as mac80211_hwsim with 1000 ms,
no chirp is ever transmitted and the enrollee cannot be found.

Clamp the wait time to max_remain_on_chan, as the other DPP transmit
paths in this file do.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2026-10-08 09:50:37 +02:00
..
2026-10-08 02:12:17 +02:00