Staging: rtl8723bs: fix names in rtw_mp.h
authorMarco Cesati <marcocesati@gmail.com>
Wed, 17 Mar 2021 22:20:56 +0000 (23:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Mar 2021 09:16:45 +0000 (10:16 +0100)
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>
drivers/staging/rtl8723bs/include/rtw_mp.h

index 8b6e4e9578f966ee4c330c41540a18b90b33ba99..48e5915e0a7a21c940b73546d55503dd99341c65 100644 (file)
@@ -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