staging: rtl8192e: Rename rtl819x_translate_todbm
Use naming schema found in other rtlwifi devices. Rename rtl819x_translate_todbm to rtl92e_translate_to_dbm. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
aa80403183
commit
f54f10bfa1
|
@ -1732,8 +1732,8 @@ static void rtl8192_process_phyinfo(struct r8192_priv *priv, u8 *buffer,
|
|||
slide_rssi_index = 0;
|
||||
|
||||
tmp_val = priv->stats.slide_rssi_total/slide_rssi_statistics;
|
||||
priv->stats.signal_strength = rtl819x_translate_todbm(priv,
|
||||
(u8)tmp_val);
|
||||
priv->stats.signal_strength = rtl92e_translate_to_dbm(priv,
|
||||
(u8)tmp_val);
|
||||
curr_st->rssi = priv->stats.signal_strength;
|
||||
if (!prev_st->bPacketMatchBSSID) {
|
||||
if (!prev_st->bToSelfBA)
|
||||
|
|
|
@ -1994,7 +1994,7 @@ void rtl819x_UpdateRxPktTimeStamp(struct net_device *dev,
|
|||
priv->LastRxDescTSF = stats->mac_time;
|
||||
}
|
||||
|
||||
long rtl819x_translate_todbm(struct r8192_priv *priv, u8 signal_strength_index)
|
||||
long rtl92e_translate_to_dbm(struct r8192_priv *priv, u8 signal_strength_index)
|
||||
{
|
||||
long signal_power;
|
||||
|
||||
|
|
|
@ -605,7 +605,7 @@ void rtl92e_irq_disable(struct net_device *dev);
|
|||
|
||||
void rtl819x_UpdateRxPktTimeStamp(struct net_device *dev,
|
||||
struct rtllib_rx_stats *stats);
|
||||
long rtl819x_translate_todbm(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,
|
||||
struct rtllib_rx_stats *pprevious_stats);
|
||||
u8 rtl92e_evm_db_to_percent(char value);
|
||||
|
|
Loading…
Reference in New Issue