Merge "Update SoftAP metrics start failure codes" into udc-dev
diff --git a/stats/atoms/wifi/wifi_extension_atoms.proto b/stats/atoms/wifi/wifi_extension_atoms.proto
index c94c55b..3bc9887 100644
--- a/stats/atoms/wifi/wifi_extension_atoms.proto
+++ b/stats/atoms/wifi/wifi_extension_atoms.proto
@@ -140,10 +140,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;