aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/events.c
diff options
context:
space:
mode:
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>2013-11-25 19:16:12 (GMT)
committerJouni Malinen <j@w1.fi>2013-12-08 04:50:15 (GMT)
commit8d1fdde7f0e2e1a7c5614cafe41bafde0d9ab9e3 (patch)
treeeaa6fa12acefdd51aa20c93edf59fabd1e038ba7 /wpa_supplicant/events.c
parent10e694a6185817fd76b1ccbc632ce566ab7e0b21 (diff)
downloadhostap-8d1fdde7f0e2e1a7c5614cafe41bafde0d9ab9e3.zip
hostap-8d1fdde7f0e2e1a7c5614cafe41bafde0d9ab9e3.tar.gz
hostap-8d1fdde7f0e2e1a7c5614cafe41bafde0d9ab9e3.tar.bz2
nl80211/hostapd: Extend channel switch notify handling
Adds support for VHT by parsing bandwidth and center_freq{1,2}. Signed-hostap: Michal Kazior <michal.kazior@tieto.com> Signed-hostap: Janusz Dziedzic <janusz.dziedzic@tieto.com>
Diffstat (limited to 'wpa_supplicant/events.c')
-rw-r--r--wpa_supplicant/events.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index aacf5b9..517d812 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -2891,7 +2891,10 @@ void wpa_supplicant_event(void *ctx, enum wpa_event_type event,
wpas_ap_ch_switch(wpa_s, data->ch_switch.freq,
data->ch_switch.ht_enabled,
- data->ch_switch.ch_offset);
+ data->ch_switch.ch_offset,
+ data->ch_switch.ch_width,
+ data->ch_switch.cf1,
+ data->ch_switch.cf2);
break;
#endif /* CONFIG_AP */
#if defined(CONFIG_AP) || defined(CONFIG_IBSS_RSN)