]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: fix not registering airtime of 11a station with WMM disable
authorYibo Zhao <yiboz@codeaurora.org>
Thu, 20 Feb 2020 04:03:25 +0000 (12:03 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 11 Mar 2020 16:45:43 +0000 (18:45 +0200)
commit2a8cb0d2fd6344a416401018aa13429f4d8c0aef
tree26d46d3582a5a9d69a9de08ac9b3e5427f233338
parent4ab3e94fa7939dd03d0c03a9e0174ae45ad0b030
ath10k: fix not registering airtime of 11a station with WMM disable

The tid of 11a station with WMM disable reported by FW is 0x10 in
tx completion. The tid 16 is mapped to a NULL txq since buffer
MMPDU capbility is not supported. Then 11a station's airtime will
not be registered due to NULL txq check. As a results, airtime of
11a station keeps unchanged in debugfs system.

Mask the tid along with IEEE80211_QOS_CTL_TID_MASK to make it in
the valid range.

Hardwares tested : QCA9984
Firmwares tested : 10.4-3.10-00047

Signed-off-by: Yibo Zhao <yiboz@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/htt_rx.c