From: Amitkumar Karwar Date: Fri, 30 Sep 2011 03:43:40 +0000 (-0700) Subject: mwifiex: correct AMSDU aggregation check X-Git-Tag: v3.2-rc1~129^2~104^2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d85c5fe462fe3531f607fda787e9c80617e35437;p=pandora-kernel.git mwifiex: correct AMSDU aggregation check The commit "mwifiex: remove list traversal.."(fcf2176c87..) wrongly modifies AMSDU aggregation check. Due to this even though packet size for iperf traffic is already large, we unnecessarily try to aggregate them which adds some delay. If Tx iperf is started on UUT for 30 seconds, UUT keeps sending Tx packets for few more seconds. That commit is reverted to fix the problem. Also, MIN_NUM_AMSDU check is moved inside the loop to optimize the loop. Signed-off-by: Amitkumar Karwar Signed-off-by: Yogesh Ashok Powar Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed