From: Daniel Halperin Date: Sun, 18 Apr 2010 16:27:58 +0000 (-0700) Subject: iwlwifi: set AMPDU status variables correctly X-Git-Tag: v2.6.35-rc1~473^2~167^2~49^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3a3cd8789e1daf1b5af70d3252cab50cd3824c9;p=pandora-kernel.git 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 Signed-off-by: Reinette Chatre --- Reading git-diff-tree failed