[PATCH] WNM: Differentiate between WNM for station and for AP in build

Jouni Malinen j at w1.fi
Tue Jul 18 04:12:29 PDT 2017

On Mon, Jun 12, 2017 at 09:29:27AM +0300, Andrei Otcheretianski wrote:
> Previously, CONFIG_WNM enabled build that supports WNM for both
> station mode and AP mode. However, in most wpa_supplicant cases only
> station mode WNM is required and there is no need for AP mode WNM.
> Add support to differentiate between station mode WNM and AP mode
> WNM in wpa_supplicant builds by adding CONFIG_WNM_AP that should be
> used when AP mode WNM support is required in addition to station mode
> WNM. This allows binary size to be reduced for builds that require
> only the station side WNM functionality.

Thanks, applied.

> diff --git a/tests/hwsim/example-wpa_supplicant.config b/tests/hwsim/example-wpa_supplicant.config

Though, I dropped this part since none of the existing test cases seemed
to depend on wpa_supplicant AP mode supporting WNM.
Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list