From 9dabc7cefee20e954600115061e31fd4e9bbec95 Mon Sep 17 00:00:00 2001 From: Etan Cohen Date: Tue, 21 Feb 2017 14:31:06 -0800 Subject: [PATCH] [AWARE] Correct ranging specification documentation Bug: 33821639 Test: none - comment change Change-Id: Ib2ba907a46c6cb34d37ca5eb6d3a22508fb7f17a --- wifi/1.0/types.hal | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/wifi/1.0/types.hal b/wifi/1.0/types.hal index 92164a1265..a843ce8b09 100644 --- a/wifi/1.0/types.hal +++ b/wifi/1.0/types.hal @@ -1010,22 +1010,12 @@ struct NanDiscoveryCommonConfig { bool securityEnabledInNdp; /** * Specifies whether or not there is a ranging requirement in this discovery session. - * Ranging is only performed if all other match criteria with the peer are met. + * Ranging is only performed if all other match criteria with the peer are met. Ranging must + * be performed if both peers in the discovery session (publisher and subscriber) set this + * flag to true. Otherwise, if either peer sets this flag to false, ranging must not be performed + * and must not impact discovery decisions. * Note: specifying that ranging is required also implies that this device must automatically * accept ranging requests from peers. - * Solicited Publisher + Passive Subscriber: - * Publisher/Subscriber: - * true/true: ranging performed. - * true/false: subscriber doesn't require ranging (match if all other criteria met). I.e. - * publisher requiring range doesn't gate subscriber matching. - * false/true: subscriber tries ranging but publisher refuses (no match). - * false/false: ranging isn't attempted and doesn't impact match. - * Unsolicited Publisher + Active Subscriber: - * Publisher/Subscriber: - * true/true: ranging performed. - * true/false: publisher attempts ranging but subscriber doesn't allow - no match. - * false/true: publisher doesn't attempt ranging, should not impact match. - * false/false: ranging isn't attempted and doesn't impact match. * NAN Spec: Service Discovery Extension Attribute (SDEA) / Control / Ranging Require. */ bool rangingRequired;