summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubhani Shaik <subhanis@codeaurora.org>2017-05-22 15:39:45 -0700
committerEtan Cohen <etancohen@google.com>2017-05-22 16:07:15 -0700
commit22dcefe8a6cf08db5a60e531feedbf85af8011c4 (patch)
tree699ec7f2c53c552cdf311c580d7afa53fa6d1a1c
parentd665d7b5bc2ec738768eedcbf05a14e7a70f44f5 (diff)
downloadlibhardware_legacy-22dcefe8a6cf08db5a60e531feedbf85af8011c4.tar.gz
AWARE: Fix rssi_window_size length in config
Bug: 38321768 Test: AttachTest:test_attach_multiple_sessions bad TLV issue resolved Change-Id: Id9f4a2124a394cf3c44c6eb7560400a0fd690f31
-rw-r--r--include/hardware_legacy/wifi_nan.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hardware_legacy/wifi_nan.h b/include/hardware_legacy/wifi_nan.h
index 38b4409..44a57f6 100644
--- a/include/hardware_legacy/wifi_nan.h
+++ b/include/hardware_legacy/wifi_nan.h
@@ -1353,11 +1353,11 @@ typedef struct {
determine whether configuration is to be passed or not.
*/
/*
- 2 byte quantity which defines the window size over
+ 1 byte quantity which defines the window size over
which the “average RSSI” will be calculated over.
*/
u8 config_rssi_window_size;
- u16 rssi_window_size_val; // default value 0x08
+ u8 rssi_window_size_val; // default value 0x08
/*
If set to 1, the Discovery Engine will enclose the Cluster
Attribute only sent in Beacons in a Vendor Specific Attribute