[PATCH 1/2] De-couple MBO and WNM
Jouni Malinen
j at w1.fi
Sun Dec 10 00:39:22 PST 2023
On Sun, Dec 10, 2023 at 12:52:04AM +0530, Krishna Chaitanya wrote:
> Looks like, we need to separate out BTM code to a separate file btm.c
> and include
> it for both MBO and WNM (NEED_BTM=y). This way we can get rid of rest of the
> WNM. WDYT?
It does not have to be moved to a separate file, but it would seem
reasonable to be able to pick a subset of wnm_sta.c when CONFIG_MBO=y
without having to force CONFIG_WNM=y. For example, wnm_sta.c could be
included into the build if either CONFIG_WNM=y or CONFIG_MBO=y and then
within wnm_sta.c, some of the functions would be included based on
CONFIG_WNM and some base on either CONFIG_WNM or CONFIG_MBO. And well,
there are already couple of parts there using CONFIG_MBO on its own.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list