git: wlan - Attempt to fix obytes/omcast counting for now.

Matthew Dillon dillon at crater.dragonflybsd.org
Mon May 23 21:38:05 PDT 2016


commit 664776f3d227b727f2a1ad9b976f14eaa4fc8afa
Author: Imre Vadász <imre at vdsz.com>
Date:   Sat May 21 14:18:33 2016 +0200

    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.

Summary of changes:
 sys/netproto/802_11/wlan/ieee80211_output.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/664776f3d227b727f2a1ad9b976f14eaa4fc8afa


-- 
DragonFly BSD source repository



More information about the Commits mailing list