Merge "supplicant(interface): Remove "wpa_supplicant"" am: 22373cb4b8 am: 8a7468c287

am: 9c0878cd7a

Change-Id: I5c2cc6fb32aa6e6d2e7453e905440d6056eccf29
This commit is contained in:
Roshan Pius
2016-11-04 23:43:21 +00:00
committed by android-build-merger
12 changed files with 39 additions and 39 deletions

View File

@@ -20,13 +20,13 @@ import ISupplicantCallback;
import ISupplicantIface;
/**
* Interface exposed by the wpa_supplicant HIDL service registered
* Interface exposed by the supplicant HIDL service registered
* with the hardware service manager.
* This is the root level object for any wpa_supplicant interactions.
* This is the root level object for any the supplicant interactions.
*/
interface ISupplicant {
/**
* Debug levels for wpa_supplicant.
* Debug levels for the supplicant.
* Only log messages with a level greater than the set level
* (via |setDebugParams|) will be logged.
*/
@@ -41,7 +41,7 @@ interface ISupplicant {
/**
* Structure describing the type and name of an iface
* controlled by wpa_supplicant.
* controlled by the supplicant.
*/
struct IfaceInfo {
/**
@@ -56,7 +56,7 @@ interface ISupplicant {
/**
* Gets a HIDL interface object for the interface corresponding to iface
* name which wpa_supplicant already controls.
* name which the supplicant already controls.
*
* @param ifaceInfo Combination of the iface type and name retrieved
* using |listInterfaces|.
@@ -72,7 +72,7 @@ interface ISupplicant {
generates (SupplicantStatus status, ISupplicantIface iface);
/**
* Retrieve a list of all the interfaces controlled by wpa_supplicant.
* Retrieve a list of all the interfaces controlled by the supplicant.
*
* The corresponding |ISupplicantIface| object for any interface can be
* retrieved using |getInterface| method.
@@ -81,12 +81,12 @@ interface ISupplicant {
* Possible status codes:
* |SupplicantStatusCode.SUCCESS|,
* |SupplicantStatusCode.FAILURE_UNKNOWN|
* @return ifaces List of all interfaces controlled by wpa_supplicant.
* @return ifaces List of all interfaces controlled by the supplicant.
*/
listInterfaces() generates (SupplicantStatus status, vec<IfaceInfo> ifaces);
/**
* Register for callbacks from the wpa_supplicant service.
* Register for callbacks from the supplicant service.
*
* These callbacks are invoked for global events that are not specific
* to any interface or network. Registration of multiple callback
@@ -104,9 +104,9 @@ interface ISupplicant {
generates (SupplicantStatus status);
/**
* Set debug parameters for wpa_supplicant.
* Set debug parameters for the supplicant.
*
* @param level Debug logging level for wpa_supplicant.
* @param level Debug logging level for the supplicant.
* (one of |DebugLevel| values).
* @param timestamp Determines whether to show timestamps in logs or
* not.

View File

@@ -17,10 +17,10 @@
package android.hardware.wifi.supplicant@1.0;
/**
* Callback Interface exposed by the wpa_supplicant service (ISupplicant).
* Callback Interface exposed by the supplicant service (ISupplicant).
*
* Clients need to host an instance of this HIDL interface object and
* pass a reference of the object to wpa_supplicant via the
* pass a reference of the object to the supplicant via the
* |ISupplicant.registerCallback| method.
*/
interface ISupplicantCallback {

View File

@@ -19,7 +19,7 @@ package android.hardware.wifi.supplicant@1.0;
import ISupplicantNetwork;
/**
* Interface exposed by wpa_supplicant for each network interface (e.g wlan0)
* Interface exposed by the supplicant for each network interface (e.g wlan0)
* it controls.
*/
interface ISupplicantIface {
@@ -97,7 +97,7 @@ interface ISupplicantIface {
generates (SupplicantStatus status, ISupplicantNetwork network);
/**
* Retrieve a list of all the network Id's controlled by wpa_supplicant.
* Retrieve a list of all the network Id's controlled by the supplicant.
*
* The corresponding |ISupplicantNetwork| object for any network can be
* retrieved using |getNetwork| method.
@@ -106,7 +106,7 @@ interface ISupplicantIface {
* Possible status codes:
* |SupplicantStatusCode.SUCCESS|,
* |SupplicantStatusCode.FAILURE_UNKNOWN|
* @return networkIds List of all network Id's controlled by wpa_supplicant.
* @return networkIds List of all network Id's controlled by the supplicant.
*/
listNetworks()
generates (SupplicantStatus status, vec<SupplicantNetworkId> networkIds);

View File

@@ -17,19 +17,19 @@
package android.hardware.wifi.supplicant@1.0;
/**
* Interface exposed by wpa_supplicant for each network configuration it
* Interface exposed by the supplicant for each network configuration it
* controls.
* A network is wpa_supplicant's way of representing the configuration
* A network is the supplicant's way of representing the configuration
* parameters of a Wifi service set. Service sets are identified by their
* service set identitifier (SSID). The parameters for a network includes the
* credentials, bssid, etc.
*/
interface ISupplicantNetwork {
/**
* Retrieves the ID allocated to this network by wpa_supplicant.
* Retrieves the ID allocated to this network by the supplicant.
*
* This is not the |SSID| of the network, but an internal identifier for
* this network used by wpa_supplicant.
* this network used by the supplicant.
*
* @return status Status of the operation.
* Possible status codes:

View File

@@ -20,7 +20,7 @@ import ISupplicantIface;
import ISupplicantP2pIfaceCallback;
/**
* Interface exposed by wpa_supplicant for each P2P mode network
* Interface exposed by the supplicant for each P2P mode network
* interface (e.g p2p0) it controls.
*/
interface ISupplicantP2pIface extends ISupplicantIface {

View File

@@ -17,11 +17,11 @@
package android.hardware.wifi.supplicant@1.0;
/**
* Callback Interface exposed by the wpa_supplicant service
* Callback Interface exposed by the supplicant service
* for each P2P mode interface (ISupplicantP2pIface).
*
* Clients need to host an instance of this HIDL interface object and
* pass a reference of the object to wpa_supplicant via the
* pass a reference of the object to the supplicant via the
* corresponding |ISupplicantP2pIface.registerCallback| method.
*/
interface ISupplicantP2pIfaceCallback {

View File

@@ -20,7 +20,7 @@ import ISupplicantNetwork;
import ISupplicantP2pNetworkCallback;
/**
* Interface exposed by wpa_supplicant for each P2P mode network
* Interface exposed by the supplicant for each P2P mode network
* configuration it controls.
*/
interface ISupplicantP2pNetwork extends ISupplicantNetwork {

View File

@@ -17,11 +17,11 @@
package android.hardware.wifi.supplicant@1.0;
/**
* Callback Interface exposed by the wpa_supplicant service
* Callback Interface exposed by the supplicant service
* for each network (ISupplicantP2pNetwork).
*
* Clients need to host an instance of this HIDL interface object and
* pass a reference of the object to wpa_supplicant via the
* pass a reference of the object to the supplicant via the
* corresponding |ISupplicantP2pNetwork.registerCallback| method.
*/
interface ISupplicantP2pNetworkCallback {

View File

@@ -20,7 +20,7 @@ import ISupplicantIface;
import ISupplicantStaIfaceCallback;
/**
* Interface exposed by wpa_supplicant for each station mode network
* Interface exposed by the supplicant for each station mode network
* interface (e.g wlan0) it controls.
*/
interface ISupplicantStaIface extends ISupplicantIface {

View File

@@ -17,11 +17,11 @@
package android.hardware.wifi.supplicant@1.0;
/**
* Callback Interface exposed by the wpa_supplicant service
* Callback Interface exposed by the supplicant service
* for each station mode interface (ISupplicantStaIface).
*
* Clients need to host an instance of this HIDL interface object and
* pass a reference of the object to wpa_supplicant via the
* pass a reference of the object to the supplicant via the
* corresponding |ISupplicantStaIface.registerCallback| method.
*/
interface ISupplicantStaIfaceCallback {
@@ -35,31 +35,31 @@ interface ISupplicantStaIfaceCallback {
DISCONNECTED = 0,
/**
* This state is entered if the network interface is disabled, e.g.,
* due to rfkill. wpa_supplicant refuses any new operations that would
* due to rfkill. the supplicant refuses any new operations that would
* use the radio until the interface has been enabled.
*/
IFACE_DISABLED = 1,
/**
* This state is entered if there are no enabled networks in the
* configuration. wpa_supplicant is not trying to associate with a new
* configuration. the supplicant is not trying to associate with a new
* network and external interaction (e.g., ctrl_iface call to add or
* enable a network) is needed to start association.
*/
INACTIVE = 2,
/**
* This state is entered when wpa_supplicant starts scanning for a
* This state is entered when the supplicant starts scanning for a
* network.
*/
SCANNING = 3,
/**
* This state is entered when wpa_supplicant has found a suitable BSS
* This state is entered when the supplicant has found a suitable BSS
* to authenticate with and the driver is configured to try to
* authenticate with this BSS. This state is used only with drivers
* that use wpa_supplicant as the SME.
* that use the supplicant as the SME.
*/
AUTHENTICATING = 4,
/**
* This state is entered when wpa_supplicant has found a suitable BSS
* This state is entered when the supplicant has found a suitable BSS
* to associate with and the driver is configured to try to associate
* with this BSS in ap_scan=1 mode. When using ap_scan=2 mode, this
* state is entered when the driver is configured to try to associate
@@ -69,7 +69,7 @@ interface ISupplicantStaIfaceCallback {
/**
* This state is entered when the driver reports that association has
* been successfully completed with an AP. If IEEE 802.1X is used
* (with or without WPA/WPA2), wpa_supplicant remains in this state
* (with or without WPA/WPA2), the supplicant remains in this state
* until the IEEE 802.1X/EAPOL authentication has been completed.
*/
ASSOCIATED = 6,

View File

@@ -20,7 +20,7 @@ import ISupplicantNetwork;
import ISupplicantStaNetworkCallback;
/**
* Interface exposed by wpa_supplicant for each station mode network
* Interface exposed by the supplicant for each station mode network
* configuration it controls.
*/
interface ISupplicantStaNetwork extends ISupplicantNetwork {
@@ -140,7 +140,7 @@ interface ISupplicantStaNetwork extends ISupplicantNetwork {
/**
* Setters for the various network params.
* These correspond to elements of |wpa_sssid| struct used internally by
* wpa_supplicant to represent each network.
* the supplicant to represent each network.
*/
/**
* Set SSID for this network.

View File

@@ -17,11 +17,11 @@
package android.hardware.wifi.supplicant@1.0;
/**
* Callback Interface exposed by the wpa_supplicant service
* Callback Interface exposed by the supplicant service
* for each network (ISupplicantStaNetwork).
*
* Clients need to host an instance of this HIDL interface object and
* pass a reference of the object to wpa_supplicant via the
* pass a reference of the object to the supplicant via the
* corresponding |ISupplicantStaNetwork.registerCallback| method.
*/
interface ISupplicantStaNetworkCallback {