diff --git a/wlan/bundle.json b/wlan/bundle.json index af29ce5aa03e60ce619b52273eac0768099d0772..5e8018acde6170dd29356a5c694e62a577d67256 100644 --- a/wlan/bundle.json +++ b/wlan/bundle.json @@ -26,9 +26,6 @@ }, "build": { "sub_component": [ - "//drivers/interface/wlan/v1_1:wlan_idl_target", - "//drivers/interface/wlan/v1_2:wlan_idl_target", - "//drivers/interface/wlan/v1_3:wlan_idl_target", "//drivers/interface/wlan/wpa/v1_0:wpa_idl_target", "//drivers/interface/wlan/wpa/v1_1:wpa_idl_target", "//drivers/interface/wlan/hostapd/v1_0:hostapd_idl_target", @@ -37,78 +34,6 @@ "test": [ ], "inner_kits": [ - { - "name": "//drivers/interface/wlan/v1_1:libwlan_proxy_1.1", - "header": { - "header_files": [ - ], - "header_base": "//drivers/interface/wlan" - } - }, - { - "name": "//drivers/interface/wlan/v1_1:wlan_idl_headers", - "header": { - "header_files": [ - ], - "header_base": "//drivers/interface/wlan" - } - }, - { - "name": "//drivers/interface/wlan/v1_1:libwlan_stub_1.1", - "header": { - "header_files": [ - ], - "header_base": "//drivers/interface/wlan" - } - }, - { - "name": "//drivers/interface/wlan/v1_2:libwlan_proxy_1.2", - "header": { - "header_files": [ - ], - "header_base": "//drivers/interface/wlan" - } - }, - { - "name": "//drivers/interface/wlan/v1_2:wlan_idl_headers", - "header": { - "header_files": [ - ], - "header_base": "//drivers/interface/wlan" - } - }, - { - "name": "//drivers/interface/wlan/v1_2:libwlan_stub_1.2", - "header": { - "header_files": [ - ], - "header_base": "//drivers/interface/wlan" - } - }, - { - "name": "//drivers/interface/wlan/v1_3:libwlan_proxy_1.3", - "header": { - "header_files": [ - ], - "header_base": "//drivers/interface/wlan" - } - }, - { - "name": "//drivers/interface/wlan/v1_3:wlan_idl_headers", - "header": { - "header_files": [ - ], - "header_base": "//drivers/interface/wlan" - } - }, - { - "name": "//drivers/interface/wlan/v1_3:libwlan_stub_1.3", - "header": { - "header_files": [ - ], - "header_base": "//drivers/interface/wlan" - } - }, { "name": "//drivers/interface/wlan/wpa/v1_0:libwpa_proxy_1.0", "header": { diff --git a/wlan/chip/v1_0/ChipTypes.idl b/wlan/chip/v1_0/ChipTypes.idl index a9c923198f1e4e42d7d4924da98577fb674c4ffd..db6cd307fdb6c67c5dfa0f2c6ad9479385288cf7 100644 --- a/wlan/chip/v1_0/ChipTypes.idl +++ b/wlan/chip/v1_0/ChipTypes.idl @@ -183,4 +183,15 @@ struct SignalPollResult { int c1Rssi; unsigned char[] ext; }; + +/** + * @brief Defines the projection parameters. + * + * @since 5.0 + * @version 1.0 + */ +struct ProjectionScreenParam { + int cmdId; + unsigned char[] paramBuf; +} /** @} */ \ No newline at end of file diff --git a/wlan/chip/v1_0/IChipIface.idl b/wlan/chip/v1_0/IChipIface.idl index 678bc36a55ac04e816038de7bb42124498301a91..58cc5ab81c1f59ff2c4624a8773e163d55e1cde3 100644 --- a/wlan/chip/v1_0/IChipIface.idl +++ b/wlan/chip/v1_0/IChipIface.idl @@ -282,5 +282,90 @@ interface IChipIface { * @version 1.0 */ SetTxPower([in] int power); + + /** + * @brief Send data to driver. + * + * @param ifName Indicates the NIC name. + * @param cmdId Indicates the command id. + * @param param Indicates the param data. + * + * @return Returns 0 if the operation is successful. + * @return Returns a negative value if the operation fails. + * + * @since 5.0 + * @version 1.0 + */ + SendCmdToDriver([in] String ifName, [in] int cmdId, [in] char[] paramBuf); + + /** + * @brief Set inteface up or down. + * + * @param ifName Indicates the iface state. + * + * @return Returns 0 if the operation is successful. + * @return Returns a negative value if the operation fails. + * + * @since 5.0 + * @version 1.0 + */ + SetIfaceState([in] boolean state); + + /** + * @brief Send action frame. + * + * @param ifName Indicates the NIC name. + * @param freq Indicates the send channel frequency. + * @param param Indicates the action frame data. + * + * @return Returns 0 if the operation is successful. + * @return Returns a negative value if the operation fails. + * + * @since 5.0 + * @version 1.0 + */ + SendActionFrame([in] String ifName, [in] unsigned int freq, [in] unsigned char[] frameData); + + /** + * @brief Register action frame receiver. + * + * @param ifName Indicates the NIC name. + * @param param Indicates the match param. + * + * @return Returns 0 if the operation is successful. + * @return Returns a negative value if the operation fails. + * + * @since 5.0 + * @version 1.0 + */ + RegiseterActionFrameReceiver([in] String ifName, [in] unsigned char[] match); + + /** + * @brief Set the projection param. + * + * @param ifName Indicates the NIC name. + * @param param Indicates the projection param. + * + * @return Returns 0 if the operation is successful. + * @return Returns a negative value if the operation fails. + * + * @since 5.0 + * @version 1.0 + */ + SetProjectionScreenParam([in] String ifName, [in] struct ProjectionScreenParam param); + + /** + * @brief Get coex channel list. + * + * @param ifName Indicates the NIC name. + * @param paramBuf Indicates the coex channel list. + * + * @return Returns 0 if the operation is successful. + * @return Returns a negative value if the operation fails. + * + * @since 5.0 + * @version 1.0 + */ + GetCoexictenceChannelList([in] String ifName, [out] unsigned char[] paramBuf); }; /** @} */ \ No newline at end of file diff --git a/wlan/chip/v1_0/IChipIfaceCallback.idl b/wlan/chip/v1_0/IChipIfaceCallback.idl index 11237a5e2b171987cffb8c61e5adc6e29b911efb..e9dc30b9212dcb2802ab8149d515f2dac731f5ca 100644 --- a/wlan/chip/v1_0/IChipIfaceCallback.idl +++ b/wlan/chip/v1_0/IChipIfaceCallback.idl @@ -72,5 +72,16 @@ import ohos.hdi.wlan.chip.v1_0.ChipTypes; * @version 1.0 */ [oneway] OnRssiReport([in] int index, [in] int c0Rssi, [in] int c1Rssi); + + /** + * @brief Called to process the netlink message received. + * + * @param type message type. + * @param recvMsg netlink message. + * + * @since 5.0 + * @version 1.0 + */ + [oneway] OnWifiNetlinkMessage([in] int type, [in] unsigned char[] recvMsg); }; /** @} */ \ No newline at end of file diff --git a/wlan/chip/v1_0/IConcreteChip.idl b/wlan/chip/v1_0/IConcreteChip.idl index 1ed02e8a00e31f94ad7b7b98728ba425572ea242..cfdba13d649eeed8b001e0c61e725533370f290c 100644 --- a/wlan/chip/v1_0/IConcreteChip.idl +++ b/wlan/chip/v1_0/IConcreteChip.idl @@ -285,5 +285,45 @@ interface IConcreteChip { * @version 1.0 */ SetChipMode([in] unsigned int modeId); + + /** + * @brief Creates the Ext interface service. + * + * @param iface Indicates Ext interface service object. + * + * @return Returns 0 if the operation is successful. + * @return Returns a negative value if the operation fails. + * + * @since 5.0 + * @version 1.0 + */ + CreateExtService([in] String ifname, [out] IChipIface iface); + + /** + * @brief Obtains the service of the Ext interface. + * + * @param ifnames Indicates Ext interface name. + * @param iface Indicates the Ext interface service object. + * + * @return Returns 0 if the operation is successful. + * @return Returns a negative value if the operation fails. + * + * @since 5.0 + * @version 1.0 + */ + GetExtService([in] String ifname, [out] IChipIface iface); + + /** + * @brief Deletes the service of the Ext interface. + * + * @param ifnames Indicates Ext interface name. + * + * @return Returns 0 if the operation is successful. + * @return Returns a negative value if the operation fails. + * + * @since 5.0 + * @version 1.0 + */ + RemoveExtService([in] String ifname); }; /** @} */ \ No newline at end of file