diff --git a/wlan/wpa/v1_1/IWpaInterface.idl b/wlan/wpa/v1_1/IWpaInterface.idl index 815c988cf0a8d21ed7d128e090205df702d9f272..9ff9b63de461c9120cb3176c9e806b2892b6d7fd 100644 --- a/wlan/wpa/v1_1/IWpaInterface.idl +++ b/wlan/wpa/v1_1/IWpaInterface.idl @@ -72,4 +72,19 @@ interface IWpaInterface extends ohos.hdi.wlan.wpa.v1_0.IWpaInterface { * @version 1.0 */ UnregisterWpaEventCallback([in] IWpaCallback cbFunc, [in] String ifName); + + /** + * @brief Get Sta data from wpa_supplicant + * + * @param ifName Indicates the NIC name. + * @param staParam Indicates the param of sta to get data. + * @param staData Indicates the data obtained. + * + * @return Returns 0 if the operation is successful. + * @return Returns a negative value if the operation fails. + * + * @since 5.1 + * @version 1.0 + */ + GetWpaStaData([in] String ifName, [in] String staParam, [out] String staData); }