[Buildroot] [PATCH 1/3] package/hostapd: enable Linux ioctls for VLANs

Matthew Weber matthew.weber at rockwellcollins.com
Mon Sep 30 14:28:07 UTC 2019


Sergey,

On Sat, Sep 28, 2019 at 12:34 PM Sergey Matyukevich <geomatsi at gmail.com> wrote:
>
> Hostapd v2.9 follows the approach taken by bridge-utils and attempts
> to use new bridge ioctls whenever possible. New bridge calls are
> enabled in hostapd build using NEED_LINUX_IOCTL configuration option.
> That switch is enabled for all the practical configurations excluding
> wired driver. However it is required to support dynamic VLANs in
> any configuration.
>
> Enable NEED_LINUX_IOCTL hostapd configuration option whenever
> dynamic VLANs support is requested in buildroot.
>
> Signed-off-by: Sergey Matyukevich <geomatsi at gmail.com>
> ---
>  package/hostapd/hostapd.mk | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/package/hostapd/hostapd.mk b/package/hostapd/hostapd.mk
> index 4a493cb9b2..0e5e5b2962 100644
> --- a/package/hostapd/hostapd.mk
> +++ b/package/hostapd/hostapd.mk
> @@ -96,6 +96,7 @@ endif
>
>  ifeq ($(BR2_PACKAGE_HOSTAPD_VLAN_DYNAMIC),y)
>  HOSTAPD_CONFIG_ENABLE += CONFIG_FULL_DYNAMIC_VLAN
> +HOSTAPD_CONFIG_SET += NEED_LINUX_IOCTL

It seems interesting that CONFIG_FULL_DYNAMIC_VLAN doesn't set this
withing the Makefile of hostapd

>  endif
>
>  ifeq ($(BR2_PACKAGE_HOSTAPD_VLAN_NETLINK),y)
> --
> 2.23.0
>


-- 

Matthew Weber | Associate Director Software Engineer | Commercial Avionics

COLLINS AEROSPACE

400 Collins Road NE, Cedar Rapids, Iowa 52498, USA

Tel: +1 319 295 7349 | FAX: +1 319 263 6099

matthew.weber at collins.com | collinsaerospace.com



CONFIDENTIALITY WARNING: This message may contain proprietary and/or
privileged information of Collins Aerospace and its affiliated
companies. If you are not the intended recipient, please 1) Do not
disclose, copy, distribute or use this message or its contents. 2)
Advise the sender by return email. 3) Delete all copies (including all
attachments) from your computer. Your cooperation is greatly
appreciated.


Any export restricted material should be shared using my
matthew.weber at corp.rockwellcollins.com address.



More information about the buildroot mailing list