summaryrefslogtreecommitdiffstats
path: root/drivers/net/ariadne.h
diff options
context:
space:
mode:
authorDaniel Halperin <dhalperi@cs.washington.edu>2010-04-18 18:27:58 +0200
committerReinette Chatre <reinette.chatre@intel.com>2010-05-01 00:34:31 +0200
commite3a3cd8789e1daf1b5af70d3252cab50cd3824c9 (patch)
treef5b24a2371d59c9b3930504b5a80774a61566a5c /drivers/net/ariadne.h
parentiwl3945: add ucode statistics (diff)
downloadlinux-e3a3cd8789e1daf1b5af70d3252cab50cd3824c9.tar.xz
linux-e3a3cd8789e1daf1b5af70d3252cab50cd3824c9.zip
iwlwifi: set AMPDU status variables correctly
The TX status code is currently abusing the ampdu_ack_map field (a bitmap) to count the number of successfully received frames. The comments in mac80211.h show there are actually three different, relevant variables, of which we are currently using two, both incorrectly. Fix this by making - ampdu_ack_len -> the number of ACKed frames (i.e. successes) - ampdu_ack_map -> the bitmap - ampdu_len -> the total number of frames sent (i.e., attempts) to match the header file (and verified with ath9k's usage) and updating Intel's RS code to match. Signed-off-by: Daniel Halperin <dhalperi@cs.washington.edu> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'drivers/net/ariadne.h')
0 files changed, 0 insertions, 0 deletions