aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/mbo.c
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/mbo.c
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/mbo.c')
-rw-r--r--wpa_supplicant/mbo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/mbo.c b/wpa_supplicant/mbo.c
index 5b5c3e6..91667b0 100644
--- a/wpa_supplicant/mbo.c
+++ b/wpa_supplicant/mbo.c
@@ -18,6 +18,7 @@
#include "wpa_supplicant_i.h"
#include "driver_i.h"
#include "bss.h"
+#include "scan.h"
/* type + length + oui + oui type */
#define MBO_IE_HEADER 6
@@ -810,4 +811,5 @@ void wpas_mbo_update_cell_capa(struct wpa_supplicant *wpa_s, u8 mbo_cell_capa)
cell_capa[6] = mbo_cell_capa;
wpas_mbo_send_wnm_notification(wpa_s, cell_capa, 7);
+ wpa_supplicant_set_default_scan_ies(wpa_s);
}