aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorVamsi Krishna <vamsin@qti.qualcomm.com>2017-05-04 07:24:49 (GMT)
committerJouni Malinen <j@w1.fi>2017-05-04 21:26:05 (GMT)
commit178553b709e0143e2a67e453325b6983c0066ea1 (patch)
treefe986477d55672a69ce5950bd386cca2ceab4ef1 /wpa_supplicant/driver_i.h
parent942b52a8f69ca363cc1fa5d0249db7a72c714348 (diff)
downloadhostap-178553b709e0143e2a67e453325b6983c0066ea1.zip
hostap-178553b709e0143e2a67e453325b6983c0066ea1.tar.gz
hostap-178553b709e0143e2a67e453325b6983c0066ea1.tar.bz2
MBO: Add support to set ignore assoc disallow to driver
Add support to set ignore assoc disallow to the driver so that the driver ignores assoc disallowed bit set by APs while connecting. This is used by drivers that handle BSS selection and roaming internally. 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 facceb9..39b08ac 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -998,4 +998,12 @@ wpa_drv_get_bss_trans_status(struct wpa_supplicant *wpa_s,
params);
}
+static inline int wpa_drv_ignore_assoc_disallow(struct wpa_supplicant *wpa_s,
+ int val)
+{
+ if (!wpa_s->driver->ignore_assoc_disallow)
+ return -1;
+ return wpa_s->driver->ignore_assoc_disallow(wpa_s->drv_priv, val);
+}
+
#endif /* DRIVER_I_H */