From a64c0f48328b420708f714a830163e1386ce3ed7 Mon Sep 17 00:00:00 2001 From: RichardHuang9527 Date: Sat, 25 Jun 2022 00:20:02 -0700 Subject: [PATCH] feat: add new hdf wlan hdi interfaces for hml Signed-off-by: RichardHuang9527 --- wlan/bundle.json | 10 +++++++++- wlan/v1_0/IWlanInterface.idl | 1 + wlan/v1_0/WlanTypes.idl | 5 +++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/wlan/bundle.json b/wlan/bundle.json index 6a207184..2115e5e6 100644 --- a/wlan/bundle.json +++ b/wlan/bundle.json @@ -23,7 +23,7 @@ }, "build": { "sub_component": [ - "//drivers/interface/wlan/v1_0:libwlan_proxy_1.0" + "//drivers/interface/wlan/v1_0:wlan_idl_target" ], "test": [ ], @@ -35,6 +35,14 @@ ], "header_base": "//drivers/interface/wlan" } + }, + { + "name": "//drivers/interface/wlan/v1_0:wlan_idl_headers", + "header": { + "header_files": [ + ], + "header_base": "//drivers/interface/wlan" + } } ] } diff --git a/wlan/v1_0/IWlanInterface.idl b/wlan/v1_0/IWlanInterface.idl index 58539d3a..94bd8cb5 100644 --- a/wlan/v1_0/IWlanInterface.idl +++ b/wlan/v1_0/IWlanInterface.idl @@ -46,4 +46,5 @@ interface IWlanInterface { SetPowerMode([in] struct HdfFeatureInfo ifeature, [in] unsigned char mode); [oneway] StartChannelMeas([in] String ifName, [in] struct MeasChannelParam measChannelParam); GetChannelMeasResult([in] String ifName, [out] struct MeasChannelResult measChannelResult); + SetProjectionScreenParam([in] String ifName, [in] struct ProjectionScreenCmdParam param); } diff --git a/wlan/v1_0/WlanTypes.idl b/wlan/v1_0/WlanTypes.idl index e50f9337..03ba8f2e 100644 --- a/wlan/v1_0/WlanTypes.idl +++ b/wlan/v1_0/WlanTypes.idl @@ -79,3 +79,8 @@ struct MeasChannelResult { int chload; int noise; }; + +struct ProjectionScreenCmdParam { + int cmdId; + byte[] buf; +}; -- Gitee