OSDN Git Service

[AWARE]: Config options to disable indications during Discovery
authorSubhani Shaik <subhanis@codeaurora.org>
Wed, 28 Dec 2016 00:53:44 +0000 (16:53 -0800)
committerEtan Cohen <etancohen@google.com>
Wed, 4 Jan 2017 23:26:55 +0000 (15:26 -0800)
Bug: 33250076
Test: integration (sl4a) tests passing - no regressions
Change-Id: I79b2ce07ed5798089e7762e6ba8e6f8a057928a6

include/hardware_legacy/wifi_nan.h

index 3b11eb8..769984f 100644 (file)
@@ -882,6 +882,14 @@ typedef struct {
     /* Enable NAN device Ranging response mode */
     u8 config_responder_auto_response;
     NanRangingAutoResponseCfg ranging_auto_response_cfg;
+
+    /*
+      Set/Enable corresponding bits to disable Discovery indications:
+      BIT0 - Disable Discovery MAC Address Event.
+      BIT1 - Disable Started Cluster Event.
+      BIT2 - Disable Joined Cluster Event.
+    */
+    u8 discovery_indication_cfg;
 } NanEnableRequest;
 
 /*
@@ -1278,6 +1286,14 @@ typedef struct {
     /* Config NAN device Ranging response mode */
     u8 config_responder_auto_response;
     NanRangingAutoResponseCfg ranging_auto_response_cfg;
+
+    /*
+      Set/Enable corresponding bits to disable Discovery indications:
+      BIT0 - Disable Discovery MAC Address Event.
+      BIT1 - Disable Started Cluster Event.
+      BIT2 - Disable Joined Cluster Event.
+    */
+    u8 discovery_indication_cfg;
 } NanConfigRequest;
 
 /*