aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_supplicant.c
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/wpa_supplicant.c
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/wpa_supplicant.c')
-rw-r--r--wpa_supplicant/wpa_supplicant.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c
index 28e8d31..984fe02 100644
--- a/wpa_supplicant/wpa_supplicant.c
+++ b/wpa_supplicant/wpa_supplicant.c
@@ -1606,7 +1606,8 @@ static void wpas_ext_capab_byte(struct wpa_supplicant *wpa_s, u8 *pos, int idx)
break;
case 9: /* Bits 72-79 */
#ifdef CONFIG_FILS
- *pos |= 0x01;
+ if (!wpa_s->disable_fils)
+ *pos |= 0x01;
#endif /* CONFIG_FILS */
break;
}