aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl/wmi.c
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2011-09-02 03:32:04 -0400
committerKalle Valo <kvalo@qca.qualcomm.com>2011-09-02 03:32:04 -0400
commitbdf5396be177b689c00ae6ebed00d13fafaed36e (patch)
treeb185c185ab024aca98871ce06d4a3fbc37c4b5ab /drivers/net/wireless/ath/ath6kl/wmi.c
parentd748753cd71f4504129fc6bd2262e0c5e4abe62f (diff)
ath6kl: add firmware log support
Firmware sends binary logs with WMIX_DBGLOG_EVENTID event. Create a buffer which stores the latest logs and which can be copied from fwlog debugfs file with cp command. To save memory firmware log support is enabled only when CONFIG_ATH6KL_DEBUG is enabled. Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/wmi.c')
-rw-r--r--drivers/net/wireless/ath/ath6kl/wmi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/wmi.c b/drivers/net/wireless/ath/ath6kl/wmi.c
index c34e36806dac..954d5e18e888 100644
--- a/drivers/net/wireless/ath/ath6kl/wmi.c
+++ b/drivers/net/wireless/ath/ath6kl/wmi.c
@@ -2903,6 +2903,7 @@ static int ath6kl_wmi_control_rx_xtnd(struct wmi *wmi, struct sk_buff *skb)
2903 case WMIX_HB_CHALLENGE_RESP_EVENTID: 2903 case WMIX_HB_CHALLENGE_RESP_EVENTID:
2904 break; 2904 break;
2905 case WMIX_DBGLOG_EVENTID: 2905 case WMIX_DBGLOG_EVENTID:
2906 ath6kl_debug_fwlog_event(wmi->parent_dev, datap, len);
2906 break; 2907 break;
2907 default: 2908 default:
2908 ath6kl_err("unknown cmd id 0x%x\n", id); 2909 ath6kl_err("unknown cmd id 0x%x\n", id);