supplicant(interface): Add missing STA callbacks
Add a few missing callbacks in ISupplicantStaIfaceCallbacks &
ISupplicantCallbacks.
Bug: 34274091
Test: Compiles
Change-Id: I5d7819f9708f6caa4da80ed481408e376a5636f8
diff --git a/wifi/supplicant/1.0/ISupplicantCallback.hal b/wifi/supplicant/1.0/ISupplicantCallback.hal
index a5a0da5..3674cfb 100644
--- a/wifi/supplicant/1.0/ISupplicantCallback.hal
+++ b/wifi/supplicant/1.0/ISupplicantCallback.hal
@@ -37,4 +37,9 @@
* @param ifName Name of the network interface, e.g., wlan0
*/
oneway onInterfaceRemoved(string ifName);
+
+ /**
+ * Used to indicate that the supplicant daemon is terminating.
+ */
+ oneway onTerminating();
};
diff --git a/wifi/supplicant/1.0/ISupplicantStaIfaceCallback.hal b/wifi/supplicant/1.0/ISupplicantStaIfaceCallback.hal
index 55ff9a8..4b201d4 100644
--- a/wifi/supplicant/1.0/ISupplicantStaIfaceCallback.hal
+++ b/wifi/supplicant/1.0/ISupplicantStaIfaceCallback.hal
@@ -257,8 +257,15 @@
string url);
/**
- * Used to indicate a disconnect from the currently connected
- * network on this iface,.
+ * Used to indicate the connection to a new network on this iface.
+ *
+ * @param bssid BSSID of the AP to which we connected.
+ */
+ oneway onConnected(Bssid bssid);
+
+ /**
+ * Used to indicate the disconnection from the currently connected
+ * network on this iface.
*
* @param bssid BSSID of the AP from which we disconnected.
* @param locallyGenerated If the disconnect was triggered by
@@ -270,6 +277,13 @@
Bssid bssid, bool locallyGenerated, uint32_t reasonCode);
/**
+ * Used to indicate the completion of association to an AP.
+ *
+ * @param bssid BSSID of the corresponding AP.
+ */
+ oneway onAssociationCompleted(Bssid bssid);
+
+ /**
* Used to indicate an association rejection recieved from the AP
* to which the connection is being attempted.
*
@@ -281,6 +295,18 @@
oneway onAssociationRejected(Bssid bssid, uint32_t statusCode);
/**
+ * Used to indicate the timeout of authentication to an AP.
+ *
+ * @param bssid BSSID of the corresponding AP.
+ */
+ oneway onAuthenticationTimeout(Bssid bssid);
+
+ /**
+ * Used to indicate an EAP authentication failure.
+ */
+ oneway onEapFailure();
+
+ /**
* Used to indicate the success of a WPS connection attempt.
*/
oneway onWpsEventSuccess();