summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/hostapd/hostapd_2.11.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2024-08-07 09:22:04 +0800
committerKhem Raj <raj.khem@gmail.com>2024-08-09 14:25:21 -0700
commit38a1dba331cf68d6ecd6636bcea9f73fd5fe2596 (patch)
tree748bddb12d8335716631a622073c52ad80a32bee /meta-oe/recipes-connectivity/hostapd/hostapd_2.11.bb
parent1b19abbcf37af468586b7e3f3210d4b7d13fa0b6 (diff)
downloadmeta-openembedded-38a1dba331cf68d6ecd6636bcea9f73fd5fe2596.tar.gz
hostapd: upgrade 2.10 -> 2.11
License-Update: Copyright updated to 2024. Changelog: =========== * Wi-Fi Easy Connect - add support for DPP release 3 - allow Configurator parameters to be provided during config exchange * HE/IEEE 802.11ax/Wi-Fi 6 - various fixes * EHT/IEEE 802.11be/Wi-Fi 7 - add preliminary support * SAE: add support for fetching the password from a RADIUS server * support OpenSSL 3.0 API changes * support background radar detection and CAC with some additional drivers * support RADIUS ACL/PSK check during 4-way handshake (wpa_psk_radius=3) * EAP-SIM/AKA: support IMSI privacy * improve 4-way handshake operations - use Secure=1 in message 3 during PTK rekeying * OCV: do not check Frequency Segment 1 Channel Number for 160 MHz cases to avoid interoperability issues * support new SAE AKM suites with variable length keys * support new AKM for 802.1X/EAP with SHA384 * extend PASN support for secure ranging * FT: Use SHA256 to derive PMKID for AKM 00-0F-AC:3 (FT-EAP) - this is based on additional details being added in the IEEE 802.11 standard - the new implementation is not backwards compatible * improved ACS to cover additional channel types/bandwidths * extended Multiple BSSID support * fix beacon protection with FT protocol (incorrect BIGTK was provided) * support unsynchronized service discovery (USD) * add preliminary support for RADIUS/TLS * add support for explicit SSID protection in 4-way handshake (a mitigation for CVE-2023-52424; disabled by default for now, can be enabled with ssid_protection=1) * fix SAE H2E rejected groups validation to avoid downgrade attacks * use stricter validation for some RADIUS messages * a large number of other fixes, cleanup, and extensions Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity/hostapd/hostapd_2.11.bb')
-rw-r--r--meta-oe/recipes-connectivity/hostapd/hostapd_2.11.bb48
1 files changed, 48 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/hostapd/hostapd_2.11.bb b/meta-oe/recipes-connectivity/hostapd/hostapd_2.11.bb
new file mode 100644
index 0000000000..693afe6c53
--- /dev/null
+++ b/meta-oe/recipes-connectivity/hostapd/hostapd_2.11.bb
@@ -0,0 +1,48 @@
1SUMMARY = "User space daemon for extended IEEE 802.11 management"
2HOMEPAGE = "http://w1.fi/hostapd/"
3SECTION = "kernel/userland"
4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://hostapd/README;beginline=5;endline=47;md5=8e2c69e491b28390f9de0df1f64ebd6d"
6
7DEPENDS = "libnl openssl"
8
9SRC_URI = " \
10 http://w1.fi/releases/hostapd-${PV}.tar.gz \
11 file://defconfig \
12 file://init \
13 file://hostapd.service \
14"
15
16
17SRC_URI[sha256sum] = "2b3facb632fd4f65e32f4bf82a76b4b72c501f995a4f62e330219fe7aed1747a"
18
19inherit update-rc.d systemd pkgconfig features_check
20
21CONFLICT_DISTRO_FEATURES = "openssl-no-weak-ciphers"
22
23INITSCRIPT_NAME = "hostapd"
24
25SYSTEMD_SERVICE:${PN} = "hostapd.service"
26SYSTEMD_AUTO_ENABLE:${PN} = "disable"
27
28do_configure:append() {
29 install -m 0644 ${UNPACKDIR}/defconfig ${B}/hostapd/.config
30}
31
32do_compile() {
33 export CFLAGS="-MMD -O2 -Wall -g"
34 export EXTRA_CFLAGS="${CFLAGS}"
35 make -C hostapd V=1
36}
37
38do_install() {
39 install -d ${D}${sbindir} ${D}${sysconfdir}/init.d ${D}${systemd_unitdir}/system/
40 install -m 0644 ${B}/hostapd/hostapd.conf ${D}${sysconfdir}
41 install -m 0755 ${B}/hostapd/hostapd ${D}${sbindir}
42 install -m 0755 ${B}/hostapd/hostapd_cli ${D}${sbindir}
43 install -m 755 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/hostapd
44 install -m 0644 ${UNPACKDIR}/hostapd.service ${D}${systemd_unitdir}/system/
45 sed -i -e 's,@SBINDIR@,${sbindir},g' -e 's,@SYSCONFDIR@,${sysconfdir},g' ${D}${systemd_unitdir}/system/hostapd.service
46}
47
48CONFFILES:${PN} += "${sysconfdir}/hostapd.conf"