| /* SPDX-License-Identifier: GPL-2.0+ */ |
| * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc. |
| /* Baseband RF pair definition in eeprom (Bits 6..0) */ |
| #define RF_MAXIM2829 0x07 |
| #define RF_AIROHA7230 0x0a |
| #define RF_VT3226D0 0x0c /* RobertYu:20051114 */ |
| #define RF_VT3342A0 0x0d /* RobertYu:20060609 */ |
| #define VNT_RF_MAX_POWER 0x3f |
| #define VNT_RF_REG_LEN 0x17 /* 24 bit length */ |
| 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); |