aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl/hif.h
diff options
context:
space:
mode:
authorChilam Ng <chilamng@qca.qualcomm.com>2012-02-07 01:33:00 -0800
committerKalle Valo <kvalo@qca.qualcomm.com>2012-02-08 11:33:49 +0200
commitb29072cc7b0e08ace48ab709c40cf6246fb2e8b0 (patch)
treea360185622713df0934983e90d7a9277eaeb661a /drivers/net/wireless/ath/ath6kl/hif.h
parentath6kl: Update license header (diff)
downloadlinux-dev-b29072cc7b0e08ace48ab709c40cf6246fb2e8b0.tar.xz
linux-dev-b29072cc7b0e08ace48ab709c40cf6246fb2e8b0.zip
ath6kl: prioritize Tx bundling based on AC priorities
Tx bundling is the more efficient use of SDIO bus and allows more packet transfers with fewer bus transactions, and is a way to improve overall throughput. However, Tx bundling has only 4 scatter request resources available. When there are multiple traffic streams of different priorities, it's possible that lower priority traffic may hog all the scatter requests and lock out the higher prioirty traffic from bundling. Tx bundling is now enabled per AC. When an AC do a scatter request and the remaining scatter request resources is lower than a configurable threshold, it will disable Tx bundling for all AC's of lower priorities. When an AC has Tx bundling disabled and has no Tx bundles sent in a consecutive and configurable number of packets, Tx bundling will be re-enabled for that AC. Signed-off-by: Chilam Ng <chilamng@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/hif.h')
-rw-r--r--drivers/net/wireless/ath/ath6kl/hif.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/hif.h b/drivers/net/wireless/ath/ath6kl/hif.h
index fb4186f5d432..904458ab484b 100644
--- a/drivers/net/wireless/ath/ath6kl/hif.h
+++ b/drivers/net/wireless/ath/ath6kl/hif.h
@@ -198,6 +198,8 @@ struct hif_scatter_req {
u8 *virt_dma_buf;
struct hif_scatter_item scat_list[1];
+
+ u32 scat_q_depth;
};
struct ath6kl_irq_proc_registers {