Commit 6b89d0e7 authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman

staging: rtl8192e: Rename rtl819x_evm_dbtopercentage

Use naming schema found in other rtlwifi devices.
Rename rtl819x_evm_dbtopercentage to rtl92e_evm_db_to_percent.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 94199b35
...@@ -1656,7 +1656,7 @@ static void rtl8192_query_rxphystatus( ...@@ -1656,7 +1656,7 @@ static void rtl8192_query_rxphystatus(
rx_evmX /= 2; rx_evmX /= 2;
evm = rtl819x_evm_dbtopercentage(rx_evmX); evm = rtl92e_evm_db_to_percent(rx_evmX);
if (bpacket_match_bssid) { if (bpacket_match_bssid) {
if (i == 0) { if (i == 0) {
pstats->SignalQuality = (u8)(evm & pstats->SignalQuality = (u8)(evm &
......
...@@ -2039,10 +2039,7 @@ u8 rtl819x_query_rxpwrpercentage(char antpower) ...@@ -2039,10 +2039,7 @@ u8 rtl819x_query_rxpwrpercentage(char antpower)
} /* QueryRxPwrPercentage */ } /* QueryRxPwrPercentage */
u8 u8 rtl92e_evm_db_to_percent(char value)
rtl819x_evm_dbtopercentage(
char value
)
{ {
char ret_val; char ret_val;
......
...@@ -608,7 +608,7 @@ void rtl819x_UpdateRxPktTimeStamp(struct net_device *dev, ...@@ -608,7 +608,7 @@ void rtl819x_UpdateRxPktTimeStamp(struct net_device *dev,
long rtl819x_translate_todbm(struct r8192_priv *priv, u8 signal_strength_index); long rtl819x_translate_todbm(struct r8192_priv *priv, u8 signal_strength_index);
void rtl819x_update_rxsignalstatistics8190pci(struct r8192_priv *priv, void rtl819x_update_rxsignalstatistics8190pci(struct r8192_priv *priv,
struct rtllib_rx_stats *pprevious_stats); struct rtllib_rx_stats *pprevious_stats);
u8 rtl819x_evm_dbtopercentage(char value); u8 rtl92e_evm_db_to_percent(char value);
u8 rtl819x_query_rxpwrpercentage(char antpower); u8 rtl819x_query_rxpwrpercentage(char antpower);
void rtl92e_copy_mpdu_stats(struct rtllib_rx_stats *psrc_stats, void rtl92e_copy_mpdu_stats(struct rtllib_rx_stats *psrc_stats,
struct rtllib_rx_stats *ptarget_stats); struct rtllib_rx_stats *ptarget_stats);
......
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