| 1 |
/* SPDX-License-Identifier: GPL-2.0 */ |
| 2 |
/***************************************************************************** |
| 3 |
*Copyright(c) 2009, RealTEK Technology Inc. All Right Reserved. |
| 4 |
* |
| 5 |
* Module: __INC_HAL8723BREG_H |
| 6 |
* |
| 7 |
* |
| 8 |
* Note: 1. Define Mac register address and corresponding bit mask map |
| 9 |
* |
| 10 |
* |
| 11 |
* Export: Constants, macro, functions(API), global variables(None). |
| 12 |
* |
| 13 |
* Abbrev: |
| 14 |
* |
| 15 |
* History: |
| 16 |
* Data Who Remark |
| 17 |
* |
| 18 |
*****************************************************************************/ |
| 19 |
#ifndef __INC_HAL8723BREG_H |
| 20 |
#define __INC_HAL8723BREG_H |
| 21 |
|
| 22 |
/* */ |
| 23 |
/* */ |
| 24 |
/* 0x0100h ~ 0x01FFh MACTOP General Configuration */ |
| 25 |
/* */ |
| 26 |
/* */ |
| 27 |
#define REG_C2HEVT_CMD_SEQ_88XX 0x01A1 |
| 28 |
#define REG_C2HEVT_CMD_LEN_88XX 0x01AE |
| 29 |
|
| 30 |
/* */ |
| 31 |
/* */ |
| 32 |
/* 0x0200h ~ 0x027Fh TXDMA Configuration */ |
| 33 |
/* */ |
| 34 |
/* */ |
| 35 |
#define REG_DWBCN1_CTRL_8723B 0x0228 |
| 36 |
|
| 37 |
/* spec version 11 */ |
| 38 |
/* */ |
| 39 |
/* */ |
| 40 |
/* 0x0400h ~ 0x047Fh Protocol Configuration */ |
| 41 |
/* */ |
| 42 |
/* */ |
| 43 |
#define REG_FWHW_TXQ_CTRL_8723B 0x0420 |
| 44 |
#define REG_ARFR0_8723B 0x0444 |
| 45 |
#define REG_ARFR1_8723B 0x044C |
| 46 |
#define REG_CCK_CHECK_8723B 0x0454 |
| 47 |
#define REG_AMPDU_MAX_TIME_8723B 0x0456 |
| 48 |
|
| 49 |
#define REG_AMPDU_MAX_LENGTH_8723B 0x0458 |
| 50 |
#define REG_DATA_SC_8723B 0x0483 |
| 51 |
#define REG_MAX_AGGR_NUM_8723B 0x04CA |
| 52 |
|
| 53 |
/* */ |
| 54 |
/* */ |
| 55 |
/* 0x0500h ~ 0x05FFh EDCA Configuration */ |
| 56 |
/* */ |
| 57 |
/* */ |
| 58 |
#define REG_PIFS_8723B 0x0512 |
| 59 |
|
| 60 |
/* 0x0600h ~ 0x07FFh WMAC Configuration */ |
| 61 |
#define REG_RX_PKT_LIMIT_8723B 0x060C |
| 62 |
|
| 63 |
#define REG_TRXPTCL_CTL_8723B 0x0668 |
| 64 |
|
| 65 |
#endif /* #ifndef __INC_HAL8723BREG_H */ |