linux/drivers/net/wireless/marvell/mwifiex/decl.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * NXP Wireless LAN device driver: generic data structures and APIs
 *
 * Copyright 2011-2020 NXP
 */

#ifndef _MWIFIEX_DECL_H_
#define _MWIFIEX_DECL_H_

#undef pr_fmt
#define pr_fmt(fmt)

#include <linux/wait.h>
#include <linux/timer.h>
#include <linux/ieee80211.h>
#include <uapi/linux/if_arp.h>
#include <net/cfg80211.h>

#define MWIFIEX_BSS_COEX_COUNT
#define MWIFIEX_MAX_BSS_NUM

#define MWIFIEX_DMA_ALIGN_SZ
#define MWIFIEX_RX_HEADROOM
#define MAX_TXPD_SZ
#define INTF_HDR_ALIGN

#define MWIFIEX_MIN_DATA_HEADER_LEN
#define MWIFIEX_MGMT_FRAME_HEADER_SIZE

#define MWIFIEX_MAX_TX_BASTREAM_SUPPORTED
#define MWIFIEX_MAX_RX_BASTREAM_SUPPORTED
#define MWIFIEX_MAX_TDLS_PEER_SUPPORTED

#define MWIFIEX_STA_AMPDU_DEF_TXWINSIZE
#define MWIFIEX_STA_AMPDU_DEF_RXWINSIZE
#define MWIFIEX_STA_COEX_AMPDU_DEF_RXWINSIZE

#define MWIFIEX_UAP_AMPDU_DEF_TXWINSIZE

#define MWIFIEX_UAP_COEX_AMPDU_DEF_RXWINSIZE

#define MWIFIEX_UAP_AMPDU_DEF_RXWINSIZE
#define MWIFIEX_11AC_STA_AMPDU_DEF_TXWINSIZE
#define MWIFIEX_11AC_STA_AMPDU_DEF_RXWINSIZE
#define MWIFIEX_11AC_UAP_AMPDU_DEF_TXWINSIZE
#define MWIFIEX_11AC_UAP_AMPDU_DEF_RXWINSIZE

#define MWIFIEX_DEFAULT_BLOCK_ACK_TIMEOUT

#define MWIFIEX_RATE_BITMAP_MCS0

#define MWIFIEX_RX_DATA_BUF_SIZE
#define MWIFIEX_RX_CMD_BUF_SIZE

#define MAX_BEACON_PERIOD
#define MIN_BEACON_PERIOD
#define MAX_DTIM_PERIOD
#define MIN_DTIM_PERIOD

#define MWIFIEX_RTS_MIN_VALUE
#define MWIFIEX_RTS_MAX_VALUE
#define MWIFIEX_FRAG_MIN_VALUE
#define MWIFIEX_FRAG_MAX_VALUE
#define MWIFIEX_WMM_VERSION
#define MWIFIEX_WMM_SUBTYPE

#define MWIFIEX_RETRY_LIMIT
#define MWIFIEX_SDIO_BLOCK_SIZE

#define MWIFIEX_BUF_FLAG_REQUEUED_PKT
#define MWIFIEX_BUF_FLAG_BRIDGED_PKT
#define MWIFIEX_BUF_FLAG_TDLS_PKT
#define MWIFIEX_BUF_FLAG_EAPOL_TX_STATUS
#define MWIFIEX_BUF_FLAG_ACTION_TX_STATUS
#define MWIFIEX_BUF_FLAG_AGGR_PKT

#define MWIFIEX_BRIDGED_PKTS_THR_HIGH
#define MWIFIEX_BRIDGED_PKTS_THR_LOW

#define MWIFIEX_TDLS_DISABLE_LINK
#define MWIFIEX_TDLS_ENABLE_LINK
#define MWIFIEX_TDLS_CREATE_LINK
#define MWIFIEX_TDLS_CONFIG_LINK

#define MWIFIEX_TDLS_RSSI_HIGH
#define MWIFIEX_TDLS_RSSI_LOW
#define MWIFIEX_TDLS_MAX_FAIL_COUNT
#define MWIFIEX_AUTO_TDLS_IDLE_TIME

/* 54M rates, index from 0 to 11 */
#define MWIFIEX_RATE_INDEX_MCS0
/* 12-27=MCS0-15(BW20) */
#define MWIFIEX_BW20_MCS_NUM

/* Rate index for OFDM 0 */
#define MWIFIEX_RATE_INDEX_OFDM0

#define MWIFIEX_MAX_STA_NUM
#define MWIFIEX_MAX_UAP_NUM
#define MWIFIEX_MAX_P2P_NUM

#define MWIFIEX_A_BAND_START_FREQ

/* SDIO Aggr data packet special info */
#define SDIO_MAX_AGGR_BUF_SIZE
#define BLOCK_NUMBER_OFFSET
#define SDIO_HEADER_OFFSET

#define MWIFIEX_SIZE_4K

enum mwifiex_bss_type {};

enum mwifiex_bss_role {};

enum mwifiex_tdls_status {};

enum mwifiex_tdls_error_code {};

#define BSS_ROLE_BIT_MASK

#define GET_BSS_ROLE(priv)

enum mwifiex_data_frame_type {};

struct mwifiex_fw_image {};

struct mwifiex_802_11_ssid {};

struct mwifiex_wait_queue {};

struct mwifiex_rxinfo {};

struct mwifiex_txinfo {};

enum mwifiex_wmm_ac_e {} __packed;

struct ieee_types_wmm_ac_parameters {} __packed;

struct mwifiex_types_wmm_info {} __packed;

struct mwifiex_arp_eth_header {} __packed;

struct mwifiex_chan_stats {} __packed;

#define MWIFIEX_HIST_MAX_SAMPLES
#define MWIFIEX_MAX_RX_RATES
#define MWIFIEX_MAX_AC_RX_RATES
#define MWIFIEX_MAX_SNR
#define MWIFIEX_MAX_NOISE_FLR
#define MWIFIEX_MAX_SIG_STRENGTH

struct mwifiex_histogram_data {};

struct mwifiex_iface_comb {};

struct mwifiex_radar_params {} __packed;

struct mwifiex_11h_intf_state {} __packed;

#define MWIFIEX_FW_DUMP_IDX
#define MWIFIEX_FW_DUMP_MAX_MEMSIZE
#define MWIFIEX_DRV_INFO_IDX
#define FW_DUMP_MAX_NAME_LEN
#define FW_DUMP_HOST_READY
#define FW_DUMP_DONE
#define FW_DUMP_READ_DONE

struct memory_type_mapping {};

enum rdwr_status {};

enum mwifiex_chan_width {};

enum mwifiex_chan_offset {};

#endif /* !_MWIFIEX_DECL_H_ */