linux/drivers/net/wireless/ti/wl12xx/wl12xx.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * This file is part of wl12xx
 *
 * Copyright (C) 2011 Texas Instruments Inc.
 */

#ifndef __WL12XX_PRIV_H__
#define __WL12XX_PRIV_H__

#include "conf.h"

/* WiLink 6/7 chip IDs */
#define CHIP_ID_127X_PG10
#define CHIP_ID_127X_PG20
#define CHIP_ID_128X_PG10
#define CHIP_ID_128X_PG20

/* FW chip version for wl127x */
#define WL127X_CHIP_VER
/* minimum single-role FW version for wl127x */
#define WL127X_IFTYPE_SR_VER
#define WL127X_MAJOR_SR_VER
#define WL127X_SUBTYPE_SR_VER
#define WL127X_MINOR_SR_VER
/* minimum multi-role FW version for wl127x */
#define WL127X_IFTYPE_MR_VER
#define WL127X_MAJOR_MR_VER
#define WL127X_SUBTYPE_MR_VER
#define WL127X_MINOR_MR_VER

/* FW chip version for wl128x */
#define WL128X_CHIP_VER
/* minimum single-role FW version for wl128x */
#define WL128X_IFTYPE_SR_VER
#define WL128X_MAJOR_SR_VER
#define WL128X_SUBTYPE_SR_VER
#define WL128X_MINOR_SR_VER
/* minimum multi-role FW version for wl128x */
#define WL128X_IFTYPE_MR_VER
#define WL128X_MAJOR_MR_VER
#define WL128X_SUBTYPE_MR_VER
#define WL128X_MINOR_MR_VER

#define WL12XX_AGGR_BUFFER_SIZE

#define WL12XX_NUM_TX_DESCRIPTORS
#define WL12XX_NUM_RX_DESCRIPTORS

#define WL12XX_NUM_MAC_ADDRESSES

#define WL12XX_RX_BA_MAX_SESSIONS

#define WL12XX_MAX_AP_STATIONS
#define WL12XX_MAX_LINKS

struct wl127x_rx_mem_pool_addr {};

struct wl12xx_priv {};

/* Reference clock values */
enum {};

/* TCXO clock values */
enum {};

struct wl12xx_clock {};

struct wl12xx_fw_packet_counters {} __packed;

/* FW status registers */
struct wl12xx_fw_status {} __packed;

#endif /* __WL12XX_PRIV_H__ */