1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
21 /*--------------------- Export Definitions -------------------------*/
23 * Baseband RF pair definition in eeprom (Bits 6..0)
25 #define RF_RFMD2959 0x01
26 #define RF_MAXIMAG 0x02
27 #define RF_AIROHA 0x03
29 #define RF_UW2451 0x05
30 #define RF_MAXIMG 0x06
31 #define RF_MAXIM2829 0x07 /* RobertYu: 20041118 */
32 #define RF_UW2452 0x08 /* RobertYu: 20041210 */
33 #define RF_AIROHA7230 0x0a /* RobertYu: 20050104 */
34 #define RF_UW2453 0x0b
36 #define RF_VT3226 0x09
37 #define RF_AL2230S 0x0e
39 #define RF_NOTHING 0x7E
52 /* [20050104] CB_MAXIM2829_CHANNEL_5G_HIGH, CB_UW2452_CHANNEL_5G_HIGH: 40==>41 */
53 #define CB_MAXIM2829_CHANNEL_5G_HIGH 41 /* Index41: channel = 100, Tf = 5500MHz, set the (A3:A0=0101) D6=1 */
54 #define CB_UW2452_CHANNEL_5G_HIGH 41 /* [20041210] Index41: channel = 100, Tf = 5500MHz, change VCO2->VCO3 */
56 /*--------------------- Export Classes ----------------------------*/
58 /*--------------------- Export Variables --------------------------*/
60 /*--------------------- Export Functions --------------------------*/
62 bool IFRFbWriteEmbedded(struct vnt_private
*priv
, unsigned long dwData
);
63 bool RFbSelectChannel(struct vnt_private
*priv
, unsigned char byRFType
, u16 byChannel
);
65 struct vnt_private
*priv
67 bool RFvWriteWakeProgSyn(struct vnt_private
*priv
, unsigned char byRFType
, u16 uChannel
);
68 bool RFbSetPower(struct vnt_private
*priv
, unsigned int rate
, u16 uCH
);
70 struct vnt_private
*priv
,
77 struct vnt_private
*priv
,
78 unsigned char byCurrRSSI
,
82 /* {{ RobertYu: 20050104 */
83 bool RFbAL7230SelectChannelPostProcess(struct vnt_private
*priv
, u16 byOldChannel
, u16 byNewChannel
);