#ifndef __WLCORE_H__
#define __WLCORE_H__
#include <linux/platform_device.h>
#include "wlcore_i.h"
#include "event.h"
#include "boot.h"
#define WLCORE_MAX_TX_DESCRIPTORS …
#define WLCORE_NUM_MAC_ADDRESSES …
#define WLCORE_MAX_TXPWR …
#define WLCORE_TI_OUI_ADDRESS …
struct wl1271_tx_hw_descr;
enum wl_rx_buf_align;
struct wl1271_rx_descriptor;
struct wlcore_ops { … };
enum wlcore_partitions { … };
struct wlcore_partition { … };
struct wlcore_partition_set { … };
enum wlcore_registers { … };
struct wl1271_stats { … };
struct wl1271 { … };
int wlcore_probe(struct wl1271 *wl, struct platform_device *pdev);
void wlcore_remove(struct platform_device *pdev);
struct ieee80211_hw *wlcore_alloc_hw(size_t priv_size, u32 aggr_buf_size,
u32 mbox_size);
int wlcore_free_hw(struct wl1271 *wl);
int wlcore_set_key(struct wl1271 *wl, enum set_key_cmd cmd,
struct ieee80211_vif *vif,
struct ieee80211_sta *sta,
struct ieee80211_key_conf *key_conf);
void wlcore_regdomain_config(struct wl1271 *wl);
void wlcore_update_inconn_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif,
struct wl1271_station *wl_sta, bool in_conn);
static inline void
wlcore_set_ht_cap(struct wl1271 *wl, enum nl80211_band band,
struct ieee80211_sta_ht_cap *ht_cap)
{ … }
#define WLCORE_FW_VER_IGNORE …
static inline void
wlcore_set_min_fw_ver(struct wl1271 *wl, unsigned int chip,
unsigned int iftype_sr, unsigned int major_sr,
unsigned int subtype_sr, unsigned int minor_sr,
unsigned int iftype_mr, unsigned int major_mr,
unsigned int subtype_mr, unsigned int minor_mr)
{ … }
#define CHUNK_SIZE …
#define WLCORE_QUIRK_END_OF_TRANSACTION …
#define WLCORE_QUIRK_TX_BLOCKSIZE_ALIGN …
#define WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN …
#define WLCORE_QUIRK_FWLOG_NOT_IMPLEMENTED …
#define WLCORE_QUIRK_LEGACY_NVS …
#define WLCORE_QUIRK_TX_PAD_LAST_FRAME …
#define WLCORE_QUIRK_TKIP_HEADER_SPACE …
#define WLCORE_QUIRK_NO_SCHED_SCAN_WHILE_CONN …
#define WLCORE_QUIRK_DUAL_PROBE_TMPL …
#define WLCORE_QUIRK_REGDOMAIN_CONF …
#define WLCORE_QUIRK_AP_ZERO_SESSION_ID …
#define HW_ACCESS_ELP_CTRL_REG …
#define ELPCTRL_WAKE_UP …
#define ELPCTRL_WAKE_UP_WLAN_READY …
#define ELPCTRL_SLEEP …
#define ELPCTRL_WLAN_READY …
#define INTR_TRIG_TX_PROC0 …
#define INTR_TRIG_RX_PROC0 …
#define INTR_TRIG_DEBUG_ACK …
#define INTR_TRIG_STATE_CHANGED …
#define INTR_TRIG_RX_PROC1 …
#define INTR_TRIG_TX_PROC1 …
#define ACX_SLV_SOFT_RESET_BIT …
#define SOFT_RESET_MAX_TIME …
#define SOFT_RESET_STALL_TIME …
#define ECPU_CONTROL_HALT …
#define WELP_ARM_COMMAND_VAL …
#endif