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

Commit 1100f4e5 authored by Roshan Pius's avatar Roshan Pius Committed by android-build-merger
Browse files

Merge "supplicant(interface): Support for P2P client list and save config" am: 91c2cb32

am: 2f52b0d8

Change-Id: Ibfad7dd79c36f4ce93a6febf3c46838f92bcad10
parents 5f44edfb 2f52b0d8
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -672,4 +672,15 @@ interface ISupplicantP2pIface extends ISupplicantIface {
   */
  reportNfcHandoverInitiation(vec<uint8_t> select)
      generates (SupplicantStatus status);

  /**
   * Persist the current configuration to disk.
   *
   * @return status Status of the operation.
   *         Possible status codes:
   *         |SupplicantStatusCode.SUCCESS|,
   *         |SupplicantStatusCode.FAILURE_UNKNOWN|,
   *         |SupplicantStatusCode.FAILURE_IFACE_INVALID|
   */
  saveConfig() generates (SupplicantStatus status);
};
+30 −0
Original line number Diff line number Diff line
@@ -100,4 +100,34 @@ interface ISupplicantP2pNetwork extends ISupplicantNetwork {
   * @return isGo true if group owner, false otherwise.
   */
  isGo() generates (SupplicantStatus status, bool isGo);

  /**
   * Set the list of P2P Clients in a persistent group (GO).
   * This is a list of P2P Clients (P2P Device Address) that have joined
   * the persistent group. This is maintained on the GO for persistent
   * group entries (disabled == 2).
   *
   * @param clients MAC address of the clients.
   * @return status Status of the operation.
   *         Possible status codes:
   *         |SupplicantStatusCode.SUCCESS|,
   *         |SupplicantP2ptusCode.FAILURE_UNKNOWN|,
   *         |SupplicantStatusCode.FAILURE_NETWORK_INVALID|
   */
  setClientList(vec<MacAddress> clients) generates (SupplicantStatus status);

  /**
   * Get the list of P2P Clients in a persistent group (GO).
   * This is a list of P2P Clients (P2P Device Address) that have joined
   * the persistent group. This is maintained on the GO for persistent
   * group entries (disabled == 2).
   *
   * @return status Status of the operation.
   *         Possible status codes:
   *         |SupplicantStatusCode.SUCCESS|,
   *         |SupplicantP2ptusCode.FAILURE_UNKNOWN|,
   *         |SupplicantStatusCode.FAILURE_NETWORK_INVALID|
   * @return clients MAC address of the clients.
   */
  getClientList() generates (SupplicantStatus status, vec<MacAddress> clients);
};