1 /* 2 * hdf_mac80211_sta.h 3 * 4 * hdf driver 5 * 6 * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. 7 * 8 * This software is licensed under the terms of the GNU General Public 9 * License version 2, as published by the Free Software Foundation, and 10 * may be copied, distributed, and modified under those terms. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 */ 18 #ifndef WAL_MAC80211_STA_H_ 19 #define WAL_MAC80211_STA_H_ 20 21 #include "wifi_mac80211_ops.h" 22 23 int32_t HdfStartScan(NetDevice *netdev, struct WlanScanRequest *scanParam); 24 int32_t HdfAbortScan(NetDevice *hnetDev); 25 int32_t HdfConnect(NetDevice *netDev, WlanConnectParams *param); 26 int32_t HdfDisconnect(NetDevice *netDev, uint16_t reasonCode); 27 int32_t HdfSetScanningMacAddress(NetDevice *netDev, unsigned char *mac, uint32_t len); 28 extern int32_t wl_cfg80211_connect(struct wiphy *wiphy, struct net_device *dev, 29 struct cfg80211_connect_params *sme); 30 31 extern int32_t wl_cfg80211_disconnect(struct wiphy *wiphy, struct net_device *dev, 32 u16 reason_code); 33 extern int32_t wl_cfg80211_abort_scan(struct wiphy *wiphy, struct wireless_dev *wdev); 34 #endif 35