mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +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>
28 lines
828 B
Diff
28 lines
828 B
Diff
From 6eacc14904b6f09a1490e697c01adf5dc56c4905 Mon Sep 17 00:00:00 2001
|
|
From: Markus Theil <markus.theil@tu-ilmenau.de>
|
|
Date: Tue, 30 Jun 2020 13:53:23 +0200
|
|
Subject: [PATCH 07/19] dfs: use helper functions for vht/he parameters
|
|
|
|
Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de>
|
|
---
|
|
src/ap/dfs.c | 6 ++++--
|
|
1 file changed, 4 insertions(+), 2 deletions(-)
|
|
|
|
--- a/src/ap/dfs.c
|
|
+++ b/src/ap/dfs.c
|
|
@@ -955,10 +955,12 @@ dfs_downgrade_bandwidth(struct hostapd_i
|
|
if (*skip_radar) {
|
|
*skip_radar = 0;
|
|
} else {
|
|
- if (iface->conf->vht_oper_chwidth == CHANWIDTH_USE_HT)
|
|
+ int oper_chwidth = hostapd_get_oper_chwidth(iface->conf);
|
|
+
|
|
+ if (oper_chwidth == CHANWIDTH_USE_HT)
|
|
break;
|
|
*skip_radar = 1;
|
|
- iface->conf->vht_oper_chwidth--;
|
|
+ hostapd_set_oper_chwidth(iface->conf, oper_chwidth - 1);
|
|
}
|
|
}
|
|
|