linux/drivers/staging/rtl8712/rtl8712_cmdctrl_bitdef.h

/* SPDX-License-Identifier: GPL-2.0 */
/******************************************************************************
 *
 * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
 *
 ******************************************************************************/
#ifndef __RTL8712_CMDCTRL_BITDEF_H__
#define __RTL8712_CMDCTRL_BITDEF_H__

/*
 * 2. Command Control Registers	 (Offset: 0x0040 - 0x004F)
 */
/*--------------------------------------------------------------------------*/
/*       8192S (CMD) command register bits	(Offset 0x40, 16 bits)*/
/*--------------------------------------------------------------------------*/
#define _APSDOFF_STATUS
#define _APSDOFF
#define _BBRSTn
#define _BB_GLB_RSTn
#define _SCHEDULE_EN
#define _MACRXEN
#define _MACTXEN
#define _DDMA_EN
#define _FW2HW_EN
#define _RXDMA_EN
#define _TXDMA_EN
#define _HCI_RXDMA_EN
#define _HCI_TXDMA_EN

/*TXPAUSE*/
#define _STOPHCCA
#define _STOPHIGH
#define _STOPMGT
#define _STOPVO
#define _STOPVI
#define _STOPBE
#define _STOPBK

/*TCR*/
#define _DISCW
#define _ICV
#define _CFEND_FMT
#define _CRC
#define _FWRDY
#define _BASECHG
#define _IMEM_RDY
#define _DMEM_CODE_DONE
#define _EMEM_CHK_RPT
#define _EMEM_CODE_DONE
#define _IMEM_CHK_RPT
#define _IMEM_CODE_DONE

#define _TXDMA_INIT_VALUE

/*RCR*/
#define _ENMBID
#define _APP_PHYST_RXFF
#define _APP_PHYST_STAFF
#define _CBSSID
#define _APWRMGT
#define _ADD3
#define _AMF
#define _ACF
#define _ADF
#define _APP_MIC
#define _APP_ICV
#define _RXFTH_MSK
#define _RXFTH_SHT
#define _AICV
#define _RXPKTLMT_MSK
#define _RXPKTLMT_SHT
#define _ACRC32
#define _AB
#define _AM
#define _APM
#define _AAP

/*MSR*/
#define _NETTYPE_MSK
#define _NETTYPE_SHT

/*BT*/
#define _BTMODE_MSK
#define _BTMODE_SHT
#define _ENBT

/*MBIDCTRL*/
#define _ENMBID_MODE
#define _BCNNO_MSK
#define _BCNNO_SHT
#define _BCNSPACE_MSK
#define _BCNSPACE_SHT

#endif /* __RTL8712_CMDCTRL_BITDEF_H__*/