summaryrefslogtreecommitdiff
path: root/wifi
diff options
context:
space:
mode:
authorSwarn Singh <quic_swarnkum@quicinc.com>2023-01-24 17:01:46 +0530
committerSwarn Singh <quic_swarnkum@quicinc.com>2023-03-29 13:33:28 +0000
commit303dea997614a6065c2418dcb77df2023d667102 (patch)
treea904a685549ff97ac2ddca34d30d43f25905d433 /wifi
parent0b9798cf11d9eddcde7fae9cf1b4e071664d82b2 (diff)
Wifi: Remove the default assumption of legacy feature sets
Legacy feature DEBUG_RING_BUFFER_VENDOR_DATA and DEBUG_HOST_WAKE_REASON_STATS are assumed to be supported by default in all the devices as there is no mechanism to get this capability from the host driver. This assumption shall fail certain compliance tests where these legacy features are not supported. Hence removing such assumptions. Change-Id: Iee2aef2c1d77c469acf247cbb6314363b51bea8a CRs-Fixed: 3387770
Diffstat (limited to 'wifi')
-rw-r--r--wifi/1.6/default/hidl_struct_util.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/wifi/1.6/default/hidl_struct_util.cpp b/wifi/1.6/default/hidl_struct_util.cpp
index ff3105dd77..9c4d881aad 100644
--- a/wifi/1.6/default/hidl_struct_util.cpp
+++ b/wifi/1.6/default/hidl_struct_util.cpp
@@ -156,10 +156,8 @@ bool convertLegacyFeaturesToHidlChipCapabilities(uint64_t legacy_feature_set,
}
}
- // There are no flags for these 3 in the legacy feature set. Adding them to
+ // There is no flag for this in the legacy feature set. Adding this to
// the set because all the current devices support it.
- *hidl_caps |= HidlChipCaps::DEBUG_RING_BUFFER_VENDOR_DATA;
- *hidl_caps |= HidlChipCaps::DEBUG_HOST_WAKE_REASON_STATS;
*hidl_caps |= HidlChipCaps::DEBUG_ERROR_ALERTS;
return true;
}