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

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * This file is part of wl1251
 *
 * Copyright (c) 1998-2007 Texas Instruments Incorporated
 * Copyright (C) 2008-2009 Nokia Corporation
 */

#ifndef __WL1251_H__
#define __WL1251_H__

#include <linux/mutex.h>
#include <linux/list.h>
#include <linux/bitops.h>
#include <net/mac80211.h>

#define DRIVER_NAME
#define DRIVER_PREFIX

enum {};

#define DEBUG_LEVEL

#define DEBUG_DUMP_LIMIT

#define wl1251_error(fmt, arg...)

#define wl1251_warning(fmt, arg...)

#define wl1251_notice(fmt, arg...)

#define wl1251_info(fmt, arg...)

#define wl1251_debug(level, fmt, arg...)

#define wl1251_dump(level, prefix, buf, len)

#define wl1251_dump_ascii(level, prefix, buf, len)

#define WL1251_DEFAULT_RX_CONFIG

#define WL1251_DEFAULT_RX_FILTER

#define WL1251_BUSY_WORD_LEN

struct boot_attr {};

enum wl1251_state {};

enum wl1251_partition_type {};

enum wl1251_station_mode {};

struct wl1251_partition {};

struct wl1251_partition_set {};

struct wl1251;

struct wl1251_stats {};

struct wl1251_debugfs {};

struct wl1251_if_operations {};

struct wl1251 {};

int wl1251_plt_start(struct wl1251 *wl);
int wl1251_plt_stop(struct wl1251 *wl);

struct ieee80211_hw *wl1251_alloc_hw(void);
int wl1251_free_hw(struct wl1251 *wl);
int wl1251_init_ieee80211(struct wl1251 *wl);
void wl1251_enable_interrupts(struct wl1251 *wl);
void wl1251_disable_interrupts(struct wl1251 *wl);

#define DEFAULT_HW_GEN_MODULATION_TYPE
#define DEFAULT_HW_GEN_TX_RATE
#define JOIN_TIMEOUT

#define WL1251_DEFAULT_POWER_LEVEL

#define WL1251_TX_QUEUE_LOW_WATERMARK
#define WL1251_TX_QUEUE_HIGH_WATERMARK

#define WL1251_DEFAULT_BEACON_INT
#define WL1251_DEFAULT_DTIM_PERIOD

#define WL1251_DEFAULT_CHANNEL

#define WL1251_DEFAULT_BET_CONSECUTIVE

#define CHIP_ID_1251_PG10
#define CHIP_ID_1251_PG11
#define CHIP_ID_1251_PG12
#define CHIP_ID_1271_PG10
#define CHIP_ID_1271_PG20

#define WL1251_FW_NAME
#define WL1251_NVS_NAME

#define WL1251_POWER_ON_SLEEP

#define WL1251_PART_DOWN_MEM_START
#define WL1251_PART_DOWN_MEM_SIZE
#define WL1251_PART_DOWN_REG_START
#define WL1251_PART_DOWN_REG_SIZE

#define WL1251_PART_WORK_MEM_START
#define WL1251_PART_WORK_MEM_SIZE
#define WL1251_PART_WORK_REG_START
#define WL1251_PART_WORK_REG_SIZE

#define WL1251_DEFAULT_LOW_RSSI_WEIGHT
#define WL1251_DEFAULT_LOW_RSSI_DEPTH

#endif