hostapd: bring back mesh patches
[oweals/openwrt.git] / package / network / services / hostapd / patches / 013-mesh-do-not-allow-pri-sec-channel-switch.patch
1 From 4f4a9b9e2e61fba334a21dadea749e4b440f42e6 Mon Sep 17 00:00:00 2001
2 From: Peter Oh <peter.oh@bowerswilkins.com>
3 Date: Mon, 27 Aug 2018 14:28:48 -0700
4 Subject: [PATCH 6/7] mesh: don't allow pri/sec channel switch
5
6 This limitation isn't backed by standard, but it is known that
7 mesh doesn't have capability to handle 20/40 coex change in
8 current implementation and it will not able to establish
9 PLINK when channel switch between primary and secondary happens.
10
11 Since it's unknown when we will have the implementation of handling
12 20/40 coex change for mesh, it'd better to avoid them from happening
13 until standard based implementation is introduced.
14
15 Signed-off-by: Peter Oh <peter.oh@bowerswilkins.com>
16 ---
17  wpa_supplicant/mesh.c | 1 +
18  1 file changed, 1 insertion(+)
19
20 --- a/wpa_supplicant/mesh.c
21 +++ b/wpa_supplicant/mesh.c
22 @@ -391,6 +391,7 @@ static int wpa_supplicant_mesh_init(stru
23                 conf->basic_rates[rate_len] = -1;
24         }
25  
26 +       conf->no_pri_sec_switch = 1;
27         /* Handle pri/sec switch frequency within AP configuration parameter
28          * generation without changing the stored network profile in the end. */
29         saved_freq = ssid->frequency;