blob: 6239538ebceca9719cb30ac96b580c7a77f503fd [file] [log] [blame]
Prakash Dhavali7090c5f2015-11-02 17:55:19 -08001/*
2 * Copyright (c) 2011-2012, 2014 The Linux Foundation. All rights reserved.
3 *
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 * This file was originally distributed by Qualcomm Atheros, Inc.
24 * under proprietary terms before Copyright ownership was assigned
25 * to the Linux Foundation.
26 */
27
28/*
29 *
30 * This is the private header file for CFG module.
31 *
32 * Author: Kevin Nguyen
33 * Date: 03/20/02
34 * History:-
35 * 03/20/02 Created.
36 * --------------------------------------------------------------------
37 *
38 */
39
40#ifndef __CFGDEF_H
41#define __CFGDEF_H
42
43/*
44 * CFG Control Flag definitions
45 */
46#define CFG_CTL_VALID 0x00010000
47#define CFG_CTL_RE 0x00020000
48#define CFG_CTL_WE 0x00040000
49#define CFG_CTL_INT 0x00080000
50#define CFG_CTL_SAVE 0x00100000
51#define CFG_CTL_RESTART 0x00200000
52#define CFG_CTL_RELOAD 0x00400000
53#define CFG_CTL_NTF_PHY 0x00800000
54#define CFG_CTL_NTF_MAC 0x01000000
55#define CFG_CTL_NTF_LOG 0x02000000
56#define CFG_CTL_NTF_HAL 0x04000000
57#define CFG_CTL_NTF_DPH 0x08000000
58#define CFG_CTL_NTF_ARQ 0x10000000
59#define CFG_CTL_NTF_SCH 0x20000000
60#define CFG_CTL_NTF_LIM 0x40000000
61#define CFG_CTL_NTF_HDD 0x80000000
62#define CFG_CTL_NTF_MASK 0xFFE00000
63
64#define CFG_CTL_NTF_TFP CFG_CTL_NTF_MAC
65#define CFG_CTL_NTF_RHP CFG_CTL_NTF_MAC
66#define CFG_CTL_NTF_RFP CFG_CTL_NTF_MAC
67#define CFG_CTL_NTF_SP CFG_CTL_NTF_MAC
68#define CFG_CTL_NTF_HW (CFG_CTL_NTF_MAC | CFG_CTL_NTF_PHY)
69
70#define CFG_BUF_INDX_MASK 0x00000fff
71
72#endif /* __CFGDEF_H */