summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAjay Davanageri <ajay.davanageri@broadcom.corp-partner.google.com>2023-11-28 17:35:48 +0530
committerNate Jiang <qiangjiang@google.com>2023-12-06 15:55:42 -0800
commit6c9a9b470dc255d91cac3e8a0d50bc607cbc2269 (patch)
treebeb5e0bc9e6a56d6d57492668dca50c4f24bbe86
parentd961824689d367b8110c6f2d69668a15747e557e (diff)
downloadlibhardware_legacy-6c9a9b470dc255d91cac3e8a0d50bc607cbc2269.tar.gz
[Wifi-Aware]- Pairing related interface changes.
Bug: 292462023 Test: Verified using the halutil cl. Change-Id: I93d30ca48a63f0600c2a1028f89c31b10c7c534f
-rw-r--r--include/hardware_legacy/wifi_nan.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/include/hardware_legacy/wifi_nan.h b/include/hardware_legacy/wifi_nan.h
index 39eae6a..55034d1 100644
--- a/include/hardware_legacy/wifi_nan.h
+++ b/include/hardware_legacy/wifi_nan.h
@@ -2850,7 +2850,7 @@ typedef struct {
Initiator side
*/
typedef struct {
- /* Publish or Subscribe Id of an earlier Publish/Subscribe */
+ /* Publish instance id generated on Publisher side corresponding to a session */
u16 publish_subscribe_id;
/*
This Id is the Requestor Instance that is passed as
@@ -2923,6 +2923,9 @@ typedef struct {
NAN pairing bootstrapping initiator request
*/
typedef struct {
+ /* Publish or Subscribe Id of local Publish/Subscribe */
+ u16 publish_subscribe_id;
+
/*
This Id is the Requestor Instance that is passed as
part of earlier MatchInd/FollowupInd message.
@@ -2951,6 +2954,9 @@ typedef struct {
u16 sdea_service_specific_info_len;
u8 sdea_service_specific_info[NAN_MAX_SDEA_SERVICE_SPECIFIC_INFO_LEN];
+ /* Indicates that this is comeback Bootstrapping request */
+ u8 comeback;
+
/* The length of cookie. */
u32 cookie_length;
@@ -2962,9 +2968,11 @@ typedef struct {
NAN pairing bootstrapping response from responder to a initate request
*/
typedef struct {
+ /* Publish or Subscribe Id of local Publish/Subscribe */
+ u16 publish_subscribe_id;
/*
- This Id is the Requestor Instance that is passed as
+ This Id is the Peer Instance that is passed as
part of earlier MatchInd/FollowupInd message.
*/
u32 service_instance_id;
@@ -3001,7 +3009,7 @@ typedef struct {
} NanBootstrappingIndicationResponse;
/*
- Event indication received on the responder side when a Nan boostrapping session is initiated on
+ Event indication received on the responder side when a Nan bootsrapping session is initiated on
the Initiator side
*/
typedef struct {