wlan - Attempt to fix obytes/omcast counting for now.
authorImre Vadász <imre@vdsz.com>
Sat, 21 May 2016 12:18:33 +0000 (14:18 +0200)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 24 May 2016 04:35:13 +0000 (21:35 -0700)
commit664776f3d227b727f2a1ad9b976f14eaa4fc8afa
treedb914ec2ab7757b18bb599c9af9d1f7a37f6bfc8
parent7dfe50f515c1c2688c82354fef76201f9ce75a53
wlan - Attempt to fix obytes/omcast counting for now.

* Data frames are currently counted a second time in the obytes and
  omcast counters by ieee80211_tx_complete(). (the first time they are
  counted is in ifq_dispatch())

* So just deactivate the obytes and omcast counter increments in
  ieee80211_tx_complete() for now. At worst we are now missing
  management-frames and maybe raw packets in the obytes counter,
  which is still better than counting most packets' bytes twice.
sys/netproto/802_11/wlan/ieee80211_output.c