summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorMarco Cesati <marcocesati@gmail.com>2021-03-17 23:20:56 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-18 10:16:45 +0100
commit127375e43beefaed5a697e285a20e2cdbe74ef36 (patch)
treec17a00ddde161b3416cbfaf21d4b8848048dfc92 /drivers/staging
parentf1e0583a1afae8e62472a8942c8a7258f683d1cc (diff)
downloadlinux-127375e43beefaed5a697e285a20e2cdbe74ef36.tar.bz2
Staging: rtl8723bs: fix names in rtw_mp.h
This commit converts names of structs / enums in include/rtw_mp.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati <marcocesati@gmail.com> Link: https://lore.kernel.org/r/20210317222130.29528-10-marcocesati@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/rtl8723bs/include/rtw_mp.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/staging/rtl8723bs/include/rtw_mp.h b/drivers/staging/rtl8723bs/include/rtw_mp.h
index 8b6e4e9578f9..48e5915e0a7a 100644
--- a/drivers/staging/rtl8723bs/include/rtw_mp.h
+++ b/drivers/staging/rtl8723bs/include/rtw_mp.h
@@ -49,7 +49,7 @@ struct mp_tx {
#define MP_MAX_LINES_BYTES 256
typedef void (*MPT_WORK_ITEM_HANDLER)(void *Adapter);
-struct MPT_CONTEXT {
+struct mpt_context {
/* Indicate if we have started Mass Production Test. */
bool bMassProdTest;
@@ -257,12 +257,12 @@ struct mp_priv {
bool bSetRxBssid;
bool bTxBufCkFail;
- struct MPT_CONTEXT MptCtx;
+ struct mpt_context MptCtx;
u8 *TXradomBuffer;
};
-struct IOCMD_STRUCT {
+struct iocmd_struct {
u8 cmdclass;
u16 value;
u8 index;
@@ -286,7 +286,7 @@ struct bb_reg_param {
#define BB_REG_BASE_ADDR 0x800
/* MP variables */
-enum MP_MODE {
+enum mp_mode {
MP_OFF,
MP_ON,
MP_ERR,
@@ -303,7 +303,7 @@ enum MP_MODE {
extern u8 mpdatarate[NumRates];
/* MP set force data rate base on the definition. */
-enum MPT_RATE_INDEX {
+enum mpt_rate_index {
/* CCK rate. */
MPT_RATE_1M = 0, /* 0 */
MPT_RATE_2M,
@@ -363,13 +363,13 @@ enum MPT_RATE_INDEX {
#define MAX_TX_PWR_INDEX_N_MODE 64 /* 0x3F */
-enum POWER_MODE {
+enum power_mode {
POWER_LOW = 0,
POWER_NORMAL
};
/* The following enumeration is used to define the value of Reg0xD00[30:28] or JaguarReg0x914[18:16]. */
-enum OFDM_TX_MODE {
+enum ofdm_tx_mode {
OFDM_ALL_OFF = 0,
OFDM_ContinuousTx = 1,
OFDM_SingleCarrier = 2,
@@ -391,14 +391,14 @@ enum OFDM_TX_MODE {
#define Mac_HT_FasleAlarm 0x90000000
#define Mac_DropPacket 0xA0000000
-enum ENCRY_CTRL_STATE {
+enum encry_ctrl_state {
HW_CONTROL, /* hw encryption& decryption */
SW_CONTROL, /* sw encryption& decryption */
HW_ENCRY_SW_DECRY, /* hw encryption & sw decryption */
SW_ENCRY_HW_DECRY /* sw encryption & hw decryption */
};
-enum MPT_TXPWR_DEF {
+enum mpt_txpwr_def {
MPT_CCK,
MPT_OFDM, /* L and HT OFDM */
MPT_VHT_OFDM