ath6kl: Fix unstable downlink throughput
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Wed, 30 May 2012 06:57:12 +0000 (12:27 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 11 Jun 2012 13:13:41 +0000 (16:13 +0300)
commit7940bad50859026c0f11d2b7766571175b5e55c3
tree4c3321d670b53de2f9f4b7c6b6dfd85537054ae4
parent0faf745872f6d00afb318185e8fb181587974b5a
ath6kl: Fix unstable downlink throughput

There is frequent downlink throughput drop to 0 when operating
at the signal level between -42dBm to -53dBm. This has been root
caused to the delay in releasing pending a-mpdu subframes in
reorder buffer. Right now the timeout value is 400ms, there
is also a race condition where timeout handler can be delayed
to run at an extra timeout interval. This patch reduces the
timout interval to reasonable 100ms and makes sure releasing
pending frames are not skipped in the timeout handler by removing
the flag (rxtid->progress) which can delay the timeout logic.

Reported-by: Yu Yanzhi <yanzhiy@qca.qualcomm.com>
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/core.h
drivers/net/wireless/ath/ath6kl/txrx.c