OSDN Git Service

ath11k: add pktlog checksum in trace events to support pktlog
authorMaharaja Kennadyrajan <mkenna@codeaurora.org>
Thu, 26 Mar 2020 14:49:15 +0000 (20:19 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 6 Apr 2020 16:15:50 +0000 (19:15 +0300)
commit21c1b063f4b98c14b2438734c93fe24d517233cb
treed2dc589fa55661e6062917f0d842d5ae1cb98fe4
parent3d1c60460fb2823a19ead9e6ec8f184dd7271aa7
ath11k: add pktlog checksum in trace events to support pktlog

Pktlog data are different among the chipset & chipset versions.
As part of enhancing the user space script to decode the pktlog
trace events generated, it is desirable to know which chipset or
which chipset version has provided the events and thereby decode
the pktlogs appropriately.

Pktlog checksum helps to determine the chipset variant which is
given by the firmware in the struct wmi_ready_event.

Pktlog checksums are computed during the firmware build.
So, adding that pktlog checksum in the pklog trace events.

Signed-off-by: Maharaja Kennadyrajan <mkenna@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1585234155-30574-1-git-send-email-mkenna@codeaurora.org
drivers/net/wireless/ath/ath11k/core.h
drivers/net/wireless/ath/ath11k/dp_rx.c
drivers/net/wireless/ath/ath11k/trace.h
drivers/net/wireless/ath/ath11k/wmi.c
drivers/net/wireless/ath/ath11k/wmi.h