supplicant(interface): Add missing STA callbacks am: 6eb05a2fc7 am: 1d9ee17c3f

am: ffe0fee1e6

Change-Id: Idb425f41a6ec36549defa2708ef125b298aa5e30
This commit is contained in:
Roshan Pius
2017-01-19 23:00:02 +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.
*/