dm snapshot: only take lock for statustype info not table
[wandboard.git] / drivers / staging / vt6656 / rf.h
blob55d882f78f201eac484f0b6350b252a2e0e463cb
1 /*
2 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
3 * All rights reserved.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 * File: rf.h
22 * Purpose:
24 * Author: Jerry Chen
26 * Date: Feb. 19, 2004
30 #ifndef __RF_H__
31 #define __RF_H__
33 #include "ttype.h"
34 #include "device.h"
36 /*--------------------- Export Definitions -------------------------*/
38 // Baseband RF pair definition in eeprom (Bits 6..0)
40 #define RF_RFMD2959 0x01
41 #define RF_MAXIMAG 0x02
42 #define RF_AL2230 0x03
43 #define RF_GCT5103 0x04
44 #define RF_UW2451 0x05
45 #define RF_MAXIMG 0x06
46 #define RF_MAXIM2829 0x07
47 #define RF_UW2452 0x08
48 #define RF_VT3226 0x09
49 #define RF_AIROHA7230 0x0a
50 #define RF_UW2453 0x0b
51 #define RF_VT3226D0 0x0c //RobertYu:20051114
52 #define RF_VT3342A0 0x0d //RobertYu:20060609
53 #define RF_AL2230S 0x0e
55 #define RF_EMU 0x80
56 #define RF_MASK 0x7F
60 /*--------------------- Export Classes ----------------------------*/
62 /*--------------------- Export Variables --------------------------*/
63 extern const BYTE RFaby11aChannelIndex[200];
64 /*--------------------- Export Functions --------------------------*/
66 BOOL IFRFbWriteEmbeded(PSDevice pDevice, DWORD dwData);
67 BOOL RFbSetPower (
68 IN PSDevice pDevice,
69 IN UINT uRATE,
70 IN UINT uCH
73 BOOL RFbRawSetPower(
74 IN PSDevice pDevice,
75 IN BYTE byPwr,
76 IN UINT uRATE
79 VOID
80 RFvRSSITodBm (
81 IN PSDevice pDevice,
82 IN BYTE byCurrRSSI,
83 long * pldBm
86 VOID
87 RFbRFTableDownload (
88 IN PSDevice pDevice
91 BOOL s_bVT3226D0_11bLoCurrentAdjust(
92 IN PSDevice pDevice,
93 IN BYTE byChannel,
94 IN BOOL b11bMode
97 #endif // __RF_H__