summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBiswarup Pal <biswarupp@google.com>2023-01-12 10:55:41 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2023-01-12 10:55:41 +0000
commit52e781f9271f5f828e6a53890e99e985f684cc25 (patch)
tree7d6fc8343374e90064dcbc81cfd53195df87bce9
parent4f30a1732283acc8f3a5ba433814428d93bfdc59 (diff)
parentb3d0989c55c1dadc37fd00b93ad112726edce9cf (diff)
downloadlibhardware_legacy-52e781f9271f5f828e6a53890e99e985f684cc25.tar.gz
Merge "Add suspendable option in NanPublishRequest and NanSubscribeRequest"
-rw-r--r--include/hardware_legacy/wifi_nan.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/hardware_legacy/wifi_nan.h b/include/hardware_legacy/wifi_nan.h
index 3687bb3..9c7397c 100644
--- a/include/hardware_legacy/wifi_nan.h
+++ b/include/hardware_legacy/wifi_nan.h
@@ -1279,6 +1279,12 @@ typedef struct {
*/
NanPairingConfig nan_pairing_config;
+ /*
+ Specifies whether suspension can be possible in this publish session.
+ The request would fail if enable_suspendability is true but
+ is_suspension_supported is false in NanCapabilities.
+ */
+ bool enable_suspendability;
} NanPublishRequest;
/*
@@ -1451,6 +1457,13 @@ typedef struct {
The config for Nan pairing
*/
NanPairingConfig nan_pairing_config;
+
+ /*
+ Specifies whether suspension can be possible in this subscribe session.
+ The request would fail if enable_suspendability is true but
+ is_suspension_supported is false in NanCapabilities.
+ */
+ bool enable_suspendability;
} NanSubscribeRequest;
/*