summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/brcm80211/brcmfmac/usb.h
diff options
context:
space:
mode:
authorArend van Spriel <arend@broadcom.com>2012-03-03 01:55:47 +0400
committerJohn W. Linville <linville@tuxdriver.com>2012-03-06 00:53:55 +0400
commit1d9c1796bc448d76429e0937ef69e4f29cd1adad (patch)
tree25caecd71f337c81d4dd88468440b85959d52b36 /drivers/net/wireless/brcm80211/brcmfmac/usb.h
parentac94f196a5fed4915b82d71b9b111867d78df992 (diff)
downloadlinux-1d9c1796bc448d76429e0937ef69e4f29cd1adad.tar.xz
brcm80211: fmac: use counters in brcmf_bus structure
The usb code defines a structure for counting statistics. However, it should use the statistics entry provided in brcmf_bus as that is exposed to the net_device. The usb private statistics counter only remains with counters for control packets between driver and usb device. Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/usb.h')
-rw-r--r--drivers/net/wireless/brcm80211/brcmfmac/usb.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/usb.h b/drivers/net/wireless/brcm80211/brcmfmac/usb.h
index 3377d63e6c8b..acfa5e89872f 100644
--- a/drivers/net/wireless/brcm80211/brcmfmac/usb.h
+++ b/drivers/net/wireless/brcm80211/brcmfmac/usb.h
@@ -33,21 +33,10 @@ enum brcmf_usb_pnp_state {
};
struct brcmf_stats {
- u32 tx_errors;
- u32 tx_packets;
- u32 tx_multicast;
u32 tx_ctlpkts;
u32 tx_ctlerrs;
- u32 tx_dropped;
- u32 tx_flushed;
- u32 rx_errors;
- u32 rx_packets;
- u32 rx_multicast;
u32 rx_ctlpkts;
u32 rx_ctlerrs;
- u32 rx_dropped;
- u32 rx_flushed;
-
};
struct brcmf_usbdev {