Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ba4bdcb authored by Etan Cohen's avatar Etan Cohen Committed by android-build-merger
Browse files

[AWARE] Correct ranging specification documentation am: 9dabc7ce am: 75b9cb71

am: f61de330

Change-Id: I399af5cc243d9d8c56c86601bd721a7b6e917e4a
parents a555369d f61de330
Loading
Loading
Loading
Loading
+4 −14
Original line number Original line Diff line number Diff line
@@ -1010,22 +1010,12 @@ struct NanDiscoveryCommonConfig {
  bool securityEnabledInNdp;
  bool securityEnabledInNdp;
  /**
  /**
   * Specifies whether or not there is a ranging requirement in this discovery session.
   * 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
   * Note: specifying that ranging is required also implies that this device must automatically
   * accept ranging requests from peers.
   * 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.
   * NAN Spec: Service Discovery Extension Attribute (SDEA) / Control / Ranging Require.
   */
   */
  bool rangingRequired;
  bool rangingRequired;