Commit 97ef450b authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman

staging: rtl8192e: Rename rtl819x_update_rxsignalstatistics8190pci

Use naming schema found in other rtlwifi devices.
Rename rtl819x_update_rxsignalstatistics8190pci to
rtl92e_update_rx_statistics.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7879efc5
...@@ -1821,7 +1821,7 @@ static void rtl8192_process_phyinfo(struct r8192_priv *priv, u8 *buffer, ...@@ -1821,7 +1821,7 @@ static void rtl8192_process_phyinfo(struct r8192_priv *priv, u8 *buffer,
(RX_SMOOTH-1)) + (RX_SMOOTH-1)) +
(prev_st->RxPWDBAll)) / (RX_SMOOTH); (prev_st->RxPWDBAll)) / (RX_SMOOTH);
} }
rtl819x_update_rxsignalstatistics8190pci(priv, prev_st); rtl92e_update_rx_statistics(priv, prev_st);
} }
if (prev_st->SignalQuality != 0) { if (prev_st->SignalQuality != 0) {
......
...@@ -2005,11 +2005,8 @@ long rtl92e_translate_to_dbm(struct r8192_priv *priv, u8 signal_strength_index) ...@@ -2005,11 +2005,8 @@ long rtl92e_translate_to_dbm(struct r8192_priv *priv, u8 signal_strength_index)
} }
void void rtl92e_update_rx_statistics(struct r8192_priv *priv,
rtl819x_update_rxsignalstatistics8190pci( struct rtllib_rx_stats *pprevious_stats)
struct r8192_priv *priv,
struct rtllib_rx_stats *pprevious_stats
)
{ {
int weighting = 0; int weighting = 0;
......
...@@ -606,7 +606,7 @@ void rtl92e_irq_disable(struct net_device *dev); ...@@ -606,7 +606,7 @@ void rtl92e_irq_disable(struct net_device *dev);
void rtl92e_update_rx_pkt_timestamp(struct net_device *dev, void rtl92e_update_rx_pkt_timestamp(struct net_device *dev,
struct rtllib_rx_stats *stats); struct rtllib_rx_stats *stats);
long rtl92e_translate_to_dbm(struct r8192_priv *priv, u8 signal_strength_index); long rtl92e_translate_to_dbm(struct r8192_priv *priv, u8 signal_strength_index);
void rtl819x_update_rxsignalstatistics8190pci(struct r8192_priv *priv, void rtl92e_update_rx_statistics(struct r8192_priv *priv,
struct rtllib_rx_stats *pprevious_stats); struct rtllib_rx_stats *pprevious_stats);
u8 rtl92e_evm_db_to_percent(char value); u8 rtl92e_evm_db_to_percent(char value);
u8 rtl92e_rx_db_to_percent(char antpower); u8 rtl92e_rx_db_to_percent(char antpower);
......
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