ath10k: add debugfs support to get per peer tids log via tracing
authorMaharaja Kennadyrajan <c_mkenna@qti.qualcomm.com>
Thu, 2 Feb 2017 06:32:19 +0000 (08:32 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 7 Feb 2017 08:49:24 +0000 (10:49 +0200)
commitee8b08a1be82edca6cfc3cb7e86f674e0ede9de2
treecb5d936e9023aa3e57e621308fb07f60d78fe504
parent39bfe9f7c0c9ac84025d26a073d2a5de4f9b1c99
ath10k: add debugfs support to get per peer tids log via tracing

This patch provides support to get per peer tids log.

echo 1 > /sys/kernel/debug/ieee80211/phyX/netdev\:wlanX/stations/
XX:XX/peer_debug_trigger

These logs will be the part of FWLOGS which we collect the logs
via tracing interface. Here we will get the peer tigd logs only
once(not repeatedly) when we write 1 to the debugfs file.

Signed-off-by: Maharaja Kennadyrajan <c_mkenna@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/debugfs_sta.c
drivers/net/wireless/ath/ath10k/wmi.h