1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
3  *
4  * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
5  *
6  ******************************************************************************/
7 #ifndef __RTL8712_SECURITY_BITDEF_H__
8 #define __RTL8712_SECURITY_BITDEF_H__
9 
10 /*CAMCMD*/
11 #define	_SECCAM_POLLING				BIT(31)
12 #define	_SECCAM_CLR					BIT(30)
13 #define	_SECCAM_WE					BIT(16)
14 #define	_SECCAM_ADR_MSK				0x000000FF
15 #define	_SECCAM_ADR_SHT				0
16 
17 /*CAMDBG*/
18 #define	_SECCAM_INFO				BIT(31)
19 #define	_SEC_KEYFOUND				BIT(30)
20 #define	_SEC_CONFIG_MSK				0x3F000000
21 #define	_SEC_CONFIG_SHT				24
22 #define	_SEC_KEYCONTENT_MSK			0x00FFFFFF
23 #define	_SEC_KEYCONTENT_SHT			0
24 
25 /*SECCFG*/
26 #define	_NOSKMC						BIT(5)
27 #define	_SKBYA2						BIT(4)
28 #define	_RXDEC						BIT(3)
29 #define	_TXENC						BIT(2)
30 #define	_RXUSEDK					BIT(1)
31 #define	_TXUSEDK					BIT(0)
32 
33 #endif	/*__RTL8712_SECURITY_BITDEF_H__*/
34 
35