From: Subhani Shaik Date: Wed, 28 Dec 2016 00:53:44 +0000 (-0800) Subject: [AWARE]: Config options to disable indications during Discovery X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=9c90771deea7419a194cc65404195e05c09dd43a;p=android-x86%2Fhardware-libhardware_legacy.git [AWARE]: Config options to disable indications during Discovery Bug: 33250076 Test: integration (sl4a) tests passing - no regressions Change-Id: I79b2ce07ed5798089e7762e6ba8e6f8a057928a6 --- diff --git a/include/hardware_legacy/wifi_nan.h b/include/hardware_legacy/wifi_nan.h index 3b11eb8..769984f 100644 --- a/include/hardware_legacy/wifi_nan.h +++ b/include/hardware_legacy/wifi_nan.h @@ -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; /*