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

Commit 6eb05a2f authored by Roshan Pius's avatar Roshan Pius
Browse files

supplicant(interface): Add missing STA callbacks

Add a few missing callbacks in ISupplicantStaIfaceCallbacks &
ISupplicantCallbacks.

Bug: 34274091
Test: Compiles
Change-Id: I5d7819f9708f6caa4da80ed481408e376a5636f8
parent 4984f9ab
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -37,4 +37,9 @@ interface ISupplicantCallback {
   * @param ifName Name of the network interface, e.g., wlan0
   */
  oneway onInterfaceRemoved(string ifName);

  /**
   * Used to indicate that the supplicant daemon is terminating.
   */
  oneway onTerminating();
};
+28 −2
Original line number Diff line number Diff line
@@ -257,8 +257,15 @@ interface ISupplicantStaIfaceCallback {
                                    string url);

  /**
   * Used to indicate a disconnect from the currently connected
   * network on this iface,.
   * Used to indicate the connection to a new network on this iface.
   *
   * @param bssid BSSID of the AP to which we connected.
   */
  oneway onConnected(Bssid bssid);

  /**
   * Used to indicate the disconnection from the currently connected
   * network on this iface.
   *
   * @param bssid BSSID of the AP from which we disconnected.
   * @param locallyGenerated If the disconnect was triggered by
@@ -269,6 +276,13 @@ interface ISupplicantStaIfaceCallback {
  oneway onDisconnected(
          Bssid bssid, bool locallyGenerated, uint32_t reasonCode);

  /**
   * Used to indicate the completion of association to an AP.
   *
   * @param bssid BSSID of the corresponding AP.
   */
  oneway onAssociationCompleted(Bssid bssid);

  /**
   * Used to indicate an association rejection recieved from the AP
   * to which the connection is being attempted.
@@ -280,6 +294,18 @@ interface ISupplicantStaIfaceCallback {
   */
  oneway onAssociationRejected(Bssid bssid, uint32_t statusCode);

  /**
   * Used to indicate the timeout of authentication to an AP.
   *
   * @param bssid BSSID of the corresponding AP.
   */
  oneway onAuthenticationTimeout(Bssid bssid);

  /**
   * Used to indicate an EAP authentication failure.
   */
  oneway onEapFailure();

  /**
   * Used to indicate the success of a WPS connection attempt.
   */