Commit 2330ebba authored by Marco Cesati's avatar Marco Cesati Committed by Greg Kroah-Hartman
Browse files

Staging: rtl8723bs: fix names in hal_com_phycfg.h



This commit converts names of structs / enums
in include/hal_com_phycfg.h from ALL_CAPS format to lowercase

Signed-off-by: default avatarMarco Cesati <marcocesati@gmail.com>
Link: https://lore.kernel.org/r/20210317222130.29528-25-marcocesati@gmail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b765c78f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
#include <linux/kernel.h>

u8 PHY_GetTxPowerByRateBase(struct adapter *Adapter, u8 Band, u8 RfPath,
			    u8 TxNum, enum RATE_SECTION RateSection)
			    u8 TxNum, enum rate_section RateSection)
{
	struct hal_com_data	*pHalData = GET_HAL_DATA(Adapter);
	u8	value = 0;
@@ -104,7 +104,7 @@ phy_SetTxPowerByRateBase(
	struct adapter *Adapter,
	u8 Band,
	u8 RfPath,
	enum RATE_SECTION	RateSection,
	enum rate_section	RateSection,
	u8 TxNum,
	u8 Value
)
+4 −4
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
#define		PathC		0x2
#define		PathD		0x3

enum RATE_SECTION {
enum rate_section {
	CCK = 0,
	OFDM,
	HT_MCS0_MCS7,
@@ -25,7 +25,7 @@ enum RATE_SECTION {
	VHT_4SSMCS0_4SSMCS9,
};

enum RF_TX_NUM {
enum rf_tx_num {
	RF_1TX = 0,
	RF_2TX,
	RF_3TX,
@@ -36,7 +36,7 @@ enum RF_TX_NUM {

#define MAX_POWER_INDEX			0x3F

enum _REGULATION_TXPWR_LMT {
enum _regulation_txpwr_lmt {
	TXPWR_LMT_FCC = 0,
	TXPWR_LMT_MKK,
	TXPWR_LMT_ETSI,
@@ -76,7 +76,7 @@ struct adapter *Adapter,
u8 		Band,
u8 		RfPath,
u8 		TxNum,
enum RATE_SECTION	RateSection
enum rate_section	RateSection
	);

u8