Bugzilla – Bug 221
driver does not increment transmit statistics
Last modified: 2004-09-13 00:50:46
You need to log in before you can comment on or make changes to this bug.
(reported on mailing list along with a patch by Stephen Hemminger - Fri 9/3/2004) The ipw2200 driver never increments the network transmit statistics! Here is one place it could be done. Others are in the tasklet, or in ieee80211_tx free code. diff -Nru a/drivers/net/wireless/ieee80211/ieee80211_tx.c b/drivers/net/wireless/ieee80211/ieee80211_tx.c --- a/drivers/net/wireless/ieee80211/ieee80211_tx.c 2004-09-03 09:43:26 - 07:00 +++ b/drivers/net/wireless/ieee80211/ieee80211_tx.c 2004-09-03 09:43:26 - 07:00 @@ -350,6 +350,8 @@ ieee80211_encrypt_fragment(ieee, skb_frag, hdr_len); #endif } + stats->tx_packets++; + stats->tx_bytes += skb->len; /* We are now done with the SKB provided to us */ dev_kfree_skb_any(skb);
*** This bug has been marked as a duplicate of 220 ***
Bug reported twice in error. Closing this one.