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

Commit 7bf6dc81 authored by Roshan Pius's avatar Roshan Pius
Browse files

supplicant(interface): Add timedOut param in assoc reject

This is needed to indicate if the association failed due to a timeout
instead of AP explicitly rejecting us.

Bug: 34280407
Test: Compiles
Change-Id: Ib287ea8e45c28356bf9e3271962fc015761651fd
parent 09258a2a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -278,8 +278,10 @@ interface ISupplicantStaIfaceCallback {
   *        reject.
   * @param statusCode 802.11 code to indicate the reject reason.
   *        Refer to section 8.4.1.9 of IEEE 802.11 spec.
   * @param timedOut Whether failure is due to timeout rather
   *        than explicit rejection response from the AP.
   */
  oneway onAssociationRejected(Bssid bssid, uint32_t statusCode);
  oneway onAssociationRejected(Bssid bssid, uint32_t statusCode, bool timedOut);

  /**
   * Used to indicate the timeout of authentication to an AP.