supplicant(interface): Add missing STA callbacks

am: 6eb05a2fc7

Change-Id: Iabefddb3dce45f171c21c8b7dca9a62a7b0ae0cb
This commit is contained in:
Roshan Pius
2017-01-19 22:54:27 +00:00
committed by android-build-merger
2 changed files with 33 additions and 2 deletions

View File

@@ -37,4 +37,9 @@ interface ISupplicantCallback {
* @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();
};

View File

@@ -257,8 +257,15 @@ interface ISupplicantStaIfaceCallback {
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
@@ -269,6 +276,13 @@ interface ISupplicantStaIfaceCallback {
oneway onDisconnected(
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.
@@ -280,6 +294,18 @@ interface ISupplicantStaIfaceCallback {
*/
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.
*/