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

Commit 2d50db95 authored by Roshan Pius's avatar Roshan Pius
Browse files

supplicant(interface): Add sta network idstr & ft key mgmt

Bug: 34284015
Bug: 32571829
Test: Compiles
Change-Id: Id4d08657a4ed5a76f727e89c19991a65ce7f91e5
parent 6eb05a2f
Loading
Loading
Loading
Loading
+33 −2
Original line number Diff line number Diff line
@@ -51,7 +51,10 @@ interface ISupplicantStaNetwork extends ISupplicantNetwork {
    WPA_EAP = 1 << 0,
    WPA_PSK = 1 << 1,
    NONE = 1 << 2,
    IEEE8021X = 1 << 3
    IEEE8021X = 1 << 3,
    FT_EAP = 1 << 5,
    FT_PSK = 1 << 6,
    OSEN = 1 << 15
  };

  /** Possble mask of values for Proto param. */
@@ -74,7 +77,8 @@ interface ISupplicantStaNetwork extends ISupplicantNetwork {
    WEP40 = 1 << 1,
    WEP104 = 1 << 2,
    TKIP = 1 << 3,
    CCMP = 1 << 4
    CCMP = 1 << 4,
    GTK_NOT_USED = 1 << 14
  };

  /** Possble mask of values for PairwiseCipher param. */
@@ -504,6 +508,19 @@ interface ISupplicantStaNetwork extends ISupplicantNetwork {
   */
  setEapDomainSuffixMatch(string match)
      generates (SupplicantStatus status);
  /**
   * Get ID string set for this network.
   * Network identifier string for external scripts.
   *
   * @return idStr ID string value to set.
   * @return status Status of the operation.
   *         Possible status codes:
   *         |SupplicantStatusCode.SUCCESS|,
   *         |SupplicantStatusCode.FAILURE_ARGS_INVALID|,
   *         |SupplicantStatusCode.FAILURE_UNKNOWN|,
   *         |SupplicantStatusCode.FAILURE_NETWORK_INVALID|
   */
  setIdStr(string idStr) generates (SupplicantStatus status);

  /**
   * Getters for the various network params.
@@ -826,6 +843,20 @@ interface ISupplicantStaNetwork extends ISupplicantNetwork {
  getEapDomainSuffixMatch()
      generates (SupplicantStatus status, string match);

  /**
   * Get ID string set for this network.
   * Network identifier string for external scripts.
   *
   * @return status Status of the operation.
   *         Possible status codes:
   *         |SupplicantStatusCode.SUCCESS|,
   *         |SupplicantStatusCode.FAILURE_ARGS_INVALID|,
   *         |SupplicantStatusCode.FAILURE_UNKNOWN|,
   *         |SupplicantStatusCode.FAILURE_NETWORK_INVALID|
   * @return idStr ID string set.
   */
  getIdStr() generates (SupplicantStatus status, string idStr);

  /**
   * Enable the network for connection purposes.
   *