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)
commit0ea10f2b469ee51ed9948dd24cdd9582a98b885e
tree93b7e19903f146a43205c4bd8ed31d79bfab5f14
parentd0ff7383a3164adff7072719717d574436ec1677
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