[AWARE]: Enable new config options in Enable/Config APIs

1) Enable device level ranging option.
2) config nss.
3) config dw early termination.

Bug: 67745737
Test: builds, integration tests passing
Change-Id: I22315785bd5e42a7ce5e209cecbd997f62053cc8
This commit is contained in:
Subhani Shaik 2017-11-15 21:09:37 -08:00 committed by Etan Cohen
parent 229806a7e2
commit a470c8fb33

View file

@ -65,7 +65,6 @@ typedef u32 NanDataPathId;
#define NAN_SECURITY_MIN_PASSPHRASE_LEN 8
#define NAN_SECURITY_MAX_PASSPHRASE_LEN 63
/*
Definition of various NanResponseType
*/
@ -991,6 +990,27 @@ typedef struct {
*/
u8 config_discovery_beacon_int;
u32 discovery_beacon_interval;
/*
Enable Number of Spatial Streams.
This is NAN Power Optimization feature for NAN discovery.
*/
u8 config_nss;
// default value is implementation specific and passing 0 sets it to default
u32 nss;
/*
Enable device level NAN Ranging feature.
0 - Disable
1 - Enable
*/
u8 config_enable_ranging;
u32 enable_ranging;
/*
Enable/Disable DW Early termination.
0 - Disable
1 - Enable
*/
u8 config_dw_early_termination;
u32 enable_dw_termination;
} NanEnableRequest;
/*
@ -1446,6 +1466,27 @@ typedef struct {
*/
u8 config_discovery_beacon_int;
u32 discovery_beacon_interval;
/*
Enable Number of Spatial Streams.
This is NAN Power Optimization feature for NAN discovery.
*/
u8 config_nss;
// default value is implementation specific and passing 0 sets it to default
u32 nss;
/*
Enable device level NAN Ranging feature.
0 - Disable
1 - Enable
*/
u8 config_enable_ranging;
u32 enable_ranging;
/*
Enable/Disable DW Early termination.
0 - Disable
1 - Enable
*/
u8 config_dw_early_termination;
u32 enable_dw_termination;
} NanConfigRequest;
/*