Skip to content

Commit 51ece2c

Browse files
Philipp Hortmanngregkh
authored andcommitted
staging: rtl8723bs: Remove unused macros in rtw_mlme_ext.h
Remove unused macros. Signed-off-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/7178388b14033c24e9c6a3912a1cf19d342b9b22.1720245061.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 74e2787 commit 51ece2c

File tree

1 file changed

+0
-37
lines changed

1 file changed

+0
-37
lines changed

drivers/staging/rtl8723bs/include/rtw_mlme_ext.h

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -20,50 +20,18 @@
2020
/* define DISCONNECT_TO (3000) */
2121
#define ADDBA_TO (2000)
2222

23-
#define LINKED_TO (1) /* unit:2 sec, 1x2 =2 sec */
24-
2523
#define REAUTH_LIMIT (4)
2624
#define REASSOC_LIMIT (4)
27-
#define READDBA_LIMIT (2)
28-
29-
#define ROAMING_LIMIT 8
30-
/* define IOCMD_REG0 0x10250370 */
31-
/* define IOCMD_REG1 0x10250374 */
32-
/* define IOCMD_REG2 0x10250378 */
33-
34-
/* define FW_DYNAMIC_FUN_SWITCH 0x10250364 */
35-
36-
/* define WRITE_BB_CMD 0xF0000001 */
37-
/* define SET_CHANNEL_CMD 0xF3000000 */
38-
/* define UPDATE_RA_CMD 0xFD0000A2 */
3925

4026
#define DYNAMIC_FUNC_DISABLE (0x0)
4127

4228
/* ====== ODM_ABILITY_E ======== */
4329
/* BB ODM section BIT 0-15 */
4430
#define DYNAMIC_BB_DIG BIT0 /* ODM_BB_DIG */
45-
#define DYNAMIC_BB_RA_MASK BIT1 /* ODM_BB_RA_MASK */
4631
#define DYNAMIC_BB_DYNAMIC_TXPWR BIT2 /* ODM_BB_DYNAMIC_TXPWR */
47-
#define DYNAMIC_BB_BB_FA_CNT BIT3 /* ODM_BB_FA_CNT */
48-
#define DYNAMIC_BB_RSSI_MONITOR BIT4 /* ODM_BB_RSSI_MONITOR */
49-
#define DYNAMIC_BB_CCK_PD BIT5 /* ODM_BB_CCK_PD */
5032
#define DYNAMIC_BB_ANT_DIV BIT6 /* ODM_BB_ANT_DIV */
51-
#define DYNAMIC_BB_PWR_SAVE BIT7 /* ODM_BB_PWR_SAVE */
52-
#define DYNAMIC_BB_PWR_TRAIN BIT8 /* ODM_BB_PWR_TRAIN */
53-
#define DYNAMIC_BB_RATE_ADAPTIVE BIT9 /* ODM_BB_RATE_ADAPTIVE */
54-
#define DYNAMIC_BB_PATH_DIV BIT10/* ODM_BB_PATH_DIV */
55-
#define DYNAMIC_BB_PSD BIT11/* ODM_BB_PSD */
56-
#define DYNAMIC_BB_RXHP BIT12/* ODM_BB_RXHP */
57-
#define DYNAMIC_BB_ADAPTIVITY BIT13/* ODM_BB_ADAPTIVITY */
58-
#define DYNAMIC_BB_DYNAMIC_ATC BIT14/* ODM_BB_DYNAMIC_ATC */
59-
60-
/* MAC DM section BIT 16-23 */
61-
#define DYNAMIC_MAC_EDCA_TURBO BIT16/* ODM_MAC_EDCA_TURBO */
62-
#define DYNAMIC_MAC_EARLY_MODE BIT17/* ODM_MAC_EARLY_MODE */
6333

6434
/* RF ODM section BIT 24-31 */
65-
#define DYNAMIC_RF_TX_PWR_TRACK BIT24/* ODM_RF_TX_PWR_TRACK */
66-
#define DYNAMIC_RF_RX_GAIN_TRACK BIT25/* ODM_RF_RX_GAIN_TRACK */
6735
#define DYNAMIC_RF_CALIBRATION BIT26/* ODM_RF_CALIBRATION */
6836

6937
#define DYNAMIC_ALL_FUNC_ENABLE 0xFFFFFFF
@@ -91,11 +59,6 @@
9159
MCS rate definitions
9260
*********************************************************/
9361
#define MCS_RATE_1R (0x000000ff)
94-
#define MCS_RATE_2R (0x0000ffff)
95-
#define MCS_RATE_3R (0x00ffffff)
96-
#define MCS_RATE_4R (0xffffffff)
97-
#define MCS_RATE_2R_13TO15_OFF (0x00001fff)
98-
9962

10063
extern unsigned char RTW_WPA_OUI[];
10164
extern unsigned char WMM_OUI[];

0 commit comments

Comments
 (0)