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

Commit 8d34c517 authored by Mia's avatar Mia
Browse files

wifi: add an api route for removing a P2P client

Bug: 159098347
Test: atest FrameworksWifiTests
Change-Id: I83b1febb6e56965806a4cc18c0eba9520cce6ce3
parent 1aab61da
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -81,6 +81,7 @@ interface ISupplicantP2pIface {
  void setSsidPostfix(in byte[] postfix);
  void setWfdDeviceInfo(in byte[] info);
  void setWfdR2DeviceInfo(in byte[] info);
  void removeClient(in byte[] peerAddress, in boolean isLegacyClient);
  void setWpsConfigMethods(in android.hardware.wifi.supplicant.WpsConfigMethods configMethods);
  void setWpsDeviceName(in String name);
  void setWpsDeviceType(in byte[] type);
+11 −0
Original line number Diff line number Diff line
@@ -642,6 +642,17 @@ interface ISupplicantP2pIface {
     */
    void setWfdR2DeviceInfo(in byte[] info);

    /**
     * Remove the client with the MAC address from the group.
     *
     * @param peerAddress Mac address of the client.
     * @param isLegacyClient Indicate if client is a legacy client or not.
     * @throws ServiceSpecificException with one of the following values:
     *         |SupplicantStatusCode.FAILURE_UNKNOWN|,
     *         |SupplicantStatusCode.FAILURE_IFACE_INVALID|
     */
    void removeClient(in byte[/*6*/] peerAddress, in boolean isLegacyClient);

    /**
     * Set the list of supported config methods for WPS operations.
     *