[PATCH] supplicant: Allow configuring percentage for ignore_auth_resp

Jouni Malinen j at w1.fi
Sun Feb 5 11:43:16 PST 2017


On Tue, Jan 24, 2017 at 03:23:31PM -0500, greearb at candelatech.com wrote:
> This lets one configure a station to drop a percentage
> (including 0 and 100%) of the RX management frames to
> aid testing applications.
> 
> The value is moved to the config section so that it can be
> defined in a supplicant config file.  There is a functional
> change in that before you could reset a station through
> wpa_cli and it would clear the ignore_auth_resp value,
> and now you would have to explicitly clear it since it is
> a configuration.
> 
> To enable the feature, you must compile with CONFIG_TESTING_OPTIONS
> enabled.

As noted in the previous email, I don't think I like this direction.
There is much more flexibility in testing when management and/or EAPOL
frame processing is done in an external component instead of trying to
make wpa_supplicant do some random behavior for these.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list