Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(615)

Side by Side Diff: chromeos/drivers/ath6kl/include/ini_dset.h

Issue 646055: Atheros AR600x driver + build glue (Closed)
Patch Set: Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 //------------------------------------------------------------------------------
2 // <copyright file="ini_dset.h" company="Atheros">
3 // Copyright (c) 2004-2007 Atheros Corporation. All rights reserved.
4 //
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License version 2 as
7 // published by the Free Software Foundation;
8 //
9 // Software distributed under the License is distributed on an "AS
10 // IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
11 // implied. See the License for the specific language governing
12 // rights and limitations under the License.
13 //
14 //
15 //------------------------------------------------------------------------------
16 //==============================================================================
17 // Author(s): ="Atheros"
18 //==============================================================================
19
20 #ifndef _INI_DSET_H_
21 #define _INI_DSET_H_
22
23 /*
24 * Each of these represents a WHAL INI table, which consists
25 * of an "address column" followed by 1 or more "value columns".
26 *
27 * Software uses the base WHAL_INI_DATA_ID+column to access a
28 * DataSet that holds a particular column of data.
29 */
30 typedef enum {
31 #if defined(AR6002_REV4) || defined(AR6003)
32 /* Add these definitions for compatability */
33 #define WHAL_INI_DATA_ID_BB_RFGAIN_LNA1 WHAL_INI_DATA_ID_BB_RFGAIN
34 #define WHAL_INI_DATA_ID_BB_RFGAIN_LNA2 WHAL_INI_DATA_ID_BB_RFGAIN
35 WHAL_INI_DATA_ID_NULL =0,
36 WHAL_INI_DATA_ID_MODE_SPECIFIC =1, /* 2,3,4,5 */
37 WHAL_INI_DATA_ID_COMMON =6, /* 7 */
38 WHAL_INI_DATA_ID_BB_RFGAIN =8, /* 9,10 */
39 #ifdef FPGA
40 WHAL_INI_DATA_ID_ANALOG_BANK0 =11, /* 12 */
41 WHAL_INI_DATA_ID_ANALOG_BANK1 =13, /* 14 */
42 WHAL_INI_DATA_ID_ANALOG_BANK2 =15, /* 16 */
43 WHAL_INI_DATA_ID_ANALOG_BANK3 =17, /* 18, 19 */
44 WHAL_INI_DATA_ID_ANALOG_BANK6 =20, /* 21,22 */
45 WHAL_INI_DATA_ID_ANALOG_BANK7 =23, /* 24 */
46 WHAL_INI_DATA_ID_ADDAC =25, /* 26 */
47 #else
48 WHAL_INI_DATA_ID_ANALOG_COMMON =11, /* 12 */
49 WHAL_INI_DATA_ID_ANALOG_MODE_SPECIFIC=13, /* 14,15 */
50 WHAL_INI_DATA_ID_ANALOG_BANK6 =16, /* 17,18 */
51 WHAL_INI_DATA_ID_MODE_OVERRIDES =19, /* 20,21,22,23 */
52 WHAL_INI_DATA_ID_COMMON_OVERRIDES =24, /* 25 */
53 WHAL_INI_DATA_ID_ANALOG_OVERRIDES =26, /* 27,28 */
54 #endif /* FPGA */
55 #else
56 WHAL_INI_DATA_ID_NULL =0,
57 WHAL_INI_DATA_ID_MODE_SPECIFIC =1, /* 2,3 */
58 WHAL_INI_DATA_ID_COMMON =4, /* 5 */
59 WHAL_INI_DATA_ID_BB_RFGAIN =6, /* 7,8 */
60 #define WHAL_INI_DATA_ID_BB_RFGAIN_LNA1 WHAL_INI_DATA_ID_BB_RFGAIN
61 WHAL_INI_DATA_ID_ANALOG_BANK1 =9, /* 10 */
62 WHAL_INI_DATA_ID_ANALOG_BANK2 =11, /* 12 */
63 WHAL_INI_DATA_ID_ANALOG_BANK3 =13, /* 14, 15 */
64 WHAL_INI_DATA_ID_ANALOG_BANK6 =16, /* 17, 18 */
65 WHAL_INI_DATA_ID_ANALOG_BANK7 =19, /* 20 */
66 WHAL_INI_DATA_ID_MODE_OVERRIDES =21, /* 22,23 */
67 WHAL_INI_DATA_ID_COMMON_OVERRIDES =24, /* 25 */
68 WHAL_INI_DATA_ID_ANALOG_OVERRIDES =26, /* 27,28 */
69 WHAL_INI_DATA_ID_BB_RFGAIN_LNA2 =29, /* 30,31 */
70 #endif
71 WHAL_INI_DATA_ID_MAX =31
72 } WHAL_INI_DATA_ID;
73
74 typedef PREPACK struct {
75 A_UINT16 freqIndex; // 1 - A mode 2 - B or G mode 0 - common
76 A_UINT16 offset;
77 A_UINT32 newValue;
78 } POSTPACK INI_DSET_REG_OVERRIDE;
79
80 #endif
OLDNEW
« no previous file with comments | « chromeos/drivers/ath6kl/include/htc_services.h ('k') | chromeos/drivers/ath6kl/include/pkt_log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698