mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 05:39:42 -04:00
staging: rtl8723bs: remove typedefs in rtw_ht.h
This commit fixes the following checkpatch.pl warnings:
WARNING: do not add new typedefs
#40: FILE: include/rtw_ht.h:40:
+typedef enum AGGRE_SIZE {
WARNING: do not add new typedefs
#51: FILE: include/rtw_ht.h:51:
+typedef enum _RT_HT_INF0_CAP {
WARNING: do not add new typedefs
#62: FILE: include/rtw_ht.h:62:
+typedef enum _RT_HT_INF1_CAP {
Signed-off-by: Marco Cesati <marco.cesati@gmail.com>
Link: https://lore.kernel.org/r/20210312082638.25512-14-marco.cesati@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7fa19d064a
commit
8497bcd994
@@ -37,7 +37,7 @@ struct ht_priv {
|
||||
|
||||
};
|
||||
|
||||
typedef enum AGGRE_SIZE {
|
||||
enum AGGRE_SIZE_E {
|
||||
HT_AGG_SIZE_8K = 0,
|
||||
HT_AGG_SIZE_16K = 1,
|
||||
HT_AGG_SIZE_32K = 2,
|
||||
@@ -46,9 +46,9 @@ typedef enum AGGRE_SIZE {
|
||||
VHT_AGG_SIZE_256K = 5,
|
||||
VHT_AGG_SIZE_512K = 6,
|
||||
VHT_AGG_SIZE_1024K = 7,
|
||||
} AGGRE_SIZE_E, *PAGGRE_SIZE_E;
|
||||
};
|
||||
|
||||
typedef enum _RT_HT_INF0_CAP {
|
||||
enum RT_HT_INF0_CAPBILITY {
|
||||
RT_HT_CAP_USE_TURBO_AGGR = 0x01,
|
||||
RT_HT_CAP_USE_LONG_PREAMBLE = 0x02,
|
||||
RT_HT_CAP_USE_AMPDU = 0x04,
|
||||
@@ -57,13 +57,13 @@ typedef enum _RT_HT_INF0_CAP {
|
||||
RT_HT_CAP_USE_92SE = 0x20,
|
||||
RT_HT_CAP_USE_88C_92C = 0x40,
|
||||
RT_HT_CAP_USE_AP_CLIENT_MODE = 0x80, /* AP team request to reserve this bit, by Emily */
|
||||
} RT_HT_INF0_CAPBILITY, *PRT_HT_INF0_CAPBILITY;
|
||||
};
|
||||
|
||||
typedef enum _RT_HT_INF1_CAP {
|
||||
enum RT_HT_INF1_CAPBILITY {
|
||||
RT_HT_CAP_USE_VIDEO_CLIENT = 0x01,
|
||||
RT_HT_CAP_USE_JAGUAR_BCUT = 0x02,
|
||||
RT_HT_CAP_USE_JAGUAR_CCUT = 0x04,
|
||||
} RT_HT_INF1_CAPBILITY, *PRT_HT_INF1_CAPBILITY;
|
||||
};
|
||||
|
||||
#define LDPC_HT_ENABLE_RX BIT0
|
||||
#define LDPC_HT_ENABLE_TX BIT1
|
||||
|
||||
Reference in New Issue
Block a user