wil6210: add TX latency statistics
authorDedy Lansky <dlansky@codeaurora.org>
Tue, 24 Jul 2018 07:44:24 +0000 (10:44 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 31 Jul 2018 07:59:50 +0000 (10:59 +0300)
commita24a3d6abb978d4abc25d541e787981e7ef555c8
tree78fd5e07de7c7f3308968c09d70935cb2a076e02
parente15af41c05eda216a43b9e7a22c2399e0ad720ff
wil6210: add TX latency statistics

Collect statistics of TX latency. The latency is measured from the time
the HW gets aware of new SKB to transmit until the HW indicates tx
complete for this SKB.
The statistics are shown via new "tx_latency" debugfs.

Signed-off-by: Dedy Lansky <dlansky@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wil6210/debugfs.c
drivers/net/wireless/ath/wil6210/main.c
drivers/net/wireless/ath/wil6210/txrx.c
drivers/net/wireless/ath/wil6210/txrx.h
drivers/net/wireless/ath/wil6210/txrx_edma.c
drivers/net/wireless/ath/wil6210/wil6210.h