linux/drivers/staging/rtl8712/rtl8712_wmac_bitdef.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0 */
   2/******************************************************************************
   3 *
   4 * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
   5 *
   6 * Modifications for inclusion into the Linux staging tree are
   7 * Copyright(c) 2010 Larry Finger. All rights reserved.
   8 *
   9 * Contact information:
  10 * WLAN FAE <wlanfae@realtek.com>
  11 * Larry Finger <Larry.Finger@lwfinger.net>
  12 *
  13 ******************************************************************************/
  14#ifndef __RTL8712_WMAC_BITDEF_H__
  15#define __RTL8712_WMAC_BITDEF_H__
  16
  17/*NAVCTRL*/
  18#define _NAV_UPPER_EN                   BIT(18)
  19#define _NAV_MTO_EN                             BIT(17)
  20#define _NAV_UPPER                              BIT(16)
  21#define _NAV_MTO_MSK                    0xFF00
  22#define _NAV_MTO_SHT                    8
  23#define _RTSRST_MSK                             0x00FF
  24#define _RTSRST_SHT                             0
  25
  26/*BWOPMODE*/
  27#define _20MHZBW                                BIT(2)
  28
  29/*BACAMCMD*/
  30#define _BACAM_POLL                             BIT(31)
  31#define _BACAM_RST                              BIT(17)
  32#define _BACAM_RW                               BIT(16)
  33#define _BACAM_ADDR_MSK                 0x0000007F
  34#define _BACAM_ADDR_SHT                 0
  35
  36/*LBDLY*/
  37#define _LBDLY_MSK                              0x1F
  38
  39/*FWDLY*/
  40#define _FWDLY_MSK                              0x0F
  41
  42/*RXERR_RPT*/
  43#define _RXERR_RPT_SEL_MSK              0xF0000000
  44#define _RXERR_RPT_SEL_SHT              28
  45#define _RPT_CNT_MSK                    0x000FFFFF
  46#define _RPT_CNT_SHT                    0
  47
  48
  49#endif  /*__RTL8712_WMAC_BITDEF_H__*/
  50
  51