aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorSunil Dutt <usdutt@qti.qualcomm.com>2016-10-25 15:41:04 (GMT)
committerJouni Malinen <j@w1.fi>2016-10-27 20:22:33 (GMT)
commit2e4e4fb71cce29181623f60d65bcb264059e24c7 (patch)
tree6ed239d1992bb4b75d6b2f8fec17a46f16764502 /wpa_supplicant/driver_i.h
parent14cd203ffff4d2f831a8c58829b7d3fd068ed748 (diff)
downloadhostap-2e4e4fb71cce29181623f60d65bcb264059e24c7.zip
hostap-2e4e4fb71cce29181623f60d65bcb264059e24c7.tar.gz
hostap-2e4e4fb71cce29181623f60d65bcb264059e24c7.tar.bz2
nl80211: Allow TDLS trigger modes to be configured to the host driver
This commit adds a control interface command to configure the TDLS trigger mode to the host driver. This TDLS mode is configured through the "SET tdls_trigger_control" control interface command. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index 5d5dcf0..f8efddc 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -968,4 +968,13 @@ static inline int wpa_drv_set_default_scan_ies(struct wpa_supplicant *wpa_s,
return wpa_s->driver->set_default_scan_ies(wpa_s->drv_priv, ies, len);
}
+static inline int wpa_drv_set_tdls_mode(struct wpa_supplicant *wpa_s,
+ int tdls_external_control)
+{
+ if (!wpa_s->driver->set_tdls_mode)
+ return -1;
+ return wpa_s->driver->set_tdls_mode(wpa_s->drv_priv,
+ tdls_external_control);
+}
+
#endif /* DRIVER_I_H */