mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-03 08:54:55 +00:00
supplicant(interface): Add support for disabling auto connect
am: 39c2609065
Change-Id: Id0c634ea70952d9bdc1c1de3f1ec3e4c502a7121
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user