Files
linux/drivers
Kan Yan d1ce37b783 ath10k: report estimated frame transmit airtime to improve fairness
The airtime of a transmitted frame will be estimated from last used tx rate
which the firmware reports with the peer stats feature
(WMI_SERVICE_PEER_STATS). The airtime is computed on the tx path and it
will be reported to mac80211 upon tx completion.

This change is based on Kan's orginal commit in Chromium tree
("CHROMIUM: ath10k: Implementing airtime fairness based TX scheduler")
ref: https://chromium-review.googlesource.com/588190

Tested on QCA4019 with firmware version 10.4-3.2.1.1-00015
Tested on QCA9984 with firmware version 10.4-3.9.0.1-00005

Signed-off-by: Kan Yan <kyan@google.com>
[rmanohar@codeaurora.org: ported only the airtime computation]
Signed-off-by: Rajkumar Manoharan <rmanohar@codeaurora.org>
[toke@redhat.com: Rebase to mac80211-next, add test note]
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2019-02-12 20:44:58 +02:00
..
2019-01-10 13:39:19 +02:00
2018-12-29 08:20:44 -07:00
2019-01-22 11:30:54 -08:00
2018-12-10 10:17:45 +01:00
2019-01-09 19:20:31 -05:00
2019-01-11 00:15:04 +01:00
2018-12-06 15:45:46 +01:00
2018-12-24 12:06:56 +01:00
2019-01-22 20:54:00 -05:00
2019-01-28 22:53:09 -08:00