aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>2013-11-14 10:28:29 (GMT)
committerJouni Malinen <j@w1.fi>2013-11-17 14:48:33 (GMT)
commitdcca2219aec260fba9d8b1c5eb010fd6bfe64efd (patch)
treead9c0669391f0e58daef07d239784f55fbb10783 /wpa_supplicant
parente1925bde366ab076cc2f69e415bf9201d60efdbe (diff)
downloadhostap-dcca2219aec260fba9d8b1c5eb010fd6bfe64efd.zip
hostap-dcca2219aec260fba9d8b1c5eb010fd6bfe64efd.tar.gz
hostap-dcca2219aec260fba9d8b1c5eb010fd6bfe64efd.tar.bz2
wpa_supplicant: Update channel switch driver interface
Add csa_settings struct which holds parameters for CSA. Change driver interface for switch_channel(), so that it will receive this struct and not only the new frequency as it was before. This allows wpa_supplicant to provide all the required parameters (beacons, proberesp, assocresp, CSA IE) which are required by cfg80211 implementation. Signed-hostap: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/driver_i.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index 6b5d49a..56d6529 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -683,11 +683,11 @@ static inline int wpa_drv_radio_disable(struct wpa_supplicant *wpa_s,
}
static inline int wpa_drv_switch_channel(struct wpa_supplicant *wpa_s,
- unsigned int freq)
+ struct csa_settings *settings)
{
if (!wpa_s->driver->switch_channel)
return -1;
- return wpa_s->driver->switch_channel(wpa_s->drv_priv, freq);
+ return wpa_s->driver->switch_channel(wpa_s->drv_priv, settings);
}
static inline int wpa_drv_wnm_oper(struct wpa_supplicant *wpa_s,