![Larry Finger](/assets/img/avatar_default.png)
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>
45 lines
769 B
C
45 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__*/
|
|
|