forked from openwrt/openwrt
-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update hostapd to Git HEAD from 2022-05-08. This allows us to take advantage of background radar-detection as well as BSS color collision detection. Suggested-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: David Bauer <mail@david-bauer.net> Tested-by: Stijn Tintel <stijn@linux-ipv6.be>
- Loading branch information
1 parent
98d91e4
commit c35ff1a
Showing
8 changed files
with
94 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
...work/services/hostapd/patches/990-ctrl-make-WNM_AP-functions-dependant-on-CONFIG_AP.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
From f0e9f5aab52b3eab85d28338cc996972ced4c39c Mon Sep 17 00:00:00 2001 | ||
From: David Bauer <mail@david-bauer.net> | ||
Date: Tue, 17 May 2022 23:07:59 +0200 | ||
Subject: [PATCH] ctrl: make WNM_AP functions dependant on CONFIG_AP | ||
|
||
This fixes linking errors found when compiling wpa_supplicant with | ||
CONFIG_WNM_AP enabled but CONFIG_AP disabled. | ||
|
||
Signed-off-by: David Bauer <mail@david-bauer.net> | ||
--- | ||
wpa_supplicant/ctrl_iface.c | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c | ||
index ac337e0f5..6e23114e6 100644 | ||
--- a/wpa_supplicant/ctrl_iface.c | ||
+++ b/wpa_supplicant/ctrl_iface.c | ||
@@ -12185,7 +12185,7 @@ char * wpa_supplicant_ctrl_iface_process(struct wpa_supplicant *wpa_s, | ||
if (wpas_ctrl_iface_coloc_intf_report(wpa_s, buf + 18)) | ||
reply_len = -1; | ||
#endif /* CONFIG_WNM */ | ||
-#ifdef CONFIG_WNM_AP | ||
+#if defined(CONFIG_AP) && defined(CONFIG_WNM_AP) | ||
} else if (os_strncmp(buf, "DISASSOC_IMMINENT ", 18) == 0) { | ||
if (ap_ctrl_iface_disassoc_imminent(wpa_s, buf + 18)) | ||
reply_len = -1; | ||
@@ -12195,7 +12195,7 @@ char * wpa_supplicant_ctrl_iface_process(struct wpa_supplicant *wpa_s, | ||
} else if (os_strncmp(buf, "BSS_TM_REQ ", 11) == 0) { | ||
if (ap_ctrl_iface_bss_tm_req(wpa_s, buf + 11)) | ||
reply_len = -1; | ||
-#endif /* CONFIG_WNM_AP */ | ||
+#endif /* CONFIG_AP && CONFIG_WNM_AP */ | ||
} else if (os_strcmp(buf, "FLUSH") == 0) { | ||
wpa_supplicant_ctrl_iface_flush(wpa_s); | ||
} else if (os_strncmp(buf, "RADIO_WORK ", 11) == 0) { | ||
-- | ||
2.35.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters