mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
d88934aa5a
And import patchset to allow 802.11s mesh on DFS channels, see also http://lists.infradead.org/pipermail/hostap/2018-April/038418.html Fix sae_password for encryption mesh (sent upstream as well). Also refreshed existing patches and fixed 463-add-mcast_rate-to-11s. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
26 lines
832 B
Diff
26 lines
832 B
Diff
From 851f67301a8b9bc96c3d8cce08e355a64d30350d Mon Sep 17 00:00:00 2001
|
|
From: Peter Oh <peter.oh@bowerswilkins.com>
|
|
Date: Thu, 12 Apr 2018 02:49:09 -0700
|
|
Subject: [PATCH 12/15] mesh: allow mesh to send channel switch request
|
|
|
|
add mesh type to nl80211 channel switch request,
|
|
so mesh is able to send the request to kernel drivers.
|
|
|
|
Signed-off-by: Peter Oh <peter.oh@bowerswilkins.com>
|
|
---
|
|
src/drivers/driver_nl80211.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
--- a/src/drivers/driver_nl80211.c
|
|
+++ b/src/drivers/driver_nl80211.c
|
|
@@ -8659,7 +8659,8 @@ static int nl80211_switch_channel(void *
|
|
}
|
|
|
|
if ((drv->nlmode != NL80211_IFTYPE_AP) &&
|
|
- (drv->nlmode != NL80211_IFTYPE_P2P_GO))
|
|
+ (drv->nlmode != NL80211_IFTYPE_P2P_GO) &&
|
|
+ (drv->nlmode != NL80211_IFTYPE_MESH_POINT) )
|
|
return -EOPNOTSUPP;
|
|
|
|
/*
|