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

am: 4056b45e18

Change-Id: Ifbde7669d552321a5c1387765f7acd5616007b25
This commit is contained in:
Roshan Pius 2017-01-19 23:00:03 +00:00 committed by android-build-merger
commit 61a4803418

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.
*