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

staging: rtl8192e: Rename rtl8192_record_rxdesc_forlateruse

Use naming schema found in other rtlwifi devices.
Rename rtl8192_record_rxdesc_forlateruse to rtl92e_copy_mpdu_stats.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 36154dc3
...@@ -1908,7 +1908,7 @@ static void rtl8192_TranslateRxSignalStuff(struct net_device *dev, ...@@ -1908,7 +1908,7 @@ static void rtl8192_TranslateRxSignalStuff(struct net_device *dev,
rtl8192_query_rxphystatus(priv, pstats, pdesc, pdrvinfo, rtl8192_query_rxphystatus(priv, pstats, pdesc, pdrvinfo,
&previous_stats, bpacket_match_bssid, &previous_stats, bpacket_match_bssid,
bpacket_toself, bPacketBeacon, bToSelfBA); bpacket_toself, bPacketBeacon, bToSelfBA);
rtl8192_record_rxdesc_forlateruse(pstats, &previous_stats); rtl92e_copy_mpdu_stats(pstats, &previous_stats);
} }
static void rtl8192_UpdateReceivedRateHistogramStatistics( static void rtl8192_UpdateReceivedRateHistogramStatistics(
......
...@@ -2059,11 +2059,8 @@ rtl819x_evm_dbtopercentage( ...@@ -2059,11 +2059,8 @@ rtl819x_evm_dbtopercentage(
return ret_val; return ret_val;
} }
void void rtl92e_copy_mpdu_stats(struct rtllib_rx_stats *psrc_stats,
rtl8192_record_rxdesc_forlateruse( struct rtllib_rx_stats *ptarget_stats)
struct rtllib_rx_stats *psrc_stats,
struct rtllib_rx_stats *ptarget_stats
)
{ {
ptarget_stats->bIsAMPDU = psrc_stats->bIsAMPDU; ptarget_stats->bIsAMPDU = psrc_stats->bIsAMPDU;
ptarget_stats->bFirstMPDU = psrc_stats->bFirstMPDU; ptarget_stats->bFirstMPDU = psrc_stats->bFirstMPDU;
......
...@@ -610,7 +610,7 @@ void rtl819x_update_rxsignalstatistics8190pci(struct r8192_priv *priv, ...@@ -610,7 +610,7 @@ 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 rtl819x_evm_dbtopercentage(char value);
u8 rtl819x_query_rxpwrpercentage(char antpower); u8 rtl819x_query_rxpwrpercentage(char antpower);
void rtl8192_record_rxdesc_forlateruse(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);
bool rtl92e_enable_nic(struct net_device *dev); bool rtl92e_enable_nic(struct net_device *dev);
bool rtl92e_disable_nic(struct net_device *dev); bool rtl92e_disable_nic(struct net_device *dev);
......
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