aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorAshwini Patil <c_apati@qti.qualcomm.com>2017-06-21 14:46:07 (GMT)
committerJouni Malinen <j@w1.fi>2017-06-30 14:27:44 (GMT)
commitb04854ceffac340c7919cb70ce5104825a7c16a8 (patch)
treec80fa69443c1cc40a46fc4bfefe16423c28336a6 /wpa_supplicant/driver_i.h
parent2a71673e27e95201b0f277a0437682136b4891a9 (diff)
downloadhostap-b04854ceffac340c7919cb70ce5104825a7c16a8.zip
hostap-b04854ceffac340c7919cb70ce5104825a7c16a8.tar.gz
hostap-b04854ceffac340c7919cb70ce5104825a7c16a8.tar.bz2
nl80211/MBO: Set temporary disallowed BSSID list to driver
Set temporary disallowed BSSID list to the driver so that the driver doesn't try to connect to any of the blacklisted BSSIDs during driver-based roaming operation. This commit includes support only for the nl80211 driver interface using a QCA vendor command for this. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index fa2296b..60628db 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -1007,4 +1007,14 @@ static inline int wpa_drv_ignore_assoc_disallow(struct wpa_supplicant *wpa_s,
return wpa_s->driver->ignore_assoc_disallow(wpa_s->drv_priv, val);
}
+static inline int wpa_drv_set_bssid_blacklist(struct wpa_supplicant *wpa_s,
+ unsigned int num_bssid,
+ const u8 *bssids)
+{
+ if (!wpa_s->driver->set_bssid_blacklist)
+ return -1;
+ return wpa_s->driver->set_bssid_blacklist(wpa_s->drv_priv, num_bssid,
+ bssids);
+}
+
#endif /* DRIVER_I_H */