Commit 2497ef5b authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman

staging: rtl8192e: Rename PHY_SetRF8256OFDMTxPower

Use naming schema found in other rtlwifi devices.
Rename PHY_SetRF8256OFDMTxPower to rtl92e_set_ofdm_tx_power.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent abfda588
...@@ -258,7 +258,7 @@ void rtl92e_set_cck_tx_power(struct net_device *dev, u8 powerlevel) ...@@ -258,7 +258,7 @@ void rtl92e_set_cck_tx_power(struct net_device *dev, u8 powerlevel)
} }
void PHY_SetRF8256OFDMTxPower(struct net_device *dev, u8 powerlevel) void rtl92e_set_ofdm_tx_power(struct net_device *dev, u8 powerlevel)
{ {
struct r8192_priv *priv = rtllib_priv(dev); struct r8192_priv *priv = rtllib_priv(dev);
u32 writeVal, powerBase0, powerBase1, writeVal_tmp; u32 writeVal, powerBase0, powerBase1, writeVal_tmp;
......
...@@ -25,6 +25,6 @@ extern void rtl92e_set_bandwidth(struct net_device *dev, ...@@ -25,6 +25,6 @@ extern void rtl92e_set_bandwidth(struct net_device *dev,
enum ht_channel_width Bandwidth); enum ht_channel_width Bandwidth);
extern bool rtl92e_config_rf(struct net_device *dev); extern bool rtl92e_config_rf(struct net_device *dev);
extern void rtl92e_set_cck_tx_power(struct net_device *dev, u8 powerlevel); extern void rtl92e_set_cck_tx_power(struct net_device *dev, u8 powerlevel);
extern void PHY_SetRF8256OFDMTxPower(struct net_device *dev, u8 powerlevel); extern void rtl92e_set_ofdm_tx_power(struct net_device *dev, u8 powerlevel);
#endif #endif
...@@ -680,7 +680,7 @@ void rtl8192_phy_setTxPower(struct net_device *dev, u8 channel) ...@@ -680,7 +680,7 @@ void rtl8192_phy_setTxPower(struct net_device *dev, u8 channel)
break; break;
case RF_8256: case RF_8256:
rtl92e_set_cck_tx_power(dev, powerlevel); rtl92e_set_cck_tx_power(dev, powerlevel);
PHY_SetRF8256OFDMTxPower(dev, powerlevelOFDM24G); rtl92e_set_ofdm_tx_power(dev, powerlevelOFDM24G);
break; break;
case RF_8258: case RF_8258:
break; break;
...@@ -795,7 +795,7 @@ static void rtl8192_SetTxPowerLevel(struct net_device *dev, u8 channel) ...@@ -795,7 +795,7 @@ static void rtl8192_SetTxPowerLevel(struct net_device *dev, u8 channel)
case RF_8256: case RF_8256:
rtl92e_set_cck_tx_power(dev, powerlevel); rtl92e_set_cck_tx_power(dev, powerlevel);
PHY_SetRF8256OFDMTxPower(dev, powerlevelOFDM24G); rtl92e_set_ofdm_tx_power(dev, powerlevelOFDM24G);
break; break;
case RF_8258: case RF_8258:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment