1 #ifndef __esp_cfg80211_h_
2 #define __esp_cfg80211_h_
5 * Espressif Systems Wireless LAN device driver
7 * SPDX-FileCopyrightText: 2015-2023 Espressif Systems (Shanghai) CO LTD
9 * SPDX-License-Identifier: GPL-2.0-only
11 #include <linux/version.h>
13 struct wireless_dev *esp_cfg80211_add_iface(struct wiphy *wiphy,
15 unsigned char name_assign_type,
16 enum nl80211_iftype type,
17 struct vif_params *params);
18 int esp_cfg80211_register(struct esp_adapter *adapter);
20 int esp_mark_disconnect(struct esp_wifi_device *priv, uint16_t reason,
21 uint8_t locally_disconnect);
22 int esp_mark_scan_done_and_disconnect(struct esp_wifi_device *priv,
23 uint8_t locally_disconnect);