linux-stable/drivers/staging/rtl8712/rtl8712_timectrl_bitdef.h
Larry Finger 2865d42c78 staging: r8712u: Add the new driver to the mainline kernel
This code is for a completely new version of the Realtek 8192 USB devices
such as the D-Link DWA-130. The Realtek code, which was originally for
Linux, Windows XP and Windows CE, has been stripped of all code not needed
for Linux. In addition, only one additional configuration variable, which
enables AP mode, remains.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com>
Tested-by: Frederic Leroy <fredo@starox.org>
2010-08-20 10:15:30 -05:00

44 lines
769 B
C

#ifndef __RTL8712_TIMECTRL_BITDEF_H__
#define __RTL8712_TIMECTRL_BITDEF_H__
/*TSFTR*/
/*SLOT*/
/*USTIME*/
/*TUBASE*/
#define _TUBASE_MSK 0x07FF
/*SIFS_CCK*/
#define _SIFS_CCK_TRX_MSK 0xFF00
#define _SIFS_CCK_TRX_SHT 0x8
#define _SIFS_CCK_CTX_MSK 0x00FF
#define _SIFS_CCK_CTX_SHT 0
/*SIFS_OFDM*/
#define _SIFS_OFDM_TRX_MSK 0xFF00
#define _SIFS_OFDM_TRX_SHT 0x8
#define _SIFS_OFDM_CTX_MSK 0x00FF
#define _SIFS_OFDM_CTX_SHT 0
/*PIFS*/
/*ACKTO*/
/*EIFS*/
/*BCNITV*/
/*ATIMWND*/
/*DRVERLYINT*/
#define _ENSWBCN BIT(15)
#define _DRVERLY_TU_MSK 0x0FF0
#define _DRVERLY_TU_SHT 4
#define _DRVERLY_US_MSK 0x000F
#define _DRVERLY_US_SHT 0
/*BCNDMATIM*/
#define _BCNDMATIM_MSK 0x03FF
/*BCNERRTH*/
/*MLT*/
#endif /* __RTL8712_TIMECTRL_BITDEF_H__*/