From b287cb370fc224bd168217fad1539dd3b1a9a2f7 Mon Sep 17 00:00:00 2001 From: DKdragon Date: Thu, 20 Jun 2024 16:30:38 +0800 Subject: [PATCH] set ptk Signed-off-by: DKdragon --- wlan/v1_3/IWlanInterface.idl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/wlan/v1_3/IWlanInterface.idl b/wlan/v1_3/IWlanInterface.idl index 9334f10f..14a4f1b5 100644 --- a/wlan/v1_3/IWlanInterface.idl +++ b/wlan/v1_3/IWlanInterface.idl @@ -41,5 +41,20 @@ interface IWlanInterface extends ohos.hdi.wlan.v1_2.IWlanInterface { * @version 1.3 */ GetCoexictenceChannelList([in] String ifName, [out] unsigned char[] paramBuf); + + /** + * @brief set sync ptk. + * + * @param ifName Indicates the NIC name. + * @param keyId key index. + * @param addr local addr. + * + * @return Returns 0 if the operation is successful. + * @return Returns a negative value if the operation fails. + * + * @since 4.1 + * @version 1.2 + */ + SetSyncPtk([in] String ifName, [in] int keyId, [in] unsigned char[] addr, [in] unsigned char[] key); } /** @} */ -- Gitee