summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEtan Cohen <etancohen@google.com>2017-04-20 21:55:49 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-04-20 21:55:49 +0000
commitd665d7b5bc2ec738768eedcbf05a14e7a70f44f5 (patch)
tree824e2cdc3ec183f9bce30bf0819e73b7539a9cc0
parent6640207e830c0e46588496220f3536361b4b9f46 (diff)
parent6451ba7735271ddf1a3e4766d16a5ea00d63a98d (diff)
downloadlibhardware_legacy-d665d7b5bc2ec738768eedcbf05a14e7a70f44f5.tar.gz
Merge "[AWARE]: Add support for configuring NAN sid on subscriber side"
-rw-r--r--include/hardware_legacy/wifi_nan.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/hardware_legacy/wifi_nan.h b/include/hardware_legacy/wifi_nan.h
index 02a31ce..38b4409 100644
--- a/include/hardware_legacy/wifi_nan.h
+++ b/include/hardware_legacy/wifi_nan.h
@@ -963,6 +963,16 @@ typedef struct {
BIT2 - Disable Joined Cluster Event.
*/
u8 discovery_indication_cfg; // default value 0x0
+ /*
+ BIT 0 is used to specify to include Service IDs in Sync/Discovery beacons
+ 0 - Do not include SIDs in any beacons
+ 1 - Include SIDs in all beacons.
+ Rest 7 bits are count field which allows control over the number of SIDs
+ included in the Beacon. 0 means to include as many SIDs that fit into
+ the maximum allow Beacon frame size
+ */
+ u8 config_subscribe_sid_beacon;
+ u32 subscribe_sid_beacon_val; // default value 0x0
} NanEnableRequest;
/*
@@ -1401,6 +1411,16 @@ typedef struct {
BIT2 - Disable Joined Cluster Event.
*/
u8 discovery_indication_cfg; // default value of 0
+ /*
+ BIT 0 is used to specify to include Service IDs in Sync/Discovery beacons
+ 0 - Do not include SIDs in any beacons
+ 1 - Include SIDs in all beacons.
+ Rest 7 bits are count field which allows control over the number of SIDs
+ included in the Beacon. 0 means to include as many SIDs that fit into
+ the maximum allow Beacon frame size
+ */
+ u8 config_subscribe_sid_beacon;
+ u32 subscribe_sid_beacon_val; // default value 0x0
} NanConfigRequest;
/*