blob: 05dafa0c33330187207a88f610591477abaea2c1 [file] [log] [blame]
Ali Bahar0e54f602011-08-23 13:53:37 +08001/******************************************************************************
2 *
3 * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of version 2 of the GNU General Public License as
7 * published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
17 *
18 *
19 ******************************************************************************/
Larry Finger2865d422010-08-20 10:15:30 -050020#ifndef __RTL8712_SECURITY_BITDEF_H__
21#define __RTL8712_SECURITY_BITDEF_H__
22
23/*CAMCMD*/
24#define _SECCAM_POLLING BIT(31)
25#define _SECCAM_CLR BIT(30)
26#define _SECCAM_WE BIT(16)
27#define _SECCAM_ADR_MSK 0x000000FF
28#define _SECCAM_ADR_SHT 0
29
30/*CAMDBG*/
31#define _SECCAM_INFO BIT(31)
32#define _SEC_KEYFOUND BIT(30)
33#define _SEC_CONFIG_MSK 0x3F000000
34#define _SEC_CONFIG_SHT 24
35#define _SEC_KEYCONTENT_MSK 0x00FFFFFF
36#define _SEC_KEYCONTENT_SHT 0
37
38/*SECCFG*/
39#define _NOSKMC BIT(5)
40#define _SKBYA2 BIT(4)
41#define _RXDEC BIT(3)
42#define _TXENC BIT(2)
43#define _RXUSEDK BIT(1)
44#define _TXUSEDK BIT(0)
45
46
47#endif /*__RTL8712_SECURITY_BITDEF_H__*/
48