package/esp-hosted: bump to version 2026-11-12
PATCH 1/1 package/esp-hosted: bump to version 2026-11-12
Drop local patch that has been upstreamed:
https://github.com/espressif/esp-hosted-linux/commit/139a7b6
Co-Authored-By Claude Opus 5.5 <[email protected]>
Signed-off-by Giulio Benetti <[email protected]>
--- ...p_hosted_ng-Fix-build-for-kernel-7.3.patch | 86 ------------------- package/esp-hosted/esp-hosted.hash | 2 +- package/esp-hosted/esp-hosted.mk | 2 +- 3 files changed, 2 insertions(+), 88 deletions(-) delete mode 100644 package/esp-hosted/0001-fix-esp_hosted_ng-Fix-build-for-kernel-7.3.patch
package/esp-hosted/0001-fix-esp_hosted_ng-Fix-build-for-kernel-7.3.patch deleted +0 -86
@@ -1,86 +0,0 @@ -From f91cb6274e5b13342091a934fadeeb39ea9613d0 Mon Sep 17 00:00:00 2001 -From: Giulio Benetti <[email protected]> -Date: Thu, 29 Oct 2026 12:46:52 +0100 -Subject: [PATCH] fix(esp_hosted_ng): Fix build for kernel 7.3 - -With commit: -https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=914781c72813989b512609a51f8abb68417f722d -argument u64 *cookie changed into u64 cookie for mgmt_tx callback. -So let's deal with it when Linux version >= 7.3.0. - -With commit: -https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4ab9b637b94a -probe_client callback has been renamed to probe_peer. -So let's disable probe_client when Linux version >= 7.3.0. - -Upstream: https://github.com/espressif/esp-hosted-linux/pull/6 -Signed-off-by: Giulio Benetti <[email protected]> ---- - host/esp_cfg80211.c | 22 ++++++++++++++++++++-- - 1 file changed, 20 insertions(+), 2 deletions(-) - -diff --git a/host/esp_cfg80211.c b/host/esp_cfg80211.c -index 2edd523..ff61de5 100644 ---- a/host/esp_cfg80211.c -+++ b/host/esp_cfg80211.c -@@ -1190,7 +1190,12 @@ static int esp_cfg80211_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, - #else - struct cfg80211_mgmt_tx_params *params, - #endif -- u64 *cookie) -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(7, 3, 0) -+ u64 cookie -+#else -+ u64 *cookie -+#endif -+) - { - struct esp_wifi_device *priv = NULL; - -@@ -1207,8 +1212,11 @@ static int esp_cfg80211_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, - esp_err("empty priv\n"); - return -EINVAL; - } -- -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(7, 3, 0) -+ return cmd_mgmt_request(priv, params, &cookie); -+#else - return cmd_mgmt_request(priv, params, cookie); -+#endif - } - - static int esp_cfg80211_set_ap_chanwidth(struct wiphy *wiphy, -@@ -2444,12 +2452,18 @@ static void esp_cfg80211_mgmt_frame_registrations(struct wiphy *wiphy, - } - #endif - -+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(7, 3, 0)) -+static int esp_cfg80211_probe_peer(struct wiphy *wiphy, struct net_device *dev, -+ const u8 *peer, u64 cookie) -+#else - static int esp_cfg80211_probe_client(struct wiphy *wiphy, struct net_device *dev, - const u8 *peer, u64 *cookie) -+#endif - { - return -EOPNOTSUPP; - } - -+ - #if (LINUX_VERSION_CODE >= KERNEL_VERSION(7, 1, 0)) - static int esp_cfg80211_del_station(struct wiphy *wiphy, struct wireless_dev *wdev, - struct station_del_parameters *params) -@@ -2675,7 +2689,11 @@ static struct cfg80211_ops esp_cfg80211_ops = { - #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0)) - .update_mgmt_frame_registrations = esp_cfg80211_mgmt_frame_registrations, - #endif -+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(7, 3, 0)) -+ .probe_peer = esp_cfg80211_probe_peer, -+#else - .probe_client = esp_cfg80211_probe_client, -+#endif - .del_station = esp_cfg80211_del_station, - .add_station = esp_cfg80211_add_station, - .change_station = esp_cfg80211_change_station, --- -2.47.3 -
package/esp-hosted/esp-hosted.hash +1 -1
@@ -1,3 +1,3 @@ # Locally calculated -sha256 02abcfea2bf8e040d7fb6af19de155d19cf0a7f698dc069639ec0ab5f2dedf4b ng-v54d53676e36850e53d82ee779b6d65dff8e65967.tar.gz +sha256 c964fb8c141ad746284c65808eebd25e37e7410b91bf0752bb7769217a865a26 ng-v48369ec75c9f6fdd8060b8f249705a4f19a5cb45.tar.gz sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 host/LICENSE
package/esp-hosted/esp-hosted.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -ESP_HOSTED_VERSION = 54d53676e36850e53d82ee779b6d65dff8e65967 +ESP_HOSTED_VERSION = 48369ec75c9f6fdd8060b8f249705a4f19a5cb45 ESP_HOSTED_SITE = $(call github,espressif,esp-hosted-linux,$(ESP_HOSTED_VERSION)) ESP_HOSTED_SOURCE = ng-v$(ESP_HOSTED_VERSION).tar.gz ESP_HOSTED_DEPENDENCIES = linux
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 5 lines · Giulio Benetti
Drop local patch that has been upstreamed:
https://github.com/espressif/esp-hosted-linux/commit/139a7b6Co-Authored-By Claude Opus 5.5 <[email protected]>Signed-off-by Giulio Benetti <[email protected]>
Applied to next, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot