alistair23-linux/drivers/staging/rtl8712/rtl8712_ratectrl_bitdef.h
Michael Straube e24c1f8658 staging: rtl8712: add SPDX identifiers
This satisfies a checkpatch warning and is the preferred
method for notating the license.

The SPDX identifier is a legally binding shorthand, which
can be used instead of the full boiler plate text.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-10-03 11:36:09 -07:00

37 lines
914 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/******************************************************************************
*
* Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
*
******************************************************************************/
#ifndef __RTL8712_RATECTRL_BITDEF_H__
#define __RTL8712_RATECTRL_BITDEF_H__
/*INIRTSMCS_SEL*/
#define _INIRTSMCS_SEL_MSK 0x3F
/* RRSR*/
#define _RRSR_SHORT BIT(23)
#define _RRSR_RSC_MSK 0x600000
#define _RRSR_RSC_SHT 21
#define _RRSR_BITMAP_MSK 0x0FFFFF
#define _RRSR_BITMAP_SHT 0
/* AGGLEN_LMT_H*/
#define _AGGLMT_MCS32_MSK 0xF0
#define _AGGLMT_MCS32_SHT 4
#define _AGGLMT_MCS15_SGI_MSK 0x0F
#define _AGGLMT_MCS15_SGI_SHT 0
/* DARFRC*/
/* RARFRC*/
/* MCS_TXAGC*/
/* CCK_TXAGC*/
#define _CCK_MSK 0xFF00
#define _CCK_SHT 8
#define _BARKER_MSK 0x00FF
#define _BARKER_SHT 0
#endif /* __RTL8712_RATECTRL_BITDEF_H__*/