Package: android.hardware.wifi.supplicant@1.1

ISupplicant

interface ISupplicant extends @1.0::ISupplicant

Interface exposed by the supplicant HIDL service registered with the hardware service manager.This is the root level object for any the supplicant interactions.

Methods

addInterface

addInterface (IfaceInfo ifaceInfo)
generates (SupplicantStatus status, ISupplicantIface iface)

Registers a wireless interface in supplicant.

Details
Parameters
ifaceInfo
Combination of the interface type and name(e.g wlan0).
Generates
status
Status of the operation.Possible status codes:|SupplicantStatusCode.SUCCESS|, |SupplicantStatusCode.FAILURE_ARGS_INVALID|, |SupplicantStatusCode.FAILURE_UNKNOWN|, |SupplicantStatusCode.FAILURE_IFACE_EXISTS|
iface
HIDL interface object representing the interface if successful, null otherwise.

removeInterface

removeInterface (IfaceInfo ifaceInfo)
generates (SupplicantStatus status)

Deregisters a wireless interface from supplicant.

Details
Parameters
ifaceInfo
Combination of the interface type and name(e.g wlan0).
Generates
status
Status of the operation.Possible status codes:|SupplicantStatusCode.SUCCESS|, |SupplicantStatusCode.FAILURE_ARGS_INVALID|, |SupplicantStatusCode.FAILURE_UNKNOWN|, |SupplicantStatusCode.FAILURE_IFACE_UNKOWN|

terminate

oneway terminate ()

Terminate the service.This must de-register the service and clear all state.If this HAL supports the lazy HAL protocol, then this may trigger daemon to exit and wait to be restarted.

Details
RPC mode
oneway