History

cfg80211: clarify LCI/civic location documentation

The older code and current userspace assumed that this data is the content of the Measurement Report element, starting with the Measurement Token. Clarify this in the documentation.

Johannes Berg committed 7 years ago

Commit 30db6411 parent 554be832 files · +16 −6Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/nl80211.h+12−4
@@ -5893,9 +5893,11 @@ enum nl80211_external_auth_action { · 5892 unmodified lines
58935893 * @__NL80211_FTM_RESP_ATTR_INVALID: Invalid
58945894 * @NL80211_FTM_RESP_ATTR_ENABLED: FTM responder is enabled
58955895 * @NL80211_FTM_RESP_ATTR_LCI: The content of Measurement Report Element
5896− * (9.4.2.22 in 802.11-2016) with type 8 - LCI (9.4.2.22.10)
5896+ * (9.4.2.22 in 802.11-2016) with type 8 - LCI (9.4.2.22.10),
5897+ * i.e. starting with the measurement token
58975898 * @NL80211_FTM_RESP_ATTR_CIVIC: The content of Measurement Report Element
5898− * (9.4.2.22 in 802.11-2016) with type 11 - Civic (Section 9.4.2.22.13)
5899+ * (9.4.2.22 in 802.11-2016) with type 11 - Civic (Section 9.4.2.22.13),
5900+ * i.e. starting with the measurement token
58995901 * @__NL80211_FTM_RESP_ATTR_LAST: Internal
59005902 * @NL80211_FTM_RESP_ATTR_MAX: highest FTM responder attribute.
59015903 */
@@ -6295,9 +6297,15 @@ enum nl80211_peer_measurement_ftm_failure_reasons { · 393 unmodified lines
62956297 * @NL80211_PMSR_FTM_RESP_ATTR_DIST_VARIANCE: distance variance (u64, mm^2, note
62966298 * that standard deviation is the square root of variance, optional)
62976299 * @NL80211_PMSR_FTM_RESP_ATTR_DIST_SPREAD: distance spread (u64, mm, optional)
6298− * @NL80211_PMSR_FTM_RESP_ATTR_LCI: LCI data from peer (binary, optional)
6300+ * @NL80211_PMSR_FTM_RESP_ATTR_LCI: LCI data from peer (binary, optional);
6301+ * this is the contents of the Measurement Report Element (802.11-2016
6302+ * 9.4.2.22.1) starting with the Measurement Token, with Measurement
6303+ * Type 8.
62996304 * @NL80211_PMSR_FTM_RESP_ATTR_CIVICLOC: civic location data from peer
6300− * (binary, optional)
6305+ * (binary, optional);
6306+ * this is the contents of the Measurement Report Element (802.11-2016
6307+ * 9.4.2.22.1) starting with the Measurement Token, with Measurement
6308+ * Type 11.
63016309 * @NL80211_PMSR_FTM_RESP_ATTR_PAD: ignore, for u64/s64 padding only
63026310 *
63036311 * @NUM_NL80211_PMSR_FTM_RESP_ATTR: internal