Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9928f3b2 authored by Roshan Pius's avatar Roshan Pius Committed by android-build-merger
Browse files

supplicant(interface): Add support for disabling auto connect am: 39c26090 am: a164e139

am: b6edb32a

Change-Id: I952add050d333e601fd6ff0a8dc838e51c7d0cd3
parents ec72ff97 b6edb32a
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -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);
};