1/*
2 * Copyright (c) 2024 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16/**
17 * @file IWlanInterface.idl
18 *
19 * @brief Provides APIs to enable or disable a WLAN hotspot, scan for hotspots, connect to or disconnect from a WLAN hotspot,
20 * set the country code, and manage network devices.
21 *
22 * @since 5.0
23 * @version 1.3
24 */
25
26package ohos.hdi.wlan.v1_3;
27
28import ohos.hdi.wlan.v1_2.IWlanInterface;
29
30interface IWlanInterface extends ohos.hdi.wlan.v1_2.IWlanInterface {
31    /**
32     * @brief get coex channel list.
33     *
34     * @param ifName Indicates the NIC name.
35     * @param paramBuf coex channel list.
36     *
37     * @return Returns <b>0</b> if the operation is successful.
38     * @return Returns a negative value if the operation fails.
39     *
40     * @since 5.0
41     * @version 1.3
42     */
43    GetCoexictenceChannelList([in] String ifName, [out] unsigned char[] paramBuf);
44}
45/** @} */
46