[AWARE]: Add support to config NAN discovery beacon interval

Add support to configure discovery beacon interval in NAN enable
and config request.

Bug: 67745737
Test: builds, integration tests passing
Change-Id: I44d1918f740b35e39d751f26a5b5e4ee9b371a84
This commit is contained in:
Subhani Shaik 2017-07-10 17:30:56 -07:00 committed by Etan Cohen
parent b600992ac7
commit 229806a7e2

View file

@ -984,6 +984,13 @@ typedef struct {
*/
u8 config_subscribe_sid_beacon;
u32 subscribe_sid_beacon_val; // default value 0x0
/*
Discovery Beacon Interval config.
Default value is 128 msec in 2G DW and 176 msec in 2G/5G DW.
When 0 value is passed it is reset to default value of 128 or 176 msec.
*/
u8 config_discovery_beacon_int;
u32 discovery_beacon_interval;
} NanEnableRequest;
/*
@ -1432,6 +1439,13 @@ typedef struct {
*/
u8 config_subscribe_sid_beacon;
u32 subscribe_sid_beacon_val; // default value 0x0
/*
Discovery Beacon Interval config.
Default value is 128 msec in 2G DW and 176 msec in 2G/5G DW.
When 0 value is passed it is reset to default value of 128 or 176 msec.
*/
u8 config_discovery_beacon_int;
u32 discovery_beacon_interval;
} NanConfigRequest;
/*