help
Enable support for Wi-Fi Protected Setup.
+config BR2_PACKAGE_HOSTAPD_VLAN
+ bool "Enable VLAN support"
+ default y
+ help
+ Enable support for VLANs.
+
+config BR2_PACKAGE_HOSTAPD_VLAN_DYNAMIC
+ bool "Enable dynamic VLAN support"
+ default y
+ depends on BR2_PACKAGE_HOSTAPD_VLAN
+ help
+ Enable support for fully dynamic VLANs.
+ This enables hostapd to automatically create
+ bridge and VLAN interfaces if necessary.
+
+config BR2_PACKAGE_HOSTAPD_VLAN_NETLINK
+ bool "Use netlink-based API for VLAN operations"
+ default y
+ depends on BR2_PACKAGE_HOSTAPD_VLAN
+ help
+ Use netlink-based kernel API for VLAN operations
+ instead of ioctl().
+
endif
comment "hostapd needs a toolchain w/ threads"
HOSTAPD_CONFIG_SET =
HOSTAPD_CONFIG_ENABLE = \
- CONFIG_FULL_DYNAMIC_VLAN \
CONFIG_HS20 \
CONFIG_IEEE80211AC \
CONFIG_IEEE80211N \
CONFIG_IEEE80211R \
CONFIG_INTERNAL_LIBTOMMATH \
CONFIG_INTERWORKING \
- CONFIG_LIBNL32 \
- CONFIG_VLAN_NETLINK
+ CONFIG_LIBNL32
HOSTAPD_CONFIG_DISABLE =
HOSTAPD_CONFIG_ENABLE += CONFIG_WPS
endif
+ifeq ($(BR2_PACKAGE_HOSTAPD_VLAN),)
+HOSTAPD_CONFIG_ENABLE += CONFIG_NO_VLAN
+endif
+
+ifeq ($(BR2_PACKAGE_HOSTAPD_VLAN_DYNAMIC),y)
+HOSTAPD_CONFIG_ENABLE += CONFIG_FULL_DYNAMIC_VLAN
+endif
+
+ifeq ($(BR2_PACKAGE_HOSTAPD_VLAN_NETLINK),y)
+HOSTAPD_CONFIG_ENABLE += CONFIG_VLAN_NETLINK
+endif
+
define HOSTAPD_CONFIGURE_CMDS
cp $(@D)/hostapd/defconfig $(HOSTAPD_CONFIG)
sed -i $(patsubst %,-e 's/^#\(%\)/\1/',$(HOSTAPD_CONFIG_ENABLE)) \