Lines Matching refs:skb

632 	struct sk_buff *skb;
635 skb = ath10k_htc_alloc_skb(ar, WMI_SKB_HEADROOM + round_len);
636 if (!skb)
639 skb_reserve(skb, WMI_SKB_HEADROOM);
640 if (!IS_ALIGNED((unsigned long)skb->data, 4))
641 ath10k_warn(ar, "Unaligned WMI skb\n");
643 skb_put(skb, round_len);
644 memset(skb->data, 0, round_len);
646 return skb;
649 static void ath10k_wmi_htc_tx_complete(struct ath10k *ar, struct sk_buff *skb)
651 dev_kfree_skb(skb);
654 static int ath10k_wmi_cmd_send_nowait(struct ath10k *ar, struct sk_buff *skb,
657 struct ath10k_skb_cb *skb_cb = ATH10K_SKB_CB(skb);
662 if (skb_push(skb, sizeof(struct wmi_cmd_hdr)) == NULL)
667 cmd_hdr = (struct wmi_cmd_hdr *)skb->data;
671 ret = ath10k_htc_send(&ar->htc, ar->wmi.eid, skb);
672 trace_ath10k_wmi_cmd(ar, cmd_id, skb->data, skb->len, ret);
680 skb_pull(skb, sizeof(struct wmi_cmd_hdr));
731 int ath10k_wmi_cmd_send(struct ath10k *ar, struct sk_buff *skb, u32 cmd_id)
747 ret = ath10k_wmi_cmd_send_nowait(ar, skb, cmd_id);
752 dev_kfree_skb_any(skb);
757 int ath10k_wmi_mgmt_tx(struct ath10k *ar, struct sk_buff *skb)
763 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
765 u32 buf_len = skb->len;
768 hdr = (struct ieee80211_hdr *)skb->data;
774 len = sizeof(cmd->hdr) + skb->len;
792 cmd->hdr.vdev_id = __cpu_to_le32(ATH10K_SKB_CB(skb)->vdev_id);
798 memcpy(cmd->buf, skb->data, skb->len);
800 ath10k_dbg(ar, ATH10K_DBG_WMI, "wmi mgmt tx skb %p len %d ftype %02x stype %02x\n",
811 ieee80211_tx_status_irqsafe(ar->hw, skb);
940 static int ath10k_wmi_event_scan(struct ath10k *ar, struct sk_buff *skb)
942 struct wmi_scan_event *event = (struct wmi_scan_event *)skb->data;
1076 static int ath10k_wmi_event_mgmt_rx(struct ath10k *ar, struct sk_buff *skb)
1081 struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb);
1094 ev_v2 = (struct wmi_mgmt_rx_event_v2 *)skb->data;
1098 ev_v1 = (struct wmi_mgmt_rx_event_v1 *)skb->data;
1116 dev_kfree_skb(skb);
1121 dev_kfree_skb(skb);
1126 dev_kfree_skb(skb);
1158 skb_pull(skb, pull_len);
1160 hdr = (struct ieee80211_hdr *)skb->data;
1181 "event mgmt rx skb %p len %d ftype %02x stype %02x\n",
1182 skb, skb->len,
1194 skb_trim(skb, buf_len);
1196 ieee80211_rx(ar->hw, skb);
1219 static void ath10k_wmi_event_chan_info(struct ath10k *ar, struct sk_buff *skb)
1226 ev = (struct wmi_chan_info_event *)skb->data;
1283 static void ath10k_wmi_event_echo(struct ath10k *ar, struct sk_buff *skb)
1288 static int ath10k_wmi_event_debug_mesg(struct ath10k *ar, struct sk_buff *skb)
1291 skb->len);
1293 trace_ath10k_wmi_dbglog(ar, skb->data, skb->len);
1299 struct sk_buff *skb)
1301 struct wmi_stats_event *ev = (struct wmi_stats_event *)skb->data;
1309 struct sk_buff *skb)
1315 ev = (struct wmi_vdev_start_response_event *)skb->data;
1324 struct sk_buff *skb)
1331 struct sk_buff *skb)
1336 ev = (struct wmi_peer_sta_kickout_event *)skb->data;
1574 static void ath10k_wmi_event_host_swba(struct ath10k *ar, struct sk_buff *skb)
1584 ev = (struct wmi_host_swba_event *)skb->data;
1678 struct sk_buff *skb)
1919 static void ath10k_wmi_event_phyerr(struct ath10k *ar, struct sk_buff *skb)
1925 int left_len = skb->len;
1938 comb_event = (struct wmi_comb_phyerr_rx_event *)skb->data;
1989 static void ath10k_wmi_event_roam(struct ath10k *ar, struct sk_buff *skb)
1995 struct sk_buff *skb)
2001 struct sk_buff *skb)
2007 if (i >= skb->len)
2010 c = skb->data[i];
2022 ath10k_warn(ar, "wmi debug print truncated: %d\n", skb->len);
2025 if (skb->data[i - 1] == '\n')
2034 static void ath10k_wmi_event_pdev_qvit(struct ath10k *ar, struct sk_buff *skb)
2040 struct sk_buff *skb)
2046 struct sk_buff *skb)
2052 struct sk_buff *skb)
2058 struct sk_buff *skb)
2064 struct sk_buff *skb)
2070 struct sk_buff *skb)
2076 struct sk_buff *skb)
2082 struct sk_buff *skb)
2088 struct sk_buff *skb)
2094 struct sk_buff *skb)
2100 struct sk_buff *skb)
2106 struct sk_buff *skb)
2112 struct sk_buff *skb)
2118 struct sk_buff *skb)
2124 struct sk_buff *skb)
2130 struct sk_buff *skb)
2167 struct sk_buff *skb)
2169 struct wmi_service_ready_event *ev = (void *)skb->data;
2172 if (skb->len < sizeof(*ev)) {
2174 skb->len, sizeof(*ev));
2242 struct sk_buff *skb)
2246 struct wmi_service_ready_event_10x *ev = (void *)skb->data;
2249 if (skb->len < sizeof(*ev)) {
2251 skb->len, sizeof(*ev));
2346 static int ath10k_wmi_ready_event_rx(struct ath10k *ar, struct sk_buff *skb)
2348 struct wmi_ready_event *ev = (struct wmi_ready_event *)skb->data;
2350 if (WARN_ON(skb->len < sizeof(*ev)))
2356 "wmi event ready sw_version %u abi_version %u mac_addr %pM status %d skb->len %i ev-sz %zu\n",
2360 __le32_to_cpu(ev->status), skb->len, sizeof(*ev));
2366 static void ath10k_wmi_main_process_rx(struct ath10k *ar, struct sk_buff *skb)
2371 cmd_hdr = (struct wmi_cmd_hdr *)skb->data;
2374 if (skb_pull(skb, sizeof(struct wmi_cmd_hdr)) == NULL)
2377 trace_ath10k_wmi_event(ar, id, skb->data, skb->len);
2381 ath10k_wmi_event_mgmt_rx(ar, skb);
2382 /* mgmt_rx() owns the skb now! */
2385 ath10k_wmi_event_scan(ar, skb);
2388 ath10k_wmi_event_chan_info(ar, skb);
2391 ath10k_wmi_event_echo(ar, skb);
2394 ath10k_wmi_event_debug_mesg(ar, skb);
2397 ath10k_wmi_event_update_stats(ar, skb);
2400 ath10k_wmi_event_vdev_start_resp(ar, skb);
2403 ath10k_wmi_event_vdev_stopped(ar, skb);
2406 ath10k_wmi_event_peer_sta_kickout(ar, skb);
2409 ath10k_wmi_event_host_swba(ar, skb);
2412 ath10k_wmi_event_tbttoffset_update(ar, skb);
2415 ath10k_wmi_event_phyerr(ar, skb);
2418 ath10k_wmi_event_roam(ar, skb);
2421 ath10k_wmi_event_profile_match(ar, skb);
2424 ath10k_wmi_event_debug_print(ar, skb);
2427 ath10k_wmi_event_pdev_qvit(ar, skb);
2430 ath10k_wmi_event_wlan_profile_data(ar, skb);
2433 ath10k_wmi_event_rtt_measurement_report(ar, skb);
2436 ath10k_wmi_event_tsf_measurement_report(ar, skb);
2439 ath10k_wmi_event_rtt_error_report(ar, skb);
2442 ath10k_wmi_event_wow_wakeup_host(ar, skb);
2445 ath10k_wmi_event_dcs_interference(ar, skb);
2448 ath10k_wmi_event_pdev_tpc_config(ar, skb);
2451 ath10k_wmi_event_pdev_ftm_intg(ar, skb);
2454 ath10k_wmi_event_gtk_offload_status(ar, skb);
2457 ath10k_wmi_event_gtk_rekey_fail(ar, skb);
2460 ath10k_wmi_event_delba_complete(ar, skb);
2463 ath10k_wmi_event_addba_complete(ar, skb);
2466 ath10k_wmi_event_vdev_install_key_complete(ar, skb);
2469 ath10k_wmi_service_ready_event_rx(ar, skb);
2472 ath10k_wmi_ready_event_rx(ar, skb);
2479 dev_kfree_skb(skb);
2482 static void ath10k_wmi_10x_process_rx(struct ath10k *ar, struct sk_buff *skb)
2488 cmd_hdr = (struct wmi_cmd_hdr *)skb->data;
2491 if (skb_pull(skb, sizeof(struct wmi_cmd_hdr)) == NULL)
2494 trace_ath10k_wmi_event(ar, id, skb->data, skb->len);
2496 consumed = ath10k_tm_event_wmi(ar, id, skb);
2510 ath10k_wmi_event_mgmt_rx(ar, skb);
2511 /* mgmt_rx() owns the skb now! */
2514 ath10k_wmi_event_scan(ar, skb);
2517 ath10k_wmi_event_chan_info(ar, skb);
2520 ath10k_wmi_event_echo(ar, skb);
2523 ath10k_wmi_event_debug_mesg(ar, skb);
2526 ath10k_wmi_event_update_stats(ar, skb);
2529 ath10k_wmi_event_vdev_start_resp(ar, skb);
2532 ath10k_wmi_event_vdev_stopped(ar, skb);
2535 ath10k_wmi_event_peer_sta_kickout(ar, skb);
2538 ath10k_wmi_event_host_swba(ar, skb);
2541 ath10k_wmi_event_tbttoffset_update(ar, skb);
2544 ath10k_wmi_event_phyerr(ar, skb);
2547 ath10k_wmi_event_roam(ar, skb);
2550 ath10k_wmi_event_profile_match(ar, skb);
2553 ath10k_wmi_event_debug_print(ar, skb);
2556 ath10k_wmi_event_pdev_qvit(ar, skb);
2559 ath10k_wmi_event_wlan_profile_data(ar, skb);
2562 ath10k_wmi_event_rtt_measurement_report(ar, skb);
2565 ath10k_wmi_event_tsf_measurement_report(ar, skb);
2568 ath10k_wmi_event_rtt_error_report(ar, skb);
2571 ath10k_wmi_event_wow_wakeup_host(ar, skb);
2574 ath10k_wmi_event_dcs_interference(ar, skb);
2577 ath10k_wmi_event_pdev_tpc_config(ar, skb);
2580 ath10k_wmi_event_inst_rssi_stats(ar, skb);
2583 ath10k_wmi_event_vdev_standby_req(ar, skb);
2586 ath10k_wmi_event_vdev_resume_req(ar, skb);
2589 ath10k_wmi_10x_service_ready_event_rx(ar, skb);
2592 ath10k_wmi_ready_event_rx(ar, skb);
2603 dev_kfree_skb(skb);
2606 static void ath10k_wmi_10_2_process_rx(struct ath10k *ar, struct sk_buff *skb)
2611 cmd_hdr = (struct wmi_cmd_hdr *)skb->data;
2614 if (skb_pull(skb, sizeof(struct wmi_cmd_hdr)) == NULL)
2617 trace_ath10k_wmi_event(ar, id, skb->data, skb->len);
2621 ath10k_wmi_event_mgmt_rx(ar, skb);
2622 /* mgmt_rx() owns the skb now! */
2625 ath10k_wmi_event_scan(ar, skb);
2628 ath10k_wmi_event_chan_info(ar, skb);
2631 ath10k_wmi_event_echo(ar, skb);
2634 ath10k_wmi_event_debug_mesg(ar, skb);
2637 ath10k_wmi_event_update_stats(ar, skb);
2640 ath10k_wmi_event_vdev_start_resp(ar, skb);
2643 ath10k_wmi_event_vdev_stopped(ar, skb);
2646 ath10k_wmi_event_peer_sta_kickout(ar, skb);
2649 ath10k_wmi_event_host_swba(ar, skb);
2652 ath10k_wmi_event_tbttoffset_update(ar, skb);
2655 ath10k_wmi_event_phyerr(ar, skb);
2658 ath10k_wmi_event_roam(ar, skb);
2661 ath10k_wmi_event_profile_match(ar, skb);
2664 ath10k_wmi_event_debug_print(ar, skb);
2667 ath10k_wmi_event_pdev_qvit(ar, skb);
2670 ath10k_wmi_event_wlan_profile_data(ar, skb);
2673 ath10k_wmi_event_rtt_measurement_report(ar, skb);
2676 ath10k_wmi_event_tsf_measurement_report(ar, skb);
2679 ath10k_wmi_event_rtt_error_report(ar, skb);
2682 ath10k_wmi_event_wow_wakeup_host(ar, skb);
2685 ath10k_wmi_event_dcs_interference(ar, skb);
2688 ath10k_wmi_event_pdev_tpc_config(ar, skb);
2691 ath10k_wmi_event_inst_rssi_stats(ar, skb);
2694 ath10k_wmi_event_vdev_standby_req(ar, skb);
2697 ath10k_wmi_event_vdev_resume_req(ar, skb);
2700 ath10k_wmi_10x_service_ready_event_rx(ar, skb);
2703 ath10k_wmi_ready_event_rx(ar, skb);
2720 dev_kfree_skb(skb);
2723 static void ath10k_wmi_process_rx(struct ath10k *ar, struct sk_buff *skb)
2727 ath10k_wmi_10_2_process_rx(ar, skb);
2729 ath10k_wmi_10x_process_rx(ar, skb);
2731 ath10k_wmi_main_process_rx(ar, skb);
2807 struct sk_buff *skb;
2809 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd));
2810 if (!skb)
2813 cmd = (struct wmi_pdev_set_regdomain_cmd *)skb->data;
2824 return ath10k_wmi_cmd_send(ar, skb,
2834 struct sk_buff *skb;
2836 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd));
2837 if (!skb)
2840 cmd = (struct wmi_pdev_set_regdomain_cmd_10x *)skb->data;
2852 return ath10k_wmi_cmd_send(ar, skb,
2872 struct sk_buff *skb;
2878 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd));
2879 if (!skb)
2885 cmd = (struct wmi_set_channel_cmd *)skb->data;
2900 return ath10k_wmi_cmd_send(ar, skb,
2907 struct sk_buff *skb;
2909 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd));
2910 if (!skb)
2913 cmd = (struct wmi_pdev_suspend_cmd *)skb->data;
2916 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->pdev_suspend_cmdid);
2921 struct sk_buff *skb;
2923 skb = ath10k_wmi_alloc_skb(ar, 0);
2924 if (skb == NULL)
2927 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->pdev_resume_cmdid);
2933 struct sk_buff *skb;
2941 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd));
2942 if (!skb)
2945 cmd = (struct wmi_pdev_set_param_cmd *)skb->data;
2951 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->pdev_set_param_cmdid);
3308 struct sk_buff *skb;
3323 skb = ath10k_wmi_alloc_skb(ar, len);
3324 if (!skb)
3333 cmd = (struct wmi_start_scan_cmd *)skb->data;
3361 channels = (void *)skb->data + off;
3374 ssids = (void *)skb->data + off;
3391 bssids = (void *)skb->data + off;
3405 ie = (void *)skb->data + off;
3414 if (off != skb->len) {
3415 dev_kfree_skb(skb);
3420 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->start_scan_cmdid);
3452 struct sk_buff *skb;
3461 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd));
3462 if (!skb)
3471 cmd = (struct wmi_stop_scan_cmd *)skb->data;
3480 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->stop_scan_cmdid);
3489 struct sk_buff *skb;
3491 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd));
3492 if (!skb)
3495 cmd = (struct wmi_vdev_create_cmd *)skb->data;
3505 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_create_cmdid);
3511 struct sk_buff *skb;
3513 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd));
3514 if (!skb)
3517 cmd = (struct wmi_vdev_delete_cmd *)skb->data;
3523 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_delete_cmdid);
3532 struct sk_buff *skb;
3554 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd));
3555 if (!skb)
3565 cmd = (struct wmi_vdev_start_request_cmd *)skb->data;
3598 return ath10k_wmi_cmd_send(ar, skb, cmd_id);
3620 struct sk_buff *skb;
3622 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd));
3623 if (!skb)
3626 cmd = (struct wmi_vdev_stop_cmd *)skb->data;
3631 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_stop_cmdid);
3637 struct sk_buff *skb;
3639 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd));
3640 if (!skb)
3643 cmd = (struct wmi_vdev_up_cmd *)skb->data;
3652 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_up_cmdid);
3658 struct sk_buff *skb;
3660 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd));
3661 if (!skb)
3664 cmd = (struct wmi_vdev_down_cmd *)skb->data;
3670 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_down_cmdid);
3677 struct sk_buff *skb;
3686 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd));
3687 if (!skb)
3690 cmd = (struct wmi_vdev_set_param_cmd *)skb->data;
3699 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_set_param_cmdid);
3706 struct sk_buff *skb;
3713 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd) + arg->key_len);
3714 if (!skb)
3717 cmd = (struct wmi_vdev_install_key_cmd *)skb->data;
3734 return ath10k_wmi_cmd_send(ar, skb,
3742 struct sk_buff *skb;
3745 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd));
3746 if (!skb)
3749 cmd = (struct wmi_vdev_spectral_conf_cmd *)skb->data;
3771 return ath10k_wmi_cmd_send(ar, skb, cmdid);
3778 struct sk_buff *skb;
3781 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd));
3782 if (!skb)
3785 cmd = (struct wmi_vdev_spectral_enable_cmd *)skb->data;
3791 return ath10k_wmi_cmd_send(ar, skb, cmdid);
3798 struct sk_buff *skb;
3800 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd));
3801 if (!skb)
3804 cmd = (struct wmi_peer_create_cmd *)skb->data;
3811 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->peer_create_cmdid);
3818 struct sk_buff *skb;
3820 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd));
3821 if (!skb)
3824 cmd = (struct wmi_peer_delete_cmd *)skb->data;
3831 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->peer_delete_cmdid);
3838 struct sk_buff *skb;
3840 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd));
3841 if (!skb)
3844 cmd = (struct wmi_peer_flush_tids_cmd *)skb->data;
3852 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->peer_flush_tids_cmdid);
3860 struct sk_buff *skb;
3862 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd));
3863 if (!skb)
3866 cmd = (struct wmi_peer_set_param_cmd *)skb->data;
3876 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->peer_set_param_cmdid);
3883 struct sk_buff *skb;
3885 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd));
3886 if (!skb)
3889 cmd = (struct wmi_sta_powersave_mode_cmd *)skb->data;
3897 return ath10k_wmi_cmd_send(ar, skb,
3906 struct sk_buff *skb;
3908 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd));
3909 if (!skb)
3912 cmd = (struct wmi_sta_powersave_param_cmd *)skb->data;
3920 return ath10k_wmi_cmd_send(ar, skb,
3928 struct sk_buff *skb;
3933 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd));
3934 if (!skb)
3937 cmd = (struct wmi_ap_ps_peer_cmd *)skb->data;
3947 return ath10k_wmi_cmd_send(ar, skb,
3955 struct sk_buff *skb;
3963 skb = ath10k_wmi_alloc_skb(ar, len);
3964 if (!skb)
3967 cmd = (struct wmi_scan_chan_list_cmd *)skb->data;
4002 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->scan_chan_list_cmdid);
4086 struct sk_buff *skb;
4105 skb = ath10k_wmi_alloc_skb(ar, len);
4106 if (!skb)
4111 ath10k_wmi_peer_assoc_fill_10_1(ar, skb->data, arg);
4113 ath10k_wmi_peer_assoc_fill_10_2(ar, skb->data, arg);
4115 ath10k_wmi_peer_assoc_fill_main(ar, skb->data, arg);
4122 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->peer_assoc_cmdid);
4129 struct sk_buff *skb;
4136 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd));
4137 if (!skb)
4143 cmd = (struct wmi_bcn_tx_ref_cmd *)skb->data;
4158 ret = ath10k_wmi_cmd_send_nowait(ar, skb,
4162 dev_kfree_skb(skb);
4182 struct sk_buff *skb;
4184 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd));
4185 if (!skb)
4188 cmd = (struct wmi_pdev_set_wmm_params *)skb->data;
4195 return ath10k_wmi_cmd_send(ar, skb,
4202 struct sk_buff *skb;
4204 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd));
4205 if (!skb)
4208 cmd = (struct wmi_request_stats_cmd *)skb->data;
4212 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->request_stats_cmdid);
4219 struct sk_buff *skb;
4221 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd));
4222 if (!skb)
4225 cmd = (struct wmi_force_fw_hang_cmd *)skb->data;
4231 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->force_fw_hang_cmdid);
4237 struct sk_buff *skb;
4240 skb = ath10k_wmi_alloc_skb(ar, sizeof(*cmd));
4241 if (!skb)
4244 cmd = (struct wmi_dbglog_cfg_cmd *)skb->data;
4268 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->dbglog_cfg_cmdid);