aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/mesh_mpm.c
diff options
context:
space:
mode:
authorMathy Vanhoef <Mathy.Vanhoef@cs.kuleuven.be>2018-08-06 19:46:24 (GMT)
committerJouni Malinen <j@w1.fi>2018-12-16 16:35:30 (GMT)
commitad20a1367f8dc2232521c025906990f21e9e12d1 (patch)
treee3f4bd3f40ba0ab66f2322ac51f5dba164fe8112 /wpa_supplicant/mesh_mpm.c
parentd706e0d7a335edbdf9a8d7012318f27d24a9b971 (diff)
downloadhostap-ad20a1367f8dc2232521c025906990f21e9e12d1.zip
hostap-ad20a1367f8dc2232521c025906990f21e9e12d1.tar.gz
hostap-ad20a1367f8dc2232521c025906990f21e9e12d1.tar.bz2
Store the VHT Operation element of an associated STA
APs and mesh peers use the VHT Operation element to advertise certain channel properties (e.g., the bandwidth of the channel). Save this information element so we can later access this information. Signed-off-by: Mathy Vanhoef <Mathy.Vanhoef@cs.kuleuven.be>
Diffstat (limited to 'wpa_supplicant/mesh_mpm.c')
-rw-r--r--wpa_supplicant/mesh_mpm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/mesh_mpm.c b/wpa_supplicant/mesh_mpm.c
index eafb0af..75ee0f7 100644
--- a/wpa_supplicant/mesh_mpm.c
+++ b/wpa_supplicant/mesh_mpm.c
@@ -699,6 +699,7 @@ static struct sta_info * mesh_mpm_add_peer(struct wpa_supplicant *wpa_s,
#ifdef CONFIG_IEEE80211AC
copy_sta_vht_capab(data, sta, elems->vht_capabilities);
+ copy_sta_vht_oper(data, sta, elems->vht_operation);
set_sta_vht_opmode(data, sta, elems->vht_opmode_notif);
#endif /* CONFIG_IEEE80211AC */