summaryrefslogtreecommitdiffstats
path: root/package/hostapd
Commit message (Collapse)AuthorAgeFilesLines
* package/hostapd: bump version to 2.7Bernd Kuhls2018-12-162-7/+3
| | | | | | | Added license hash, removed patches included in new version. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* hostapd: drop default dependency on netlinkAlexander Mukhin2018-04-022-20/+30
| | | | | | | | | Get rid of netlink dependency if the options selected allow that. Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com> Reviewed-by: Sam Voss <sam.voss@rockwellcollins.com> [Thomas/Arnout: use a if BR2_PACKAGE_HOSTAPD_VLAN .. endif block.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* hostapd: make ACS dependent on nl80211Alexander Mukhin2018-04-021-0/+4
| | | | | | | | | | | | | | | | According to hostapd's defconfig file, ACS is currently only supported through the nl80211 driver. Search through the source code also confirms that ACS machinery is present in the nl80211 driver only. Although hostapd can be built with ACS enabled and nl80211 disabled, an attempt to use ACS with other drivers by setting a wireless channel to 0 results in a runtime failure (driver doesn't accept this value). So we might save a user from selecting a meaningless combination by making ACS dependent on nl80211. Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com> Reviewed-by: Sam Voss <sam.voss@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* hostapd: select driver supportAlexander Mukhin2018-04-022-5/+57
| | | | | | | | | | | | | | | Add support for the wired driver. Add configuration options to select which drivers to build. Select DRIVER_NONE if no other drivers enabled (this may be the case when building hostapd as a standalone RADIUS server). Update makefile logic and apply wireless-specific options only if at least one wireless driver enabled. Otherwise, an attempt to build a wired-only or RADIUS-only hostapd will fail. Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com> Reviewed-by: Sam Voss <sam.voss@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* hostapd: select VLAN supportAlexander Mukhin2017-12-292-3/+36
| | | | | | | | Add configuration options for hostapd to select which kind of VLAN support to build. Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* hostapd: keep previous patches when DRIVER_RTW setAlexander Mukhin2017-11-251-1/+1
| | | | | | | | Changed HOSTAPD_PATCH= to HOSTAPD_PATCH+= to keep previously added patches. Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* hostapd: add support for Realtek driverAlexander Mukhin2017-11-243-0/+11
| | | | | | | | | | | | | | Since kernel drivers for Realtek wireless chips use non-standard interfaces, upstream hostapd does not support them. One have to apply an external patch for hostapd to work with these chips. See: https://github.com/pritambaral/hostapd-rtl871xdrv A configuration option is added to enable support for Realtek chips, and it's turned off by default. Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com> Tested-by: Angelo Compagnucci <angelo.compagnucci@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* hostapd: supports only the real OpenSSL, not LibreSSLThomas Petazzoni2017-10-211-2/+2
| | | | | | | hostapd will not build with LibreSSL without patches, so let's support only OpenSSL. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* hostapd: add upstream security fixesPeter Korsgaard2017-10-172-0/+5
| | | | | | | | Fixes CVE-2017-13082 http://lists.infradead.org/pipermail/hostap/2017-October/037989.html Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* hostapd: fix upstream URLAlexander Mukhin2017-10-102-2/+2
| | | | | | | | hostapd project URL has been changed to w1.fi/hostapd. The old domain epitest.fi has expired. Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: remove trailing backslashRicardo Martincoski2017-04-061-1/+1
| | | | | | | | | | | Occurrences were searched using [1]: check-package --include-only TrailingBackslash $(find * -type f) and manually removed. [1] http://patchwork.ozlabs.org/patch/729669/ Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, package: use SPDX short identifier for BSD-3cRahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for BSD-3c is BSD-3-Clause. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/BSD-3c/BSD-3-Clause/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/hostapd: bump to version 2.6Jörg Krause2016-10-137-312/+2
| | | | | | | Remove all patches as they are applied to or were fetched from upstream. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* hostapd: Install default hostapd.conf on targetAlexey Brodkin2016-07-071-0/+2
| | | | | | | | | | | | | For convenience it's nice to have default hostapd.conf installed on target automatically as a good starting point. Otherwise user has to create it manually from scratch. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>i Cc: Peter Korsgaard <peter@korsgaard.com> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* hostapd: add security fixBaruch Siach2016-05-031-0/+85
| | | | | | | | | | Add upstream patch fixing CVE-2016-2447: psk configuration parameter update allowing arbitrary data to be written. See http://w1.fi/security/2016-1/psk-parameter-config-update.txt for details. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* hostapd: fix musl issuesJörg Krause2016-03-092-0/+120
| | | | | | | | | | | | | | | | | | | | | | Add two patches to fix build issues with the musl libc. The first patch "0003-vlan-fix-musl-build-error" fixes the undefined __caddr_t build error. __caddr_t is a legacy BSD type and should be avoided in modern implementations. The second patch "0004-vlan-fix-musl-libc-conflict-with-Linux-kernel-header" fixes a typical musl libc header conflict with the Linux kernel header. We avoid including the conflicting Linux header file by defining the needed macros directly in the needing hostapd source file. Fixes: http://autobuild.buildroot.net/results/c26/c265cfada20621a631e9d118b9633df80b0e4864/ http://autobuild.buildroot.net/results/658/658c5e2fe6e3a4ad74ca47c926426e95eac0b9ec/ http://autobuild.buildroot.net/results/578/5787805b3e1487c4f85c3a367ed88e8730078b8e/ http://autobuild.buildroot.net/results/42d/42d8be008dcb07e9ec26ce10c797deb43ed86568/ Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* hostapd: correct legal infoRahul Bedarkar2016-02-251-1/+1
| | | | | | | | | | | | | | | hostapd is licensed under BSD-3c only and not dual licensed. Quoting from COPYING file This software was previously distributed under BSD/GPL v2 dual license terms that allowed either of those license alternatives to be selected. As of February 11, 2012, the project has chosen to use only the BSD license option for future distribution. As such, the GPL v2 license option is no longer used. Reviewed-by: Abhimanyu Vishwakarma <Abhimanyu.Vishwakarma@imgtec.com> Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* hostapd: make ACS optionalGustavo Zacarias2015-12-032-1/+14
| | | | | | | | | | | | | | Make ACS (Automatic Channel Selection) support in hostapd optional. There's a clash of standard vs. propietary solutions, hence when hostapd has builtin ACS support (standard) and it's enabled (channel=0 in the config) this will preclude the propietary driver from using ACS (it won't work at all). See: http://e2e.ti.com/support/wireless_connectivity/f/307/p/465333/1669270 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* hostapd: add security patchesGustavo Zacarias2015-11-112-0/+105
| | | | | | | | Fixes: CVE-2015-5314 - hostapd: EAP-pwd missing last fragment length validation Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* hostapd: bump to version 2.5Baruch Siach2015-09-305-248/+2
| | | | | | | Remove upstream patches. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* hostapd: apply upstream security patchesBaruch Siach2015-05-043-0/+246
| | | | | | | | | | | | This commit adds patches for three different upstream security advisories. No CVE numbers stated. http://w1.fi/security/2015-2/wps-upnp-http-chunked-transfer-encoding.txt http://w1.fi/security/2015-3/integer-underflow-in-ap-mode-wmm-action-frame.txt http://w1.fi/security/2015-4/eap-pwd-missing-payload-length-validation.txt Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove non-IPv6 dependencies and tweaksGustavo Zacarias2015-04-221-4/+0
| | | | | | | | Now that IPv6 is mandatory remove package dependencies and conditionals for it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: indentation cleanupJerzy Grzegorek2015-03-311-16/+16
| | | | | | | This commit doesn't touch infra packages. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/hostapd: bump to version 2.4Jörg Krause2015-03-163-28/+2
| | | | | | | | | Also: - remove patches: merged upstream - update hash Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/hostapd: use correct include path for libnl-3.0Romain Naour2014-12-202-1/+27
| | | | | | | | | Add a dependancy on host-pkgconf. Signed-off-by: Romain Naour <romain.naour@openwide.fr> Reported-by: Jörg Krause <jkrause@posteo.de> Cc: Jörg Krause <jkrause@posteo.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Rename BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBSThomas Petazzoni2014-12-112-4/+4
| | | | | | | | | | | | | | | | | | | | | | | Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed from "prefer static libraries when possible" to "use only static libraries". The former semantic didn't make much sense, since the user had absolutely no control/idea of which package would use static libraries, and which packages would not. Therefore, for quite some time, we have been starting to enforce that BR2_PREFER_STATIC_LIB should really build everything with static libraries. As a consequence, this patch renames BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS, and adjust the Config.in option accordingly. This also helps preparing the addition of other options to select shared, shared+static or just static. Note that we have verified that this commit can be reproduced by simply doing a global rename of BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* hostapd: add hashGustavo Zacarias2014-10-141-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* hostapd: needs MMUBaruch Siach2014-10-131-0/+2
| | | | | | | | | | hostapd calls fork() since last version bump. Fixes: http://autobuild.buildroot.net/results/945/94543b865db2ff5da34434fdcdf15ea7db73f392/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/hostapd: security bump to version 2.3Jörg Krause2014-10-121-1/+1
| | | | | | | | Fix CVE-2014-3686: wpa_cli and hostapd_cli action script execution vulnerability (http://w1.fi/security/2014-1/wpacli-action-scripts.txt) Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* hostapd: EAP support needs shared library supportThomas Petazzoni2014-07-271-0/+4
| | | | | | | | Fixes: http://autobuild.buildroot.org/results/dcb/dcbdc25cd5b46917c8f740d492db7512021462fa/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* hostapd: explain internal TLS version selectionBaruch Siach2014-06-051-1/+3
| | | | | | | Should have no functional change. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* hostapd: bump to version 2.2Baruch Siach2014-06-052-37/+1
| | | | | | | | | Drop upstream patch. CONFIG_IEEE80211W is now enabled by default. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* hostapd: backport rt5370 fix from upstreamPeter Korsgaard2014-06-041-0/+35
| | | | | | | | | | | Fixes #7166 hostapd crashes with segfault when using RT5370. This is because the driver reports Beacon RX prior to hostapd having completed the AP mode setup. This upstream commit fixes it. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* hostapd: fix static linkingGustavo Zacarias2014-03-041-0/+1
| | | | | | | | | | | A rebase of Samuel Martin's http://patchwork.ozlabs.org/patch/312320/ hostapd doesn't use pkg-config and upstream likely wouldn't take a patch to do so (hostapd/wpa_supplicant are used in android builds, and it doesn't use any auto* stuff either) so pass it in LIBS since we always build openssl with libz support. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* hostapd: rework .config and bump to version 2.1Gustavo Zacarias2014-03-021-55/+37
| | | | | | | | Rework .config file editing as was done for wpa_supplicant and bump to version 2.1 which includes 802.11ac and ACS support. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* hostapd: fix static build failureGustavo Zacarias2013-11-291-4/+5
| | | | | | | | | | | | | | | libnl-3 uses threads and this isn't accounted for in hostapd (or libnl-3*.pc files for that matter - hostapd doesn't use pkg-config anyway). Since linking order matters for static scenarios also throw in -lnl-3 into LIBS first since it gets appended to in hostapd makefiles to add libnl-3. Fixes: http://autobuild.buildroot.net/results/d4a/d4a9f44effeb08eda6c4b32764274ae81d185d5e/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: unify comments of toolchain option dependenciesThomas De Schampheleire2013-10-141-1/+1
| | | | | | | | This patch lines up the comments in Config.in files that clarify which toolchain options the package depends on. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* hostapd: bump to version 2.0Gustavo Zacarias2013-01-201-1/+5
| | | | | | | | 802.11ac support isn't enabled on purpose since it's broken on some architectures. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* hostapd: remove gnutls supportGustavo Zacarias2012-12-281-8/+1
| | | | | | | | | hostapd isn't API compatible with gnutls3 so remove support. It's probably hardly used since openssl is far more common, and hostapd can use its internal routines if it's not available. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* hostapd: bump to version 1.1Gustavo Zacarias2012-12-053-104/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* hostapd: add fix for CVE-2012-4445Gustavo Zacarias2012-10-201-0/+49
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* hostapd: add openssl 1.0.1 patchGustavo Zacarias2012-10-041-0/+54
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libnl: requires thread supportGustavo Zacarias2012-07-301-0/+4
| | | | | | | | Fixes http://autobuild.buildroot.net/results/813602e91ad4022957b3bc8d285ddb2b05d3b875/build-end.log Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* hostapd: enable interworking and enhanceGustavo Zacarias2012-05-231-31/+28
| | | | | | | | | Enable IEEE 802.11u (interworking). Also enable new supported EAP methods. Switch from echo to sed where possible for a cleaner .config output Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* hostapd: bump to version 1.0Gustavo Zacarias2012-05-144-88/+23
| | | | | | | | Bump to version 1.0 Also convert to gentargets. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* hostapd: fix build with new libnl-3Daniel Mack2011-12-262-0/+16
| | | | | | | | | The CFLAGS have to be augmented for the include dir and a small patch will make the binary link to libnl-3 and libnl-genl-3 instead of libnl and libnl-gen. Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* hostapd: add HT40 patchGustavo Zacarias2011-10-152-1/+52
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from AUTOTARGETSThomas Petazzoni2011-09-291-1/+1
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
OpenPOWER on IntegriCloud