linux/drivers/staging/vt6656/rf.h

/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
 * All rights reserved.
 *
 * Purpose:
 *
 * Author: Jerry Chen
 *
 * Date: Feb. 19, 2004
 *
 */

#ifndef __RF_H__
#define __RF_H__

#include "device.h"

/* Baseband RF pair definition in eeprom (Bits 6..0) */
#define RF_RFMD2959
#define RF_MAXIMAG
#define RF_AL2230
#define RF_GCT5103
#define RF_UW2451
#define RF_MAXIMG
#define RF_MAXIM2829
#define RF_UW2452
#define RF_VT3226
#define RF_AIROHA7230
#define RF_UW2453
#define RF_VT3226D0
#define RF_VT3342A0
#define RF_AL2230S

#define RF_EMU
#define RF_MASK

#define VNT_RF_MAX_POWER
#define VNT_RF_REG_LEN

int vnt_rf_write_embedded(struct vnt_private *priv, u32 data);
int vnt_rf_setpower(struct vnt_private *priv, struct ieee80211_channel *ch);
void vnt_rf_rssi_to_dbm(struct vnt_private *priv, u8 rssi, long *dbm);
int vnt_rf_table_download(struct vnt_private *priv);

#endif /* __RF_H__ */