supplicant(interface): Add sta network idstr & ft key mgmt am: 2d50db95b4

am: 11f510a3f2

Change-Id: Iaf59053991b7b9ca9ef2796c0c78d6a3f4d1c8db
This commit is contained in:
Roshan Pius
2017-01-19 22:57:32 +00:00
committed by android-build-merger

View File

@@ -51,7 +51,10 @@ interface ISupplicantStaNetwork extends ISupplicantNetwork {
WPA_EAP = 1 << 0,
WPA_PSK = 1 << 1,
NONE = 1 << 2,
IEEE8021X = 1 << 3
IEEE8021X = 1 << 3,
FT_EAP = 1 << 5,
FT_PSK = 1 << 6,
OSEN = 1 << 15
};
/** Possble mask of values for Proto param. */
@@ -74,7 +77,8 @@ interface ISupplicantStaNetwork extends ISupplicantNetwork {
WEP40 = 1 << 1,
WEP104 = 1 << 2,
TKIP = 1 << 3,
CCMP = 1 << 4
CCMP = 1 << 4,
GTK_NOT_USED = 1 << 14
};
/** Possble mask of values for PairwiseCipher param. */
@@ -504,6 +508,19 @@ interface ISupplicantStaNetwork extends ISupplicantNetwork {
*/
setEapDomainSuffixMatch(string match)
generates (SupplicantStatus status);
/**
* Get ID string set for this network.
* Network identifier string for external scripts.
*
* @return idStr ID string value to set.
* @return status Status of the operation.
* Possible status codes:
* |SupplicantStatusCode.SUCCESS|,
* |SupplicantStatusCode.FAILURE_ARGS_INVALID|,
* |SupplicantStatusCode.FAILURE_UNKNOWN|,
* |SupplicantStatusCode.FAILURE_NETWORK_INVALID|
*/
setIdStr(string idStr) generates (SupplicantStatus status);
/**
* Getters for the various network params.
@@ -826,6 +843,20 @@ interface ISupplicantStaNetwork extends ISupplicantNetwork {
getEapDomainSuffixMatch()
generates (SupplicantStatus status, string match);
/**
* Get ID string set for this network.
* Network identifier string for external scripts.
*
* @return status Status of the operation.
* Possible status codes:
* |SupplicantStatusCode.SUCCESS|,
* |SupplicantStatusCode.FAILURE_ARGS_INVALID|,
* |SupplicantStatusCode.FAILURE_UNKNOWN|,
* |SupplicantStatusCode.FAILURE_NETWORK_INVALID|
* @return idStr ID string set.
*/
getIdStr() generates (SupplicantStatus status, string idStr);
/**
* Enable the network for connection purposes.
*