[PATCH 1/2] De-couple MBO and WNM

Jouni Malinen j at w1.fi
Wed Dec 6 02:45:27 PST 2023


On Tue, Nov 28, 2023 at 12:49:52AM +0530, Chaitanya Tata wrote:
> MBO is mandatory for WFA certification but WNM is not, so, in order to
> have a lean build for WFA certification only, de-couple WNM from MBO so
> that it can be compiled out.
> 
> WNM is still auto-selected automatically when MBO is enabled, this
> behaviour is unchanged.

I'm not sure what this is trying to achieve.. As far as the claim about
WNM not being needed for MBO is concerned, the Wi-Fi Agile Multiband
specification mandate STA to support WNM-Notification Request frame.

> diff --git a/wpa_supplicant/mbo.c b/wpa_supplicant/mbo.c
> +#ifdef CONFIG_WNM
>  static void wpas_mbo_send_wnm_notification(struct wpa_supplicant *wpa_s,
>  					   const u8 *data, size_t len)

And as far as adding CONFIG_WNM in mbo.c is concerned, this would have
no impact since this file is included only if CONFIG_MBO=y is defined
and if CONFIG_MBO is defined, then so will CONFIG_WNM.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list