commit | 4cf51b357f823d8d75089045ee788ea6f27e75ab | [log] [tgz] |
---|---|---|
author | Jimmy Chen <jimmycmchen@google.com> | Fri Jan 28 00:43:45 2022 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Fri Jan 28 00:43:45 2022 +0000 |
tree | 16f2ecf63829a8610797d509e4f7f224531ee7bc | |
parent | 4589bc257f47bb2dfe0c839c7bb59b4a89e16ab9 [diff] | |
parent | 8d34c5179c1cc9eeb8eb21190e3c6e1a0f05a2f5 [diff] |
Merge "wifi: add an api route for removing a P2P client"
diff --git a/wifi/supplicant/aidl/aidl_api/android.hardware.wifi.supplicant/current/android/hardware/wifi/supplicant/ISupplicantP2pIface.aidl b/wifi/supplicant/aidl/aidl_api/android.hardware.wifi.supplicant/current/android/hardware/wifi/supplicant/ISupplicantP2pIface.aidl index ca7be73..f1332d9 100644 --- a/wifi/supplicant/aidl/aidl_api/android.hardware.wifi.supplicant/current/android/hardware/wifi/supplicant/ISupplicantP2pIface.aidl +++ b/wifi/supplicant/aidl/aidl_api/android.hardware.wifi.supplicant/current/android/hardware/wifi/supplicant/ISupplicantP2pIface.aidl
@@ -81,6 +81,7 @@ 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);
diff --git a/wifi/supplicant/aidl/android/hardware/wifi/supplicant/ISupplicantP2pIface.aidl b/wifi/supplicant/aidl/android/hardware/wifi/supplicant/ISupplicantP2pIface.aidl index 64839e7..11cdc8b 100644 --- a/wifi/supplicant/aidl/android/hardware/wifi/supplicant/ISupplicantP2pIface.aidl +++ b/wifi/supplicant/aidl/android/hardware/wifi/supplicant/ISupplicantP2pIface.aidl
@@ -643,6 +643,17 @@ 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. * * @param configMethods Mask of WPS configuration methods supported by the