blob: b3d689d3c74cf8c25c8db21db9ccec41e14798a5 [file] [log] [blame]
Jeff Johnson295189b2012-06-20 16:38:30 -07001/*
Jeff Johnson32d95a32012-09-10 13:15:23 -07002 * Copyright (c) 2012, The Linux Foundation. All rights reserved.
Jeff Johnson295189b2012-06-20 16:38:30 -07003 *
4 * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
5 *
6 *
7 * Permission to use, copy, modify, and/or distribute this software for
8 * any purpose with or without fee is hereby granted, provided that the
9 * above copyright notice and this permission notice appear in all
10 * copies.
11 *
12 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
13 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
14 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
15 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
16 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
17 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
18 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19 * PERFORMANCE OF THIS SOFTWARE.
20 */
21
22/*
23 *
24 * Airgo Networks, Inc proprietary. All rights reserved.
25 * This is the private header file for CFG module.
26 *
27 * Author: Kevin Nguyen
28 * Date: 03/20/02
29 * History:-
30 * 03/20/02 Created.
31 * --------------------------------------------------------------------
32 *
33 */
34
35#ifndef __CFGDEF_H
36#define __CFGDEF_H
37
38/*
39 * CFG Control Flag definitions
40 */
41#define CFG_CTL_VALID 0x00010000
42#define CFG_CTL_RE 0x00020000
43#define CFG_CTL_WE 0x00040000
44#define CFG_CTL_INT 0x00080000
45#define CFG_CTL_SAVE 0x00100000
46#define CFG_CTL_RESTART 0x00200000
47#define CFG_CTL_RELOAD 0x00400000
48#define CFG_CTL_NTF_PHY 0x00800000
49#define CFG_CTL_NTF_MAC 0x01000000
50#define CFG_CTL_NTF_LOG 0x02000000
51#define CFG_CTL_NTF_HAL 0x04000000
52#define CFG_CTL_NTF_DPH 0x08000000
53#define CFG_CTL_NTF_ARQ 0x10000000
54#define CFG_CTL_NTF_SCH 0x20000000
55#define CFG_CTL_NTF_LIM 0x40000000
56#define CFG_CTL_NTF_HDD 0x80000000
57#define CFG_CTL_NTF_MASK 0xFFE00000
58
59#define CFG_CTL_NTF_TFP CFG_CTL_NTF_MAC
60#define CFG_CTL_NTF_RHP CFG_CTL_NTF_MAC
61#define CFG_CTL_NTF_RFP CFG_CTL_NTF_MAC
62#define CFG_CTL_NTF_SP CFG_CTL_NTF_MAC
63#define CFG_CTL_NTF_HW (CFG_CTL_NTF_MAC | CFG_CTL_NTF_PHY)
64
65#define CFG_BUF_INDX_MASK 0x00000fff
66#define CFG_SEM_INDX_MASK 0x0000f000
67#define CFG_SEM_INDX_SHIFT 12
68
69
70#endif /* __CFGDEF_H */
71
72
73
74