diff options
author | Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> | 2013-02-05 04:44:48 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-02-11 15:34:58 -0500 |
commit | 8457703f1e86aaf0f134402dd1e09e1f13e65222 (patch) | |
tree | a448052ed237251e4a63f0159faccc4ae78ae3d9 /drivers/net/wireless/ath/ath6kl/cfg80211.c | |
parent | f1045f5e1f4f7d94f4e3a9600e3a3c3eec2650ec (diff) |
ath6kl: provide 64-bit per-station byte counters
Internally, 64-bit byte counters maintained for per-station
statistics. Tell to the netlink that full 64-bit value provided
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/cfg80211.c')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/cfg80211.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.c b/drivers/net/wireless/ath/ath6kl/cfg80211.c index 4225cca0f198..259c43332fb8 100644 --- a/drivers/net/wireless/ath/ath6kl/cfg80211.c +++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c | |||
@@ -1778,14 +1778,14 @@ static int ath6kl_get_station(struct wiphy *wiphy, struct net_device *dev, | |||
1778 | 1778 | ||
1779 | if (vif->target_stats.rx_byte) { | 1779 | if (vif->target_stats.rx_byte) { |
1780 | sinfo->rx_bytes = vif->target_stats.rx_byte; | 1780 | sinfo->rx_bytes = vif->target_stats.rx_byte; |
1781 | sinfo->filled |= STATION_INFO_RX_BYTES; | 1781 | sinfo->filled |= STATION_INFO_RX_BYTES64; |
1782 | sinfo->rx_packets = vif->target_stats.rx_pkt; | 1782 | sinfo->rx_packets = vif->target_stats.rx_pkt; |
1783 | sinfo->filled |= STATION_INFO_RX_PACKETS; | 1783 | sinfo->filled |= STATION_INFO_RX_PACKETS; |
1784 | } | 1784 | } |
1785 | 1785 | ||
1786 | if (vif->target_stats.tx_byte) { | 1786 | if (vif->target_stats.tx_byte) { |
1787 | sinfo->tx_bytes = vif->target_stats.tx_byte; | 1787 | sinfo->tx_bytes = vif->target_stats.tx_byte; |
1788 | sinfo->filled |= STATION_INFO_TX_BYTES; | 1788 | sinfo->filled |= STATION_INFO_TX_BYTES64; |
1789 | sinfo->tx_packets = vif->target_stats.tx_pkt; | 1789 | sinfo->tx_packets = vif->target_stats.tx_pkt; |
1790 | sinfo->filled |= STATION_INFO_TX_PACKETS; | 1790 | sinfo->filled |= STATION_INFO_TX_PACKETS; |
1791 | } | 1791 | } |