aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorVidyullatha Kanchanapally <vkanchan@qti.qualcomm.com>2017-08-17 08:26:07 (GMT)
committerJouni Malinen <j@w1.fi>2017-10-17 22:19:42 (GMT)
commit6338c99efa58244e2f7b33e134e3d6f40dc4ab2b (patch)
treed9648fcb06140f96fce8af28b901fc57c336a250 /wpa_supplicant/driver_i.h
parentd2ba0d719e2a07885815df8c40c5bb317eb07057 (diff)
downloadhostap-6338c99efa58244e2f7b33e134e3d6f40dc4ab2b.zip
hostap-6338c99efa58244e2f7b33e134e3d6f40dc4ab2b.tar.gz
hostap-6338c99efa58244e2f7b33e134e3d6f40dc4ab2b.tar.bz2
FILS: Send updated connection parameters to drivers if needed
After an initial connection wpa_supplicant derives ERP information which can be used in doing eventual authentications in the same realm. This information can be used by drivers with offloaded FILS support to do driver/firmware initiated roamings. Add support to send this updated information to such drivers. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index 60628db..e131653 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -1017,4 +1017,15 @@ static inline int wpa_drv_set_bssid_blacklist(struct wpa_supplicant *wpa_s,
bssids);
}
+static inline int wpa_drv_update_connect_params(
+ struct wpa_supplicant *wpa_s,
+ struct wpa_driver_associate_params *params,
+ enum wpa_drv_update_connect_params_mask mask)
+{
+ if (!wpa_s->driver->update_connect_params)
+ return -1;
+ return wpa_s->driver->update_connect_params(wpa_s->drv_priv, params,
+ mask);
+}
+
#endif /* DRIVER_I_H */