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’?"
PGNet Dev
pgnet.dev at gmail.com
Mon Mar 13 15:02:44 PDT 2017
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
make V=1
...
/usr/bin/gcc-6 -c -o ../src/ap/drv_callbacks.o -O3 -Wall -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fmessage-length=0 -grecord-gcc-switches -march=native -mtune=native -I/usr/local/src/hostapd/src -I/usr/local/src/hostapd/src/utils -DGIT_VERSION_STR_POSTFIX=\"-hostap_2_6-841-g133439b\" -DHOSTAPD -DCONFIG_TAXONOMY -DHOSTAPD_DUMP_STATE -DCONFIG_FULL_DYNAMIC_VLAN -DCONFIG_CTRL_IFACE_UNIX -DCONFIG_CTRL_IFACE -DCONFIG_MBO -DCONFIG_DRIVER_NL80211 -DCONFIG_LIBNL20 -I/usr/include/libnl3 -DCONFIG_LIBNL20 -DCONFIG_WPS -DEAP_SERVER_WSC -DCONFIG_WPS_UPNP -DEAP_SERVER_IDENTITY -DEAP_SERVER -DCONFIG_TLSV11 -DCONFIG_TLSV12 -DCONFIG_SHA256 -DNEED_AP_MLME -DCONFIG_ACS -DCONFIG_DEBUG_SYSLOG -DCONFIG_DEBUG_FILE ../src/ap/drv_callbacks.c
../src/ap/drv_callbacks.c: In function ‘hostapd_notif_assoc’:
../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) {
^~
Makefile:1128: recipe for target '../src/ap/drv_callbacks.o' failed
make: *** [../src/ap/drv_callbacks.o] Error 1
otoh, with
CONFIG_IEEE80211W=n
no issues with build.
reading
https://en.wikipedia.org/wiki/IEEE_802.11w-2009
"The 802.11w standard is implemented in Linux and BSD's as part of the 80211mac driver code base, which is used by several wireless driver interfaces; i.e., ath9k. The feature is easily enabled in most recent kernels and Linux OS's using these combinations."
checking, 'mac80211' *is* enabled
lsmod | grep 80211
mac80211 835584 1 ath9k_htc
cfg80211 651264 4 ath9k_htc,mac80211,ath,ath9k_common
rfkill 28672 5 cfg80211
a bug? or some missing install/config?
More information about the Hostap
mailing list