|
@@ -110,8 +110,7 @@ struct wmi_ops {
|
|
|
bool deliver_cab);
|
|
|
struct sk_buff *(*gen_pdev_set_wmm)(struct ath10k *ar,
|
|
|
const struct wmi_wmm_params_all_arg *arg);
|
|
|
- struct sk_buff *(*gen_request_stats)(struct ath10k *ar,
|
|
|
- enum wmi_stats_id stats_id);
|
|
|
+ struct sk_buff *(*gen_request_stats)(struct ath10k *ar, u32 stats_mask);
|
|
|
struct sk_buff *(*gen_force_fw_hang)(struct ath10k *ar,
|
|
|
enum wmi_force_fw_hang_type type,
|
|
|
u32 delay_ms);
|
|
@@ -816,14 +815,14 @@ ath10k_wmi_pdev_set_wmm_params(struct ath10k *ar,
|
|
|
}
|
|
|
|
|
|
static inline int
|
|
|
-ath10k_wmi_request_stats(struct ath10k *ar, enum wmi_stats_id stats_id)
|
|
|
+ath10k_wmi_request_stats(struct ath10k *ar, u32 stats_mask)
|
|
|
{
|
|
|
struct sk_buff *skb;
|
|
|
|
|
|
if (!ar->wmi.ops->gen_request_stats)
|
|
|
return -EOPNOTSUPP;
|
|
|
|
|
|
- skb = ar->wmi.ops->gen_request_stats(ar, stats_id);
|
|
|
+ skb = ar->wmi.ops->gen_request_stats(ar, stats_mask);
|
|
|
if (IS_ERR(skb))
|
|
|
return PTR_ERR(skb);
|
|
|
|