wpa-supplicant: upgrade 2.11 -> 2.12
PATCH 1/1 wpa-supplicant: upgrade 2.11 -> 2.12
From: Ankur Tyagi <[email protected]>
License-Update: Copyright updated to 2026[1].
Dropped patches that are part of the upstream version.
Changelog[2]:
* support RSN overriding (e.g., WPA3-Personal Compatibility Mode)
* improve BSS transition management support
* EHT/IEEE 802.11be/Wi-Fi 7
- more complete support
- fix message validation issues that could enable DoS attacks
* support Wi-Fi Direct R2
* support Wi-Fi Aware (add synchronized NAN; extend USD support)
* support Proximity Ranging
* support SPP A-MSDU negotiation
* support IEEE 802.11bi functionality
- changing SAE password identifiers
- EPPKE
- IEEE 802.1X/EAP in Authentication frames
- Association frame encryption
- PMKID privacy
* enable layer 2/Wi-Fi multicast filtering for all networks (not just some Passpoint networks which enabled this before)
* wpa_gui: port to Qt6
* support OpenSSL 3.0 API changes
* EAP-TEAP: protocol changes based on RFC 9930; this is not compatible with previous versions
* maintain configuration file permissions when writing updated configuration
* add option to validate PKCS#11/OpenSC engine and module paths
* fix PMKSA caching to enforce network context to avoid misuse of unexpected PMKSA cache entries
* fix a potential DoS attack in SAE processing of an unexpected element
* fix incomplete bounds checking of mesh AMPE messages that could have resulted in DoS attacks and memory corruption
* a large number of other fixes, cleanup, and extensions
[1] https://git.w1.fi/cgit/hostap/commit/README?h=hostap_2_12&id=e58715b1b7f8d53e493017f5ce4a3b45e53f3d23
[2] https://git.w1.fi/cgit/hostap/tree/wpa_supplicant/ChangeLog?h=hostap_2_12&id=e58715b1b7f8d53e493017f5ce4a3b45e53f3d23
---
...dware-offload-requires-Linux-headers.patch | 53 -------------
...-Opportunistic-Wireless-Encryption-O.patch | 39 ---------
...nt-IEEE-802.11be-as-a-published-amen.patch | 34 --------
...onfig-Uncomment-CONFIG_IEEE80211BE-y.patch | 32 --------
...r-broken-AP-operating-class-behavior.patch | 39 ---------
.../wpa-supplicant/CVE-2025-24912-01.patch | 79 -------------------
.../wpa-supplicant/CVE-2025-24912-02.patch | 70 ----------------
...plicant_2.11.bb => wpa-supplicant_2.12.bb} | 11 +--
8 files changed, 2 insertions(+), 355 deletions(-)
delete mode 100644 meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0001-macsec_linux-Hardware-offload-requires-Linux-headers.patch
delete mode 100644 meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0002-defconfig-Update-Opportunistic-Wireless-Encryption-O.patch
delete mode 100644 meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0003-defconfig-Document-IEEE-802.11be-as-a-published-amen.patch
delete mode 100644 meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0004-defconfig-Uncomment-CONFIG_IEEE80211BE-y.patch
delete mode 100644 meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0005-WNM-Extend-workaround-for-broken-AP-operating-class-behavior.patch
delete mode 100644 meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/CVE-2025-24912-01.patch
delete mode 100644 meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/CVE-2025-24912-02.patch
rename meta/recipes-connectivity/wpa-supplicant/{wpa-supplicant_2.11.bb => wpa-supplicant_2.12.bb} (88%)meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0001-macsec_linux-Hardware-offload-requires-Linux-headers.patch deleted +0 -53
@@ -1,53 +0,0 @@ -From 809d9d8172db8e2a08ff639875f838b5b86d2641 Mon Sep 17 00:00:00 2001 -From: Sergey Matyukevich <[email protected]> -Date: Thu, 22 Aug 2024 00:03:41 +0300 -Subject: [PATCH] macsec_linux: Hardware offload requires Linux headers >= v5.7 - -Hardware offload in Linux macsec driver is enabled in compile time if -libnl version is >= v3.6. This is not sufficient for successful build -since enum 'macsec_offload' has been added to Linux header if_link.h -in kernels v5.6 and v5.7, see commits: -- https://github.com/torvalds/linux/commit/21114b7feec29e4425a3ac48a037569c016a46c8 -- https://github.com/torvalds/linux/commit/76564261a7db80c5f5c624e0122a28787f266bdf - -New libnl with older Linux headers is a valid combination. This is how -hostapd build failure has been detected by Buildroot autobuilder, see: -- http://autobuild.buildroot.net/results/b59d5bc5bd17683a3a1e3577c40c802e81911f84/ - -Extend compile time condition for the enablement of the macsec hardware -offload adding Linux headers version check. - -Fixes: 40c139664439 ("macsec_linux: Add support for MACsec hardware offload") -Signed-off-by: Sergey Matyukevich <[email protected]> - -Upstream-Status: Backport [https://w1.fi/cgit/hostap/patch/?id=809d9d8172db8e2a08ff639875f838b5b86d2641] -Signed-off-by: Jon Mason <[email protected]> ---- - src/drivers/driver_macsec_linux.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/src/drivers/driver_macsec_linux.c b/src/drivers/driver_macsec_linux.c -index c867154981e9..fad47a292f9f 100644 ---- a/src/drivers/driver_macsec_linux.c -+++ b/src/drivers/driver_macsec_linux.c -@@ -19,6 +19,7 @@ - #include <netlink/route/link.h> - #include <netlink/route/link/macsec.h> - #include <linux/if_macsec.h> -+#include <linux/version.h> - #include <inttypes.h> - - #include "utils/common.h" -@@ -32,7 +33,8 @@ - - #define UNUSED_SCI 0xffffffffffffffff - --#if LIBNL_VER_NUM >= LIBNL_VER(3, 6) -+#if (LIBNL_VER_NUM >= LIBNL_VER(3, 6) && \ -+ LINUX_VERSION_CODE >= KERNEL_VERSION(5, 7, 0)) - #define LIBNL_HAS_OFFLOAD - #endif - --- -2.39.2 -
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0002-defconfig-Update-Opportunistic-Wireless-Encryption-O.patch deleted +0 -39
@@ -1,39 +0,0 @@ -From fb043a27324ba81502b8986a31222f38aa414bbf Mon Sep 17 00:00:00 2001 -From: Miaoqing Pan <[email protected]> -Date: Thu, 18 Dec 2025 09:46:03 +0800 -Subject: [PATCH 1/3] defconfig: Update Opportunistic Wireless Encryption (OWE) - state - -OWE enhances privacy in public and enterprise environments where open -networks are prevalent. Enabling OWE aligns with modern security best -practices and supports the testing and development of OWE-capable -devices. - -OWE is now standardized in IEEE Std 802.11-2024 while it was originally -specified in IETF RFC 8110 (updated by RFC 9672). It is not experimental -anymore, i.e., there has been significant interoperability testing and -there are deployed cases. - -Signed-off-by: Miaoqing Pan <[email protected]> -Upstream-Status: Backport [https://git.w1.fi/cgit/hostap/commit/?id=39db92dcf301793ce45a8ebf85c425f67c670058] ---- - wpa_supplicant/defconfig | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/wpa_supplicant/defconfig b/wpa_supplicant/defconfig -index 52befd8..044604a 100644 ---- a/wpa_supplicant/defconfig -+++ b/wpa_supplicant/defconfig -@@ -638,8 +638,7 @@ CONFIG_BGSCAN_SIMPLE=y - #CONFIG_BGSCAN_LEARN=y - - # Opportunistic Wireless Encryption (OWE) --# Experimental implementation of draft-harkins-owe-07.txt --#CONFIG_OWE=y -+CONFIG_OWE=y - - # Device Provisioning Protocol (DPP) (also known as Wi-Fi Easy Connect) - CONFIG_DPP=y --- -2.34.1 -
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0003-defconfig-Document-IEEE-802.11be-as-a-published-amen.patch deleted +0 -34
@@ -1,34 +0,0 @@ -From aebbf87ca7311f543bd849020b97402c49f3cf24 Mon Sep 17 00:00:00 2001 -From: Miaoqing Pan <[email protected]> -Date: Thu, 18 Dec 2025 09:39:39 +0800 -Subject: [PATCH 2/3] defconfig: Document IEEE 802.11be as a published - amendment - -The comment about the IEEE 802.11be functionality being experimental -and based on a not yet finalized standard is not accurate anymore -since IEEE Std 802.11be-2024 has already been published. Remove this -outdated comment. - -Signed-off-by: Miaoqing Pan <[email protected]> -Upstream-Status: Backport [https://git.w1.fi/cgit/hostap/commit/?id=2887a975b12de9256ed6fdbd0da1dbb78c7a25c4] ---- - wpa_supplicant/defconfig | 3 --- - 1 file changed, 3 deletions(-) - -diff --git a/wpa_supplicant/defconfig b/wpa_supplicant/defconfig -index 044604a..7efb9e6 100644 ---- a/wpa_supplicant/defconfig -+++ b/wpa_supplicant/defconfig -@@ -507,9 +507,6 @@ CONFIG_IEEE80211AX=y - - # IEEE 802.11be EHT support (mainly for AP mode) - # CONFIG_IEEE80211AX is mandatory for setting CONFIG_IEEE80211BE. --# Note: This is experimental and work in progress. The definitions are still --# subject to change and this should not be expected to interoperate with the --# final IEEE 802.11be version. - #CONFIG_IEEE80211BE=y - - # Wireless Network Management (IEEE Std 802.11v-2011) --- -2.34.1 -
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0004-defconfig-Uncomment-CONFIG_IEEE80211BE-y.patch deleted +0 -32
@@ -1,32 +0,0 @@ -From be5ffd2084b8690f5b974c5b6ff7409fbfaacfb7 Mon Sep 17 00:00:00 2001 -From: Miaoqing Pan <[email protected]> -Date: Thu, 11 Dec 2025 15:07:31 +0800 -Subject: [PATCH 3/3] defconfig: Uncomment CONFIG_IEEE80211BE=y - -wpa_supplicant has supported IEEE 802.11be (Wi-Fi 7) for over three -years. With growing market demand for Wi-Fi 7, it is now an appropriate -time to enable IEEE 802.11be support. This is needed mainly to enable AP -mode functionality in wpa_supplicant. - -Signed-off-by: Miaoqing Pan <[email protected]> -Upstream-Status: Backport [https://git.w1.fi/cgit/hostap/commit/?id=e623edd9b73a521b8a4438c600c9a8fb0ac5febe] ---- - wpa_supplicant/defconfig | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/wpa_supplicant/defconfig b/wpa_supplicant/defconfig -index 7efb9e6..84ac8ba 100644 ---- a/wpa_supplicant/defconfig -+++ b/wpa_supplicant/defconfig -@@ -507,7 +507,7 @@ CONFIG_IEEE80211AX=y - - # IEEE 802.11be EHT support (mainly for AP mode) - # CONFIG_IEEE80211AX is mandatory for setting CONFIG_IEEE80211BE. --#CONFIG_IEEE80211BE=y -+CONFIG_IEEE80211BE=y - - # Wireless Network Management (IEEE Std 802.11v-2011) - # Note: This is experimental and not complete implementation. --- -2.34.1 -
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0005-WNM-Extend-workaround-for-broken-AP-operating-class-behavior.patch deleted +0 -39
@@ -1,39 +0,0 @@ -From 72ac0ee026d9f6f9cd031d7859ea0b343b34e61d Mon Sep 17 00:00:00 2001 -From: "Yu Zhang(Yuriy)" <[email protected]> -Date: Thu, 1 Aug 2024 18:37:25 +0800 -Subject: [PATCH] WNM: Extend workaround for broken AP operating class behavior - -Some APs do not advertise operating classes correctly for BSS Transition -Management. Try to determine the most likely operating frequency based -on the channel number (1..14 --> 2.4 GHz; 36..177 --> 5 GHz) if invalid -op_class == 255 is received in a BSS Transition Management Request. This -speeds up the following operating by avoiding a full scan due to an -unknown channel. - -This extends the workaround that was added in commit 80ce804e8824 ("WNM: -Workaround for broken AP operating class behavior") for invalid -operating class 0 to cover another observed case with invalid operating -class 255. - -Signed-off-by: Yu Zhang(Yuriy) <[email protected]> -Upstream-Status: Backport [https://w1.fi/cgit/hostap.git/commit/?id=72ac0ee026d9f6f9cd031d7859ea0b343b34e61d] ---- - wpa_supplicant/wnm_sta.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/wpa_supplicant/wnm_sta.c b/wpa_supplicant/wnm_sta.c -index 58a124c00..662f6089e 100644 ---- a/wpa_supplicant/wnm_sta.c -+++ b/wpa_supplicant/wnm_sta.c -@@ -555,7 +555,7 @@ static int wnm_nei_get_chan(struct wpa_supplicant *wpa_s, u8 op_class, u8 chan) - } - - freq = ieee80211_chan_to_freq(country, op_class, chan); -- if (freq <= 0 && op_class == 0) { -+ if (freq <= 0 && (op_class == 0 || op_class == 255)) { - /* - * Some APs do not advertise correct operating class - * information. Try to determine the most likely operating --- -2.34.1 -
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/CVE-2025-24912-01.patch deleted +0 -79
79 lines not on this page · raw message
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/CVE-2025-24912-02.patch deleted +0 -70
70 lines not on this page · raw message
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.12.bb renamed from meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb +2 -9
@@ -5,7 +5,7 @@ BUGTRACKER = "http://w1.fi/security/" SECTION = "network" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=5ebcb90236d1ad640558c3d3cd3035df \ - file://README;beginline=1;endline=56;md5=6e4b25e7d74bfc44a32ba37bdf5210a6 \ + file://README;beginline=1;endline=56;md5=155e35cb3d6ab0d6a17524f48f4e761c \ file://wpa_supplicant/wpa_supplicant.c;beginline=1;endline=12;md5=f5ccd57ea91e04800edb88267bf8eae4" DEPENDS = "dbus libnl"
@@ -15,15 +15,8 @@ SRC_URI = "http://w1.fi/releases/wpa_supplicant-${PV}.tar.gz \ file://wpa_supplicant.conf \ file://wpa_supplicant.conf-sane \ file://99_wpa_supplicant \ - file://0001-macsec_linux-Hardware-offload-requires-Linux-headers.patch \ - file://0002-defconfig-Update-Opportunistic-Wireless-Encryption-O.patch \ - file://0003-defconfig-Document-IEEE-802.11be-as-a-published-amen.patch \ - file://0004-defconfig-Uncomment-CONFIG_IEEE80211BE-y.patch \ - file://0005-WNM-Extend-workaround-for-broken-AP-operating-class-behavior.patch \ - file://CVE-2025-24912-01.patch \ - file://CVE-2025-24912-02.patch \ " -SRC_URI[sha256sum] = "912ea06f74e30a8e36fbb68064d6cdff218d8d591db0fc5d75dee6c81ac7fc0a" +SRC_URI[sha256sum] = "08e23937e16d0155e55cab2b51f51fbe10d80a1aa91c4e15442645059b737ef6" S = "${UNPACKDIR}/wpa_supplicant-${PV}"