aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/wil6210/wmi.c
diff options
context:
space:
mode:
authorVladimir Kondratiev <QCA_vkondrat@QCA.qualcomm.com>2015-10-25 09:59:21 -0400
committerKalle Valo <kvalo@qca.qualcomm.com>2015-10-29 07:06:43 -0400
commitb03fbab0c4d502510400b7ee5fb3d5bab6d859bf (patch)
tree93cac019cfe5ee720c9ecb9b3306bc388452d3d0 /drivers/net/wireless/ath/wil6210/wmi.c
parenta226b519d43a2a6b37267fea051aacb4a79c9614 (diff)
wil6210: ignore selected WMI events
Some events are ignored for purpose; such events should not be treated as "unhandled events". Replace info message saying "unhandled" with debug one saying "ignore", to reduce dmesg pollution Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/wmi.c')
-rw-r--r--drivers/net/wireless/ath/wil6210/wmi.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/wil6210/wmi.c b/drivers/net/wireless/ath/wil6210/wmi.c
index 61121892c6ca..361f3d8f7b43 100644
--- a/drivers/net/wireless/ath/wil6210/wmi.c
+++ b/drivers/net/wireless/ath/wil6210/wmi.c
@@ -684,6 +684,15 @@ __acquires(&sta->tid_rx_lock) __releases(&sta->tid_rx_lock)
684 spin_unlock_bh(&sta->tid_rx_lock); 684 spin_unlock_bh(&sta->tid_rx_lock);
685} 685}
686 686
687/**
688 * Some events are ignored for purpose; and need not be interpreted as
689 * "unhandled events"
690 */
691static void wmi_evt_ignore(struct wil6210_priv *wil, int id, void *d, int len)
692{
693 wil_dbg_wmi(wil, "Ignore event 0x%04x len %d\n", id, len);
694}
695
687static const struct { 696static const struct {
688 int eventid; 697 int eventid;
689 void (*handler)(struct wil6210_priv *wil, int eventid, 698 void (*handler)(struct wil6210_priv *wil, int eventid,
@@ -701,6 +710,7 @@ static const struct {
701 {WMI_RCP_ADDBA_REQ_EVENTID, wmi_evt_addba_rx_req}, 710 {WMI_RCP_ADDBA_REQ_EVENTID, wmi_evt_addba_rx_req},
702 {WMI_DELBA_EVENTID, wmi_evt_delba}, 711 {WMI_DELBA_EVENTID, wmi_evt_delba},
703 {WMI_VRING_EN_EVENTID, wmi_evt_vring_en}, 712 {WMI_VRING_EN_EVENTID, wmi_evt_vring_en},
713 {WMI_DATA_PORT_OPEN_EVENTID, wmi_evt_ignore},
704}; 714};
705 715
706/* 716/*