Commit b34d2b3d authored by Michal Kazior's avatar Michal Kazior Committed by Kalle Valo

ath10k: unify wmi event function names

Make all wmi event functions match the same naming
style, i.e. ath10k_wmi_event_<name>.
Signed-off-by: default avatarMichal Kazior <michal.kazior@tieto.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 2332d0ae
...@@ -2274,7 +2274,7 @@ static int ath10k_wmi_10x_pull_svc_rdy_ev(struct sk_buff *skb, ...@@ -2274,7 +2274,7 @@ static int ath10k_wmi_10x_pull_svc_rdy_ev(struct sk_buff *skb,
return 0; return 0;
} }
static void ath10k_wmi_service_ready_event_rx(struct ath10k *ar, static void ath10k_wmi_event_service_ready(struct ath10k *ar,
struct sk_buff *skb) struct sk_buff *skb)
{ {
struct wmi_svc_rdy_ev_arg arg = {}; struct wmi_svc_rdy_ev_arg arg = {};
...@@ -2388,7 +2388,7 @@ static void ath10k_wmi_service_ready_event_rx(struct ath10k *ar, ...@@ -2388,7 +2388,7 @@ static void ath10k_wmi_service_ready_event_rx(struct ath10k *ar,
complete(&ar->wmi.service_ready); complete(&ar->wmi.service_ready);
} }
static int ath10k_wmi_ready_event_rx(struct ath10k *ar, struct sk_buff *skb) static int ath10k_wmi_event_ready(struct ath10k *ar, struct sk_buff *skb)
{ {
struct wmi_ready_event *ev = (struct wmi_ready_event *)skb->data; struct wmi_ready_event *ev = (struct wmi_ready_event *)skb->data;
...@@ -2511,10 +2511,10 @@ static void ath10k_wmi_main_process_rx(struct ath10k *ar, struct sk_buff *skb) ...@@ -2511,10 +2511,10 @@ static void ath10k_wmi_main_process_rx(struct ath10k *ar, struct sk_buff *skb)
ath10k_wmi_event_vdev_install_key_complete(ar, skb); ath10k_wmi_event_vdev_install_key_complete(ar, skb);
break; break;
case WMI_SERVICE_READY_EVENTID: case WMI_SERVICE_READY_EVENTID:
ath10k_wmi_service_ready_event_rx(ar, skb); ath10k_wmi_event_service_ready(ar, skb);
break; break;
case WMI_READY_EVENTID: case WMI_READY_EVENTID:
ath10k_wmi_ready_event_rx(ar, skb); ath10k_wmi_event_ready(ar, skb);
break; break;
default: default:
ath10k_warn(ar, "Unknown eventid: %d\n", id); ath10k_warn(ar, "Unknown eventid: %d\n", id);
...@@ -2631,10 +2631,10 @@ static void ath10k_wmi_10x_process_rx(struct ath10k *ar, struct sk_buff *skb) ...@@ -2631,10 +2631,10 @@ static void ath10k_wmi_10x_process_rx(struct ath10k *ar, struct sk_buff *skb)
ath10k_wmi_event_vdev_resume_req(ar, skb); ath10k_wmi_event_vdev_resume_req(ar, skb);
break; break;
case WMI_10X_SERVICE_READY_EVENTID: case WMI_10X_SERVICE_READY_EVENTID:
ath10k_wmi_service_ready_event_rx(ar, skb); ath10k_wmi_event_service_ready(ar, skb);
break; break;
case WMI_10X_READY_EVENTID: case WMI_10X_READY_EVENTID:
ath10k_wmi_ready_event_rx(ar, skb); ath10k_wmi_event_ready(ar, skb);
break; break;
case WMI_10X_PDEV_UTF_EVENTID: case WMI_10X_PDEV_UTF_EVENTID:
/* ignore utf events */ /* ignore utf events */
...@@ -2742,10 +2742,10 @@ static void ath10k_wmi_10_2_process_rx(struct ath10k *ar, struct sk_buff *skb) ...@@ -2742,10 +2742,10 @@ static void ath10k_wmi_10_2_process_rx(struct ath10k *ar, struct sk_buff *skb)
ath10k_wmi_event_vdev_resume_req(ar, skb); ath10k_wmi_event_vdev_resume_req(ar, skb);
break; break;
case WMI_10_2_SERVICE_READY_EVENTID: case WMI_10_2_SERVICE_READY_EVENTID:
ath10k_wmi_service_ready_event_rx(ar, skb); ath10k_wmi_event_service_ready(ar, skb);
break; break;
case WMI_10_2_READY_EVENTID: case WMI_10_2_READY_EVENTID:
ath10k_wmi_ready_event_rx(ar, skb); ath10k_wmi_event_ready(ar, skb);
break; break;
case WMI_10_2_RTT_KEEPALIVE_EVENTID: case WMI_10_2_RTT_KEEPALIVE_EVENTID:
case WMI_10_2_GPIO_INPUT_EVENTID: case WMI_10_2_GPIO_INPUT_EVENTID:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment