[PATCH] hostapd: Add runtime testing option for association response

Jouni Malinen j at w1.fi
Sat Apr 4 07:06:32 PDT 2026


On Mon, Mar 09, 2026 at 02:17:30PM +0000, Raga, Gopi wrote:
> This adds a new testing option that allows overriding the Status Code
> in Association and Reassociation Response frames via the control
> interface. The value stays active for all frames until
> explicitly disabled by setting it to -1.
> 
> Usage:
>   hostapd_cli SET association_response_status_code 17
>   hostapd_cli SET association_response_status_code disable # back to normal
> 
> This is useful for client robustness testing,
> and negative testing of status codes (0, 1, 10, 12, 17, 30, etc.).

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list