diff options
author | Biswarup Pal <biswarupp@google.com> | 2023-01-09 14:12:13 +0000 |
---|---|---|
committer | Biswarup Pal <biswarupp@google.com> | 2023-01-11 13:09:47 +0000 |
commit | b3d0989c55c1dadc37fd00b93ad112726edce9cf (patch) | |
tree | ae80fbcbad331f9bc698e0f97790e143dcc4b37b | |
parent | 2ebbe247b0607f59f1e10e641a03bfcab2ceb95f (diff) | |
download | libhardware_legacy-b3d0989c55c1dadc37fd00b93ad112726edce9cf.tar.gz |
Add suspendable option in NanPublishRequest and NanSubscribeRequest
Test: m
Bug: 263014869
Change-Id: I71f28b36be13befaf4d7f85dfab369593bc8e61d
-rw-r--r-- | include/hardware_legacy/wifi_nan.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/hardware_legacy/wifi_nan.h b/include/hardware_legacy/wifi_nan.h index fc22304..9be1140 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; /* |