mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
34705946e2
Drop outdated and by now broken patchset originally supplied by Peter Oh in August 2018 but never merged upstream. Instead add the more promissing rework recently submitted by Markus Theil who picked up Peter's patchset, fixed and completed it and added support for HE (802.11ax) in mesh mode. This is only compile tested and needs some real-life testing. Fixes: FS#3214 Fixes:167028b750
("hostapd: Update to version 2.9 (2019-08-08)") Fixes:0a3ec87a66
("hostapd: update to latest Git hostap_2_9-1238-gdd2daf0848ed") Fixes:017320ead3
("hostapd: bring back mesh patches") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
25 lines
907 B
Diff
25 lines
907 B
Diff
From 928da9a270deaf4409aee4d87a33a6f61b56c136 Mon Sep 17 00:00:00 2001
|
|
From: Markus Theil <markus.theil@tu-ilmenau.de>
|
|
Date: Tue, 30 Jun 2020 14:19:05 +0200
|
|
Subject: [PATCH 17/19] mesh: fix mesh_oom test
|
|
|
|
Only change freq params, if ifmsh->freq is set initially, which only
|
|
happens if hostapd_get_hw_features in setup_interface2 succeeds.
|
|
|
|
Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de>
|
|
---
|
|
wpa_supplicant/mesh.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/wpa_supplicant/mesh.c
|
|
+++ b/wpa_supplicant/mesh.c
|
|
@@ -218,7 +218,7 @@ static int wpas_mesh_complete(struct wpa
|
|
* inspect if channel's been changed since initialized.
|
|
* i.e. DFS radar detection
|
|
*/
|
|
- if (ifmsh->freq != params->freq.freq) {
|
|
+ if (ifmsh->freq > 0 && ifmsh->freq != params->freq.freq) {
|
|
wpa_s->assoc_freq = ifmsh->freq;
|
|
ssid->frequency = ifmsh->freq;
|
|
struct he_capabilities *he_capab = NULL;
|