1/* 2 * Copyright (c) 2023 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 * @addtogroup Hostapd 18 * @{ 19 * 20 * @brief Provides APIs for the upper-layer WLAN service. 21 * 22 * You can use the APIs to enable or disable a WLAN hotspot, scan for hotspots, connect to a WLAN hotspot, 23 * manage WLAN chips, network devices, and power, and apply for, release, and move network data buffers. 24 * 25 * @since 4.1 26 * @version 1.0 27 */ 28 29 /** 30 * @file HostapdTypes.idl 31 * 32 * @brief Defines data types related to the WLAN module. 33 * 34 * The WLAN module data includes the {@code Feature} object information, station (STA) information, 35 * scan information, and network device information. 36 * 37 * @since 4.1 38 * @version 1.0 39 */ 40 41/** 42 * @brief Defines the package path of the WLAN module interface. 43 * 44 * @since 4.1 45 * @version 1.0 46 */ 47package ohos.hdi.wlan.hostapd.v1_0; 48 49/** 50 * @brief Defines the {@code Feature} object information. 51 * 52 * @since 4.1 53 * @version 1.0 54 */ 55 56struct HdiApCbParm { 57 /** Wi-Fi Hal callback the STA to join and AP status. */ 58 String content; 59 /** ap id. */ 60 int id; 61}; 62