ath11k: fix parsing PPDU_CTRL type in pktlog
authorAnilkumar Kolli <akolli@codeaurora.org>
Wed, 5 Feb 2020 07:15:59 +0000 (12:45 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 11 Feb 2020 18:33:34 +0000 (20:33 +0200)
commit443d2ee758ac63b4a2748f73ecc4ca73775e0c04
treed1faca9c692a790e8a27b65d65e66e70910b0bdf
parent79c080dbe35baaa1d46b241047a9dde745fc12eb
ath11k: fix parsing PPDU_CTRL type in pktlog

PPDU_CTRL type is missing in current pktlog dumps.
PPDU_CTRL is sent on CE5 with len 2560 bytes, current
driver ignores the payload len greter than 2048.
PPDU_CTRL of 2560 bytes is sent in two fragments of len 2028
and 532 bytes, but firmware reports pkt header has length as 2560
for both of the fragments.

Signed-off-by: Anilkumar Kolli <akolli@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath11k/debug.h
drivers/net/wireless/ath/ath11k/dp_rx.c