Re: 80211w support in HEAD? build error: "../src/ap/drv_callbacks.c:368:16: error: ‘struct hostapd_bss_config’ has no member named ‘ieee80211w’; did you mean ‘ieee802_1x’?"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 13, 2017 at 03:02:44PM -0700, PGNet Dev wrote:
> I'm building hostapd from src,
> 
> 	git log | head
> 		commit 133439b89ac7239f81d83220feaa0da023b306ff
> 
> on linux64.
> 
> If I config build with
> 
> 	cat .config
> 		...
> 		CONFIG_IEEE80211W=y
> 		...
> 
> built fails at
...

That failure is not with CONFIG_IEEE80211W=y. The command line did not
define CONFIG_IEEE80211W..


> 		../src/ap/drv_callbacks.c:368:16: error: ‘struct hostapd_bss_config’ has no member named ‘ieee80211w’; did you mean ‘ieee802_1x’?
> 		      hapd->conf->ieee80211w != NO_MGMT_FRAME_PROTECTION) {

And that ieee80211w would be there if CONFIG_IEEE80211W were defined..

> otoh, with
> 
> 	CONFIG_IEEE80211W=n
> 
> no issues with build.

Setting the build parameter to any value, including n, will actually
enable this, i.e., CONFIG_IEEE80211W=n is equivalent to
CONFIG_IEEE80211=y.

> a bug? or some missing install/config?

You had MBO enabled in the build (CONFIG_MBO=y). MBO requires PMF (IEEE
802.11w) and as such, CONFIG_IEEE80211W=y needs to be enabled as well
for a build that includes MBO.

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux