aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorvamsi krishna <vamsin@qti.qualcomm.com>2016-07-19 07:11:15 (GMT)
committerJouni Malinen <j@w1.fi>2016-08-02 18:21:52 (GMT)
commitcc9985d1b1a844fddbc042abe8c4f5036c0d410b (patch)
tree75d6c20989747f12d1e2b88b9afdfac3db5c5eef /wpa_supplicant/driver_i.h
parent4f910f38e57d154f7ef559dad7d31cadf045b9a2 (diff)
downloadhostap-cc9985d1b1a844fddbc042abe8c4f5036c0d410b.zip
hostap-cc9985d1b1a844fddbc042abe8c4f5036c0d410b.tar.gz
hostap-cc9985d1b1a844fddbc042abe8c4f5036c0d410b.tar.bz2
Set default scan IEs to the driver (QCA vendor extension)
This makes wpa_supplicant set default scan IEs to the driver (if the vendor command is supported). The driver can use these IEs in the scan requests initiated by the driver itself. Also the driver can merge these IEs into further scan requests that it receives, in case if the scan request doesn't carry any of the IEs sent in this command. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index 396a0dc..7a16b7a 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -969,4 +969,12 @@ static inline int wpa_drv_p2p_lo_stop(struct wpa_supplicant *wpa_s)
return wpa_s->driver->p2p_lo_stop(wpa_s->drv_priv);
}
+static inline int wpa_drv_set_default_scan_ies(struct wpa_supplicant *wpa_s,
+ const u8 *ies, size_t len)
+{
+ if (!wpa_s->driver->set_default_scan_ies)
+ return -1;
+ return wpa_s->driver->set_default_scan_ies(wpa_s->drv_priv, ies, len);
+}
+
#endif /* DRIVER_I_H */