summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinay Gannevaram <quic_vganneva@quicinc.com>2023-05-01 23:01:39 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-05-01 23:01:39 +0000
commit37993e4500a826e98c1fb93a6d23657f023b986f (patch)
tree3acd3cc4a2ca9c56ef31ea6e8c1911ed6f083d9a
parent2b3c3a49bf1b49101f6615f967a64f7e01051afc (diff)
parentd1de22e90fc699742e664619817768b91b9edc02 (diff)
downloadlibhardware_legacy-37993e4500a826e98c1fb93a6d23657f023b986f.tar.gz
Interface changes for Aware 4.0 Bootsrapping and Shared Key am: d1de22e90f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware_legacy/+/22898651 Change-Id: I8fee545e6de4fea327056ec4dfc8a41203e323ec Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--include/hardware_legacy/wifi_nan.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/include/hardware_legacy/wifi_nan.h b/include/hardware_legacy/wifi_nan.h
index d2bb621..70e49ed 100644
--- a/include/hardware_legacy/wifi_nan.h
+++ b/include/hardware_legacy/wifi_nan.h
@@ -1561,6 +1561,12 @@ typedef struct {
*/
u16 sdea_service_specific_info_len;
u8 sdea_service_specific_info[NAN_MAX_SDEA_SERVICE_SPECIFIC_INFO_LEN];
+
+ /*
+ Add shared key descriptor attribute to the Followup request when the
+ flag is set
+ */
+ u8 shared_key_desc_flag;
} NanTransmitFollowupRequest;
/*
@@ -2906,6 +2912,20 @@ typedef struct {
/* Proposed bootstrapping method */
u16 request_bootstrapping_method;
+ /*
+ Sequence of values which further specify the published service beyond
+ the service name.
+ */
+ u16 service_specific_info_len;
+ u8 service_specific_info[NAN_MAX_SERVICE_SPECIFIC_INFO_LEN];
+
+ /*
+ Sequence of values indicating the service specific info in SDEA
+ Used for service managed bootstrapping method
+ */
+ u16 sdea_service_specific_info_len;
+ u8 sdea_service_specific_info[NAN_MAX_SDEA_SERVICE_SPECIFIC_INFO_LEN];
+
/* The length of cookie. */
u32 cookie_length;
@@ -2924,10 +2944,35 @@ typedef struct {
*/
u32 service_instance_id;
+ /* Discovery MAC addr of the peer/initiator */
+ u8 peer_disc_mac_addr[NAN_MAC_ADDR_LEN];
+
+ /*
+ Sequence of values which further specify the published service beyond
+ the service name.
+ */
+ u16 service_specific_info_len;
+ u8 service_specific_info[NAN_MAX_SERVICE_SPECIFIC_INFO_LEN];
+
+ /*
+ Sequence of values indicating the service specific info in SDEA
+ Used for service managed bootstrapping method
+ */
+ u16 sdea_service_specific_info_len;
+ u8 sdea_service_specific_info[NAN_MAX_SDEA_SERVICE_SPECIFIC_INFO_LEN];
/* Response Code indicating ACCEPT/REJECT */
NanBootstrappingResponseCode rsp_code;
+ /* The delay of bootstrapping in seconds */
+ u32 come_back_delay;
+
+ /* The length of cookie. */
+ u32 cookie_length;
+
+ /* Cookie for the follow up response */
+ u8 cookie[];
+
} NanBootstrappingIndicationResponse;
/*