aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorvamsi krishna <vamsin@qti.qualcomm.com>2017-12-14 09:44:51 (GMT)
committerJouni Malinen <j@w1.fi>2017-12-15 18:52:17 (GMT)
commitd98038bb0562c214729fe94c16240f0029161e82 (patch)
tree3feb8b3612ec057c9928767d14dea431c24c435e /wpa_supplicant/driver_i.h
parent9a3acf43e89f29553511bbdc62d41276bf2fa9fd (diff)
downloadhostap-d98038bb0562c214729fe94c16240f0029161e82.zip
hostap-d98038bb0562c214729fe94c16240f0029161e82.tar.gz
hostap-d98038bb0562c214729fe94c16240f0029161e82.tar.bz2
FILS: Driver configuration to disable/enable FILS features
The new disable_fils parameter can be used to disable FILS functionality in the driver. This is currently removing the FILS Capability bit in Extended Capabilities and providing a callback to the driver wrappers. driver_nl80211.c implements this using a QCA vendor specific command for now. 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 e131653..81b4b55 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -689,6 +689,14 @@ static inline int wpa_drv_roaming(struct wpa_supplicant *wpa_s, int allowed,
return wpa_s->driver->roaming(wpa_s->drv_priv, allowed, bssid);
}
+static inline int wpa_drv_disable_fils(struct wpa_supplicant *wpa_s,
+ int disable)
+{
+ if (!wpa_s->driver->disable_fils)
+ return -1;
+ return wpa_s->driver->disable_fils(wpa_s->drv_priv, disable);
+}
+
static inline int wpa_drv_set_mac_addr(struct wpa_supplicant *wpa_s,
const u8 *addr)
{