#include <linux/errno.h>
#include "mac.h"
#include "rf.h"
#include "baseband.h"
#include "usbpipe.h"
#define CB_AL2230_INIT_SEQ …
#define CB_AL7230_INIT_SEQ …
#define CB_VT3226_INIT_SEQ …
#define CB_VT3342_INIT_SEQ …
static u8 al2230_init_table[CB_AL2230_INIT_SEQ][3] = …;
static u8 al2230_channel_table0[CB_MAX_CHANNEL_24G][3] = …;
static u8 al2230_channel_table1[CB_MAX_CHANNEL_24G][3] = …;
static u8 vt3226_init_table[CB_VT3226_INIT_SEQ][3] = …;
static u8 vt3226d0_init_table[CB_VT3226_INIT_SEQ][3] = …;
static u8 vt3226_channel_table0[CB_MAX_CHANNEL_24G][3] = …;
static u8 vt3226_channel_table1[CB_MAX_CHANNEL_24G][3] = …;
static const u32 vt3226d0_lo_current_table[CB_MAX_CHANNEL_24G] = …;
enum { … };
struct vnt_table_info { … };
static const struct vnt_table_info vnt_table_seq[][3] = …;
int vnt_rf_write_embedded(struct vnt_private *priv, u32 data)
{ … }
static u8 vnt_rf_addpower(struct vnt_private *priv)
{ … }
static int vnt_rf_set_txpower(struct vnt_private *priv, u8 power,
struct ieee80211_channel *ch)
{ … }
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)
{ … }