linux/drivers/staging/vt6655/device.h

/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
 * All rights reserved.
 *
 * Purpose: MAC Data structure
 *
 * Author: Tevin Chen
 *
 * Date: Mar 17, 1997
 *
 */

#ifndef __DEVICE_H__
#define __DEVICE_H__

#include <linux/module.h>
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/interrupt.h>
#include <linux/crc32.h>
#include <net/mac80211.h>

/* device specific */

#include "device_cfg.h"
#include "card.h"
#include "srom.h"
#include "desc.h"
#include "key.h"
#include "mac.h"

/*---------------------  Export Definitions -------------------------*/

#define RATE_1M
#define RATE_2M
#define RATE_5M
#define RATE_11M
#define RATE_6M
#define RATE_9M
#define RATE_12M
#define RATE_18M
#define RATE_24M
#define RATE_36M
#define RATE_48M
#define RATE_54M
#define MAX_RATE

#define AUTO_FB_NONE
#define AUTO_FB_0
#define AUTO_FB_1

#define FB_RATE0
#define FB_RATE1

/* Antenna Mode */
#define ANT_A
#define ANT_B
#define ANT_DIVERSITY
#define ANT_RXD_TXA
#define ANT_RXD_TXB
#define ANT_UNKNOWN

#define BB_VGA_LEVEL
#define BB_VGA_CHANGE_THRESHOLD

#define MAKE_BEACON_RESERVED

/* BUILD OBJ mode */

#define AVAIL_TD(p, q)

/* 0:11A 1:11B 2:11G */
#define BB_TYPE_11A
#define BB_TYPE_11B
#define BB_TYPE_11G

/* 0:11a, 1:11b, 2:11gb (only CCK in BasicRate), 3:11ga (OFDM in BasicRate) */
#define PK_TYPE_11A
#define PK_TYPE_11B
#define PK_TYPE_11GB
#define PK_TYPE_11GA

#define OWNED_BY_HOST
#define OWNED_BY_NIC

struct vnt_options {};

struct vnt_private {};

#endif