mirror of https://gitee.com/openkylin/linux.git
staging: rtl8723bs: Rename PHY_GetTxPowerLimit().
Rename camel-case 'PHY_GetTxPowerLimit()' to 'phy_get_tx_pwr_lmt()'. Signed-off-by: Quytelda Kahja <quytelda@tamalin.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
26472590a6
commit
cc2231a3bb
|
@ -1612,9 +1612,9 @@ static s8 phy_GetChannelIndexOfTxPowerLimit(u8 Band, u8 Channel)
|
|||
return channelIndex;
|
||||
}
|
||||
|
||||
s8 PHY_GetTxPowerLimit(struct adapter *Adapter, u32 RegPwrTblSel,
|
||||
enum BAND_TYPE Band, enum CHANNEL_WIDTH Bandwidth,
|
||||
u8 RfPath, u8 DataRate, u8 Channel)
|
||||
s8 phy_get_tx_pwr_lmt(struct adapter *Adapter, u32 RegPwrTblSel,
|
||||
enum BAND_TYPE Band, enum CHANNEL_WIDTH Bandwidth,
|
||||
u8 RfPath, u8 DataRate, u8 Channel)
|
||||
{
|
||||
s16 band = -1;
|
||||
s16 regulation = -1;
|
||||
|
|
|
@ -688,7 +688,7 @@ u8 PHY_GetTxPowerIndex_8723B(
|
|||
txPower = (s8) PHY_GetTxPowerIndexBase(padapter, RFPath, Rate, BandWidth, Channel, &bIn24G);
|
||||
powerDiffByRate = PHY_GetTxPowerByRate(padapter, BAND_ON_2_4G, ODM_RF_PATH_A, RF_1TX, Rate);
|
||||
|
||||
limit = PHY_GetTxPowerLimit(
|
||||
limit = phy_get_tx_pwr_lmt(
|
||||
padapter,
|
||||
padapter->registrypriv.RegPwrTblSel,
|
||||
(u8)(!bIn24G),
|
||||
|
|
|
@ -177,7 +177,7 @@ u8 Channel,
|
|||
bool *bIn24G
|
||||
);
|
||||
|
||||
s8 PHY_GetTxPowerLimit (struct adapter *adapter, u32 RegPwrTblSel,
|
||||
s8 phy_get_tx_pwr_lmt (struct adapter *adapter, u32 RegPwrTblSel,
|
||||
enum BAND_TYPE Band, enum CHANNEL_WIDTH Bandwidth,
|
||||
u8 RfPath,
|
||||
u8 DataRate,
|
||||
|
|
Loading…
Reference in New Issue