aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ap.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/ap.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/ap.c')
-rw-r--r--wpa_supplicant/ap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/ap.c b/wpa_supplicant/ap.c
index cbe67a4..394ab30 100644
--- a/wpa_supplicant/ap.c
+++ b/wpa_supplicant/ap.c
@@ -1085,13 +1085,13 @@ int ap_ctrl_iface_chanswitch(struct wpa_supplicant *wpa_s, const char *pos)
void wpas_ap_ch_switch(struct wpa_supplicant *wpa_s, int freq, int ht,
- int offset)
+ int offset, int width, int cf1, int cf2)
{
if (!wpa_s->ap_iface)
return;
wpa_s->assoc_freq = freq;
- hostapd_event_ch_switch(wpa_s->ap_iface->bss[0], freq, ht, offset);
+ hostapd_event_ch_switch(wpa_s->ap_iface->bss[0], freq, ht, offset, width, cf1, cf1);
}