#ifndef _KS_WLAN_H
#define _KS_WLAN_H
#include <linux/atomic.h>
#include <linux/circ_buf.h>
#include <linux/completion.h>
#include <linux/netdevice.h>
#include <linux/sched.h>
#include <linux/spinlock.h>
#include <linux/wireless.h>
struct ks_wlan_parameter { … };
enum { … };
#define SME_MODE_SET …
#define SME_RTS …
#define SME_FRAG …
#define SME_WEP_FLAG …
#define SME_WEP_INDEX …
#define SME_WEP_VAL1 …
#define SME_WEP_VAL2 …
#define SME_WEP_VAL3 …
#define SME_WEP_VAL4 …
#define SME_WEP_VAL_MASK …
#define SME_RSN …
#define SME_RSN_MULTICAST …
#define SME_RSN_UNICAST …
#define SME_RSN_AUTH …
#define SME_AP_SCAN …
#define SME_MULTICAST …
enum { … };
enum { … };
#define SME_EVENT_BUFF_SIZE …
struct sme_info { … };
struct hostt { … };
#define RSN_IE_BODY_MAX …
struct rsn_ie { … } __packed;
#define WPA_INFO_ELEM_ID …
#define RSN_INFO_ELEM_ID …
#define WPS_IE_BODY_MAX …
struct wps_ie { … } __packed;
struct local_ap { … };
#define LOCAL_APLIST_MAX …
#define LOCAL_CURRENT_AP …
struct local_aplist { … };
struct local_gain { … };
struct local_eeprom_sum { … };
enum { … };
enum { … };
struct power_save_status { … };
struct sleep_status { … };
struct scan_ext { … };
#define CIPHER_ID_WPA_NONE …
#define CIPHER_ID_WPA_WEP40 …
#define CIPHER_ID_WPA_TKIP …
#define CIPHER_ID_WPA_CCMP …
#define CIPHER_ID_WPA_WEP104 …
#define CIPHER_ID_WPA2_NONE …
#define CIPHER_ID_WPA2_WEP40 …
#define CIPHER_ID_WPA2_TKIP …
#define CIPHER_ID_WPA2_CCMP …
#define CIPHER_ID_WPA2_WEP104 …
#define CIPHER_ID_LEN …
enum { … };
#define KEY_MGMT_ID_WPA_NONE …
#define KEY_MGMT_ID_WPA_1X …
#define KEY_MGMT_ID_WPA_PSK …
#define KEY_MGMT_ID_WPA_WPANONE …
#define KEY_MGMT_ID_WPA2_NONE …
#define KEY_MGMT_ID_WPA2_1X …
#define KEY_MGMT_ID_WPA2_PSK …
#define KEY_MGMT_ID_WPA2_WPANONE …
#define KEY_MGMT_ID_LEN …
#define MIC_KEY_SIZE …
struct wpa_key { … };
#define WPA_KEY_INDEX_MAX …
#define WPA_RX_SEQ_LEN …
struct mic_failure { … };
struct wpa_status { … };
#include <linux/list.h>
#define PMK_LIST_MAX …
struct pmk_list { … };
struct wps_status { … };
#define TX_DEVICE_BUFF_SIZE …
struct ks_wlan_private;
struct tx_device_buffer { … };
struct tx_device { … };
#define RX_DATA_SIZE …
#define RX_DEVICE_BUFF_SIZE …
struct rx_device_buffer { … };
struct rx_device { … };
struct ks_wlan_private { … };
static inline void inc_txqhead(struct ks_wlan_private *priv)
{ … }
static inline void inc_txqtail(struct ks_wlan_private *priv)
{ … }
static inline bool txq_has_space(struct ks_wlan_private *priv)
{ … }
static inline void inc_rxqhead(struct ks_wlan_private *priv)
{ … }
static inline void inc_rxqtail(struct ks_wlan_private *priv)
{ … }
static inline bool rxq_has_space(struct ks_wlan_private *priv)
{ … }
static inline unsigned int txq_count(struct ks_wlan_private *priv)
{ … }
static inline unsigned int rxq_count(struct ks_wlan_private *priv)
{ … }
int ks_wlan_net_start(struct net_device *dev);
int ks_wlan_net_stop(struct net_device *dev);
bool is_connect_status(u32 status);
bool is_disconnect_status(u32 status);
#endif