supplicant(interface): Add support for disabling auto connect am: 39c2609065
am: a164e1398f
Change-Id: I3f24ed64b2c0141d88dfdd86c88026a40d974c5a
This commit is contained in:
commit
b6edb32ab0
1 changed files with 15 additions and 0 deletions
|
@ -460,4 +460,19 @@ interface ISupplicantStaIface extends ISupplicantIface {
|
|||
* |SupplicantStatusCode.FAILURE_UNKNOWN|
|
||||
*/
|
||||
removeExtRadioWork(uint32_t id) generates (SupplicantStatus status);
|
||||
|
||||
/**
|
||||
* Enable/Disable auto reconnect to networks.
|
||||
* Use this to prevent wpa_supplicant from trying to connect to networks
|
||||
* on its own.
|
||||
*
|
||||
* @param enable true to enable, false to disable.
|
||||
* @return status Status of the operation.
|
||||
* Possible status codes:
|
||||
* |SupplicantStatusCode.SUCCESS|,
|
||||
* |SupplicantStatusCode.FAILURE_UNKNOWN|,
|
||||
* |SupplicantStatusCode.FAILURE_IFACE_INVALID|,
|
||||
* |SupplicantStatusCode.FAILURE_IFACE_DISABLED|
|
||||
*/
|
||||
enableAutoReconnect(bool enable) generates (SupplicantStatus status);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue