Package: android.hardware.wifi.supplicant@1.0

types

Properties

Ssid

typedef vec Ssid

SSID type.Max of 32 octets representing service identifier of a network.

MacAddress

typedef uint8_t[6] MacAddress

MAC Address type.6 octets representing physical address of a device.

Bssid

typedef MacAddress Bssid

BSSID type.6 octets representing the physical address of an AP.

SupplicantNetworkId

typedef uint32_t SupplicantNetworkId

Supplicant network ID type.

SupplicantStatusCode

enum SupplicantStatusCode: uint32_t

Enum values indicating the status of any supplicant operation.

Details
Members
SUCCESS
No errors.
FAILURE_UNKNOWN
Unknown failure occured.
FAILURE_ARGS_INVALID
One of the incoming args is invalid.
FAILURE_IFACE_INVALID
|ISupplicantIface| HIDL interface object is no longer valid.
FAILURE_IFACE_UNKNOWN
Iface with the provided name does not exist.
FAILURE_IFACE_EXISTS
Iface with the provided name already exists.
FAILURE_IFACE_DISABLED
Iface is disabled and cannot be used.
FAILURE_IFACE_NOT_DISCONNECTED
Iface is not currently disconnected, so cannot reconnect.
FAILURE_NETWORK_INVALID
|ISupplicantNetwork| HIDL interface object is no longer valid.
FAILURE_NETWORK_UNKNOWN
Network with the provided id does not exist.

IfaceType

enum IfaceType: uint32_t

List of Iface types supported.

Details
Members
STA
P2P

P2pGroupCapabilityMask

enum P2pGroupCapabilityMask: uint32_t

P2P group capability.

Details
Members
GROUP_OWNER = 1 << 0
PERSISTENT_GROUP = 1 << 1
GROUP_LIMIT = 1 << 2
INTRA_BSS_DIST = 1 << 3
CROSS_CONN = 1 << 4
PERSISTENT_RECONN = 1 << 5
GROUP_FORMATION = 1 << 6

WpsConfigMethods

enum WpsConfigMethods: uint16_t

WPS config methods.Refer to section 3 of IBSS with Wi-Fi Protected Setup Technical Specification Version 1.0.0.

Details
Members
USBA = 0x0001
ETHERNET = 0x0002
LABEL = 0x0004
DISPLAY = 0x0008
EXT_NFC_TOKEN = 0x0010
INT_NFC_TOKEN = 0x0020
NFC_INTERFACE = 0x0040
PUSHBUTTON = 0x0080
KEYPAD = 0x0100
VIRT_PUSHBUTTON = 0x0280
PHY_PUSHBUTTON = 0x0480
P2PS = 0x1000
VIRT_DISPLAY = 0x2008
PHY_DISPLAY = 0x4008

SupplicantStatus

struct SupplicantStatus {SupplicantStatusCode code; string debugMessage}

Generic structure to return the status of any supplicant operation.

Details
Members
code
debugMessage
A vendor specific error message to provide more information beyond the status code.This will be used for debbuging purposes only.