commit | feff1f2fea3fc7ee055e46d0fbdb2d25ad2b14c4 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes@sipsolutions.net> | Mon Aug 10 16:01:54 2009 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Aug 14 09:13:57 2009 -0400 |
tree | 58cfb7fc4e89db0a75fbcd7d61cac0267c0a9856 | |
parent | 5e68ff6563ef79d87296c70f8eb2bee454d3fe75 [diff] |
mac80211: take statistics before encryption When encryption is used, the number of bytes sent to the peer increases by the IV and ICV. This is accounted if software encryption is used, but not if the devices does hardware encryption. To make the numbers comparable, never account for that overhead. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>