]> git.baikalelectronics.ru Git - kernel.git/commit
ath6kl: assign Tx packet drop threshold per endpoint based on AC priority
authorChilam Ng <chilamng@qca.qualcomm.com>
Thu, 9 Feb 2012 10:17:01 +0000 (02:17 -0800)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 27 Feb 2012 17:14:51 +0000 (19:14 +0200)
commit757997b673742bccf6b9788cb407127212302e02
tree93b7e19903f146a43205c4bd8ed31d79bfab5f14
parent656b1c8d720cd673d85d4cbc3324e389bfd2e6a8
ath6kl: assign Tx packet drop threshold per endpoint based on AC priority

Tx packets will begin to drop when there are multiple traffic priorities
and the current traffic is not the highest priority and the remaining
cookies drop below a certain number, which is fixed for all AC. It is
possilbe that lower priority AC have more traffic which will consume
more cookies and lock out higher priority AC from having any. Assign
each endpoint (AC) with a different Tx-packet-drop threshold so lower
priority AC is more likely to drop packets and the cookies become more
available to higher priority AC.

Signed-off-by: Chilam Ng <chilamng@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/htc.c
drivers/net/wireless/ath/ath6kl/htc.h
drivers/net/wireless/ath/ath6kl/txrx.c