Update SoftAP metrics start failure codes Add more granular start failure codes to SoftAP metrics. Bug: 245824786 Test: build Change-Id: I398c2dc2600788135515f24d9c58511d7674ca6a (cherry picked from commit 80827046581ff148483b125754cf3212cc89b50f) Merged-In: I398c2dc2600788135515f24d9c58511d7674ca6a
diff --git a/stats/atoms/wifi/wifi_extension_atoms.proto b/stats/atoms/wifi/wifi_extension_atoms.proto index 774f1ba..6c925c5 100644 --- a/stats/atoms/wifi/wifi_extension_atoms.proto +++ b/stats/atoms/wifi/wifi_extension_atoms.proto
@@ -108,10 +108,30 @@ START_RESULT_SUCCESS = 1; // General failure START_RESULT_FAILURE_GENERAL = 2; - // Failure due to no channel available + // Failed due to no channel available START_RESULT_FAILURE_NO_CHANNEL = 3; - // Failure due to user rejection - START_RESULT_FAILURE_INTERFACE_CONFLICT_USER_REJECTED = 4; + // Failed due to config being unsupported + START_RESULT_FAILURE_UNSUPPORTED_CONFIG = 4; + // Failed to start the HAL + START_RESULT_FAILURE_START_HAL = 5; + // Failed to start hostapd + START_RESULT_FAILURE_START_HOSTAPD = 6; + // Failed due to interface conflict with user rejection + START_RESULT_FAILURE_INTERFACE_CONFLICT_USER_REJECTED = 7; + // Failed due to interface conflict + START_RESULT_FAILURE_INTERFACE_CONFLICT = 8; + // Failed to create interface in vendor HAL + START_RESULT_FAILURE_CREATE_INTERFACE = 9; + // Failed to set country code + START_RESULT_FAILURE_SET_COUNTRY_CODE = 10; + // Failed to set mac address + START_RESULT_FAILURE_SET_MAC_ADDRESS = 11; + // Failed to register AP callback with hostapd + START_RESULT_FAILURE_REGISTER_AP_CALLBACK_HOSTAPD = 12; + // Failed to register AP callback with wificond + START_RESULT_FAILURE_REGISTER_AP_CALLBACK_WIFICOND = 13; + // Failed to add AP to hostapd + START_RESULT_FAILURE_ADD_AP_HOSTAPD = 14; } // Result of the start event optional StartResult result = 1;