diff options
author | Roshan Pius <rpius@google.com> | 2016-12-14 17:41:20 -0800 |
---|---|---|
committer | Roshan Pius <rpius@google.com> | 2016-12-16 13:06:34 -0800 |
commit | 203cb031df35ebfe647e93b6b0d9634602693668 (patch) | |
tree | 6c90949b5036e51e2c60d633067cb4fbf12f9f84 /wifi/1.0/default/hidl_struct_util.cpp | |
parent | 26801cb4ce5f7f09fbc9569ba54b3c87ae5542c5 (diff) |
wifi: Add support for alert handler
This is a debug mechanism provided for vendors to inform the framework
about the occurence of any fatal events.
Bug: 33620898
Test: Compiles
Change-Id: Ib6ac322131796792f66f87237a62eb8f5a013433
Diffstat (limited to 'wifi/1.0/default/hidl_struct_util.cpp')
-rw-r--r-- | wifi/1.0/default/hidl_struct_util.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/wifi/1.0/default/hidl_struct_util.cpp b/wifi/1.0/default/hidl_struct_util.cpp index 996f119fd5..0aee372f21 100644 --- a/wifi/1.0/default/hidl_struct_util.cpp +++ b/wifi/1.0/default/hidl_struct_util.cpp @@ -93,10 +93,11 @@ bool convertLegacyFeaturesToHidlChipCapabilities( *hidl_caps |= convertLegacyLoggerFeatureToHidlChipCapability(feature); } } - // There is no flags for these 2 in the legacy feature set. Adding it to the - // set because all the current devices support it. + // There are no flags for these 3 in the legacy feature set. Adding them to + // the set because all the current devices support it. *hidl_caps |= HidlChipCaps::DEBUG_RING_BUFFER_VENDOR_DATA_SUPPORTED; *hidl_caps |= HidlChipCaps::DEBUG_HOST_WAKE_REASON_STATS; + *hidl_caps |= HidlChipCaps::DEBUG_ERROR_ALERTS; return true; } |