diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-08-10 16:01:54 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-14 09:13:57 -0400 |
commit | feff1f2fea3fc7ee055e46d0fbdb2d25ad2b14c4 (patch) | |
tree | 58cfb7fc4e89db0a75fbcd7d61cac0267c0a9856 /net/mac80211/key.h | |
parent | 5e68ff6563ef79d87296c70f8eb2bee454d3fe75 (diff) | |
download | blackbird-op-linux-feff1f2fea3fc7ee055e46d0fbdb2d25ad2b14c4.tar.gz blackbird-op-linux-feff1f2fea3fc7ee055e46d0fbdb2d25ad2b14c4.zip |
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>
Diffstat (limited to 'net/mac80211/key.h')
0 files changed, 0 insertions, 0 deletions