ath9k: Send legacy rated frames as unaggregated
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Tue, 23 Aug 2011 07:02:57 +0000 (12:32 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 26 Aug 2011 14:47:55 +0000 (10:47 -0400)
commit1a6e9d0f2e5de4cc8dfa3e8e67c2decd02976cf3
tree33dab60aeac1434f1b9d14933b6b9ba0b0e02759
parent2a33bee2753bf28411de8822e3e3c7501966eb1b
ath9k: Send legacy rated frames as unaggregated

Currently the aggregation is formed till the aggregation limit
is reached and the rate lookup is done for the first frame alone.
But there can be a legacy rated frames in tid queue. This patch
limits the subframe addition based on presence of legacy rate and
sends the legacy rated frames as unaggregated one.

Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/xmit.c