aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.h
diff options
context:
space:
mode:
authorLior David <qca_liord@qca.qualcomm.com>2016-08-03 14:53:21 (GMT)
committerJouni Malinen <j@w1.fi>2016-09-05 18:27:23 (GMT)
commitd1723c5566d0b582cf4309e725e22970fa1ce0a1 (patch)
tree6b22bc6f9c4aabe75890a10867766b0a8a3f3187 /wpa_supplicant/config.h
parentfaecb39236f79f2b3f23d20d85b0353c6541f580 (diff)
downloadhostap-d1723c5566d0b582cf4309e725e22970fa1ce0a1.zip
hostap-d1723c5566d0b582cf4309e725e22970fa1ce0a1.tar.gz
hostap-d1723c5566d0b582cf4309e725e22970fa1ce0a1.tar.bz2
wpa_supplicant: Allow FTM functionality to be published
Add configuration options that control publishing of fine timing measurement (FTM) responder and initiator functionality via bits 70, 71 of Extended Capabilities element. Typically, FTM functionality is controlled by a location framework outside wpa_supplicant. When framework is activated, it will use wpa_supplicant to configure the STA/AP to publish the FTM functionality. See IEEE P802.11-REVmc/D7.0, 9.4.2.27. Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/config.h')
-rw-r--r--wpa_supplicant/config.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index 1535738..48e64be 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -1302,6 +1302,32 @@ struct wpa_config {
* sent to not-associated AP; if associated, AP BSSID)
*/
int gas_address3;
+
+ /**
+ * ftm_responder - Publish FTM (fine timing measurement)
+ * responder functionality
+ *
+ * Values:
+ * 0 - do not publish FTM responder functionality (Default)
+ * 1 - publish FTM responder functionality in
+ * bit 70 of Extended Capabilities element
+ * Note, actual FTM responder operation is managed outside
+ * wpa_supplicant.
+ */
+ int ftm_responder;
+
+ /**
+ * ftm_initiator - Publish FTM (fine timing measurement)
+ * initiator functionality
+ *
+ * Values:
+ * 0 - do not publish FTM initiator functionality (Default)
+ * 1 - publish FTM initiator functionality in
+ * bit 71 of Extended Capabilities element
+ * Note, actual FTM initiator operation is managed outside
+ * wpa_supplicant.
+ */
+ int ftm_initiator;
};