Lines Matching refs:skb
25 void (*rx)(struct ath10k *ar, struct sk_buff *skb);
28 int (*pull_scan)(struct ath10k *ar, struct sk_buff *skb,
30 int (*pull_mgmt_rx)(struct ath10k *ar, struct sk_buff *skb,
32 int (*pull_ch_info)(struct ath10k *ar, struct sk_buff *skb,
34 int (*pull_vdev_start)(struct ath10k *ar, struct sk_buff *skb,
36 int (*pull_peer_kick)(struct ath10k *ar, struct sk_buff *skb,
38 int (*pull_swba)(struct ath10k *ar, struct sk_buff *skb,
40 int (*pull_phyerr)(struct ath10k *ar, struct sk_buff *skb,
42 int (*pull_svc_rdy)(struct ath10k *ar, struct sk_buff *skb,
44 int (*pull_rdy)(struct ath10k *ar, struct sk_buff *skb,
46 int (*pull_fw_stats)(struct ath10k *ar, struct sk_buff *skb,
117 struct sk_buff *(*gen_mgmt_tx)(struct ath10k *ar, struct sk_buff *skb);
153 int ath10k_wmi_cmd_send(struct ath10k *ar, struct sk_buff *skb, u32 cmd_id);
156 ath10k_wmi_rx(struct ath10k *ar, struct sk_buff *skb) in ath10k_wmi_rx() argument
161 ar->wmi.ops->rx(ar, skb); in ath10k_wmi_rx()
177 ath10k_wmi_pull_scan(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_scan() argument
183 return ar->wmi.ops->pull_scan(ar, skb, arg); in ath10k_wmi_pull_scan()
187 ath10k_wmi_pull_mgmt_rx(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_mgmt_rx() argument
193 return ar->wmi.ops->pull_mgmt_rx(ar, skb, arg); in ath10k_wmi_pull_mgmt_rx()
197 ath10k_wmi_pull_ch_info(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_ch_info() argument
203 return ar->wmi.ops->pull_ch_info(ar, skb, arg); in ath10k_wmi_pull_ch_info()
207 ath10k_wmi_pull_vdev_start(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_vdev_start() argument
213 return ar->wmi.ops->pull_vdev_start(ar, skb, arg); in ath10k_wmi_pull_vdev_start()
217 ath10k_wmi_pull_peer_kick(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_peer_kick() argument
223 return ar->wmi.ops->pull_peer_kick(ar, skb, arg); in ath10k_wmi_pull_peer_kick()
227 ath10k_wmi_pull_swba(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_swba() argument
233 return ar->wmi.ops->pull_swba(ar, skb, arg); in ath10k_wmi_pull_swba()
237 ath10k_wmi_pull_phyerr(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_phyerr() argument
243 return ar->wmi.ops->pull_phyerr(ar, skb, arg); in ath10k_wmi_pull_phyerr()
247 ath10k_wmi_pull_svc_rdy(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_svc_rdy() argument
253 return ar->wmi.ops->pull_svc_rdy(ar, skb, arg); in ath10k_wmi_pull_svc_rdy()
257 ath10k_wmi_pull_rdy(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_rdy() argument
263 return ar->wmi.ops->pull_rdy(ar, skb, arg); in ath10k_wmi_pull_rdy()
267 ath10k_wmi_pull_fw_stats(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_fw_stats() argument
273 return ar->wmi.ops->pull_fw_stats(ar, skb, stats); in ath10k_wmi_pull_fw_stats()
280 struct sk_buff *skb; in ath10k_wmi_mgmt_tx() local
286 skb = ar->wmi.ops->gen_mgmt_tx(ar, msdu); in ath10k_wmi_mgmt_tx()
287 if (IS_ERR(skb)) in ath10k_wmi_mgmt_tx()
288 return PTR_ERR(skb); in ath10k_wmi_mgmt_tx()
290 ret = ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->mgmt_tx_cmdid); in ath10k_wmi_mgmt_tx()
307 struct sk_buff *skb; in ath10k_wmi_pdev_set_regdomain() local
312 skb = ar->wmi.ops->gen_pdev_set_rd(ar, rd, rd2g, rd5g, ctl2g, ctl5g, in ath10k_wmi_pdev_set_regdomain()
314 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_regdomain()
315 return PTR_ERR(skb); in ath10k_wmi_pdev_set_regdomain()
317 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_pdev_set_regdomain()
324 struct sk_buff *skb; in ath10k_wmi_pdev_suspend_target() local
329 skb = ar->wmi.ops->gen_pdev_suspend(ar, suspend_opt); in ath10k_wmi_pdev_suspend_target()
330 if (IS_ERR(skb)) in ath10k_wmi_pdev_suspend_target()
331 return PTR_ERR(skb); in ath10k_wmi_pdev_suspend_target()
333 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->pdev_suspend_cmdid); in ath10k_wmi_pdev_suspend_target()
339 struct sk_buff *skb; in ath10k_wmi_pdev_resume_target() local
344 skb = ar->wmi.ops->gen_pdev_resume(ar); in ath10k_wmi_pdev_resume_target()
345 if (IS_ERR(skb)) in ath10k_wmi_pdev_resume_target()
346 return PTR_ERR(skb); in ath10k_wmi_pdev_resume_target()
348 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->pdev_resume_cmdid); in ath10k_wmi_pdev_resume_target()
354 struct sk_buff *skb; in ath10k_wmi_pdev_set_param() local
359 skb = ar->wmi.ops->gen_pdev_set_param(ar, id, value); in ath10k_wmi_pdev_set_param()
360 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_param()
361 return PTR_ERR(skb); in ath10k_wmi_pdev_set_param()
363 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->pdev_set_param_cmdid); in ath10k_wmi_pdev_set_param()
369 struct sk_buff *skb; in ath10k_wmi_cmd_init() local
374 skb = ar->wmi.ops->gen_init(ar); in ath10k_wmi_cmd_init()
375 if (IS_ERR(skb)) in ath10k_wmi_cmd_init()
376 return PTR_ERR(skb); in ath10k_wmi_cmd_init()
378 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->init_cmdid); in ath10k_wmi_cmd_init()
385 struct sk_buff *skb; in ath10k_wmi_start_scan() local
390 skb = ar->wmi.ops->gen_start_scan(ar, arg); in ath10k_wmi_start_scan()
391 if (IS_ERR(skb)) in ath10k_wmi_start_scan()
392 return PTR_ERR(skb); in ath10k_wmi_start_scan()
394 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->start_scan_cmdid); in ath10k_wmi_start_scan()
400 struct sk_buff *skb; in ath10k_wmi_stop_scan() local
405 skb = ar->wmi.ops->gen_stop_scan(ar, arg); in ath10k_wmi_stop_scan()
406 if (IS_ERR(skb)) in ath10k_wmi_stop_scan()
407 return PTR_ERR(skb); in ath10k_wmi_stop_scan()
409 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->stop_scan_cmdid); in ath10k_wmi_stop_scan()
418 struct sk_buff *skb; in ath10k_wmi_vdev_create() local
423 skb = ar->wmi.ops->gen_vdev_create(ar, vdev_id, type, subtype, macaddr); in ath10k_wmi_vdev_create()
424 if (IS_ERR(skb)) in ath10k_wmi_vdev_create()
425 return PTR_ERR(skb); in ath10k_wmi_vdev_create()
427 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_create_cmdid); in ath10k_wmi_vdev_create()
433 struct sk_buff *skb; in ath10k_wmi_vdev_delete() local
438 skb = ar->wmi.ops->gen_vdev_delete(ar, vdev_id); in ath10k_wmi_vdev_delete()
439 if (IS_ERR(skb)) in ath10k_wmi_vdev_delete()
440 return PTR_ERR(skb); in ath10k_wmi_vdev_delete()
442 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_delete_cmdid); in ath10k_wmi_vdev_delete()
449 struct sk_buff *skb; in ath10k_wmi_vdev_start() local
454 skb = ar->wmi.ops->gen_vdev_start(ar, arg, false); in ath10k_wmi_vdev_start()
455 if (IS_ERR(skb)) in ath10k_wmi_vdev_start()
456 return PTR_ERR(skb); in ath10k_wmi_vdev_start()
458 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_vdev_start()
466 struct sk_buff *skb; in ath10k_wmi_vdev_restart() local
471 skb = ar->wmi.ops->gen_vdev_start(ar, arg, true); in ath10k_wmi_vdev_restart()
472 if (IS_ERR(skb)) in ath10k_wmi_vdev_restart()
473 return PTR_ERR(skb); in ath10k_wmi_vdev_restart()
475 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_vdev_restart()
482 struct sk_buff *skb; in ath10k_wmi_vdev_stop() local
487 skb = ar->wmi.ops->gen_vdev_stop(ar, vdev_id); in ath10k_wmi_vdev_stop()
488 if (IS_ERR(skb)) in ath10k_wmi_vdev_stop()
489 return PTR_ERR(skb); in ath10k_wmi_vdev_stop()
491 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_stop_cmdid); in ath10k_wmi_vdev_stop()
497 struct sk_buff *skb; in ath10k_wmi_vdev_up() local
502 skb = ar->wmi.ops->gen_vdev_up(ar, vdev_id, aid, bssid); in ath10k_wmi_vdev_up()
503 if (IS_ERR(skb)) in ath10k_wmi_vdev_up()
504 return PTR_ERR(skb); in ath10k_wmi_vdev_up()
506 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_up_cmdid); in ath10k_wmi_vdev_up()
512 struct sk_buff *skb; in ath10k_wmi_vdev_down() local
517 skb = ar->wmi.ops->gen_vdev_down(ar, vdev_id); in ath10k_wmi_vdev_down()
518 if (IS_ERR(skb)) in ath10k_wmi_vdev_down()
519 return PTR_ERR(skb); in ath10k_wmi_vdev_down()
521 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_down_cmdid); in ath10k_wmi_vdev_down()
528 struct sk_buff *skb; in ath10k_wmi_vdev_set_param() local
533 skb = ar->wmi.ops->gen_vdev_set_param(ar, vdev_id, param_id, in ath10k_wmi_vdev_set_param()
535 if (IS_ERR(skb)) in ath10k_wmi_vdev_set_param()
536 return PTR_ERR(skb); in ath10k_wmi_vdev_set_param()
538 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_set_param_cmdid); in ath10k_wmi_vdev_set_param()
545 struct sk_buff *skb; in ath10k_wmi_vdev_install_key() local
550 skb = ar->wmi.ops->gen_vdev_install_key(ar, arg); in ath10k_wmi_vdev_install_key()
551 if (IS_ERR(skb)) in ath10k_wmi_vdev_install_key()
552 return PTR_ERR(skb); in ath10k_wmi_vdev_install_key()
554 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_vdev_install_key()
562 struct sk_buff *skb; in ath10k_wmi_vdev_spectral_conf() local
565 skb = ar->wmi.ops->gen_vdev_spectral_conf(ar, arg); in ath10k_wmi_vdev_spectral_conf()
566 if (IS_ERR(skb)) in ath10k_wmi_vdev_spectral_conf()
567 return PTR_ERR(skb); in ath10k_wmi_vdev_spectral_conf()
570 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_vdev_spectral_conf()
577 struct sk_buff *skb; in ath10k_wmi_vdev_spectral_enable() local
580 skb = ar->wmi.ops->gen_vdev_spectral_enable(ar, vdev_id, trigger, in ath10k_wmi_vdev_spectral_enable()
582 if (IS_ERR(skb)) in ath10k_wmi_vdev_spectral_enable()
583 return PTR_ERR(skb); in ath10k_wmi_vdev_spectral_enable()
586 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_vdev_spectral_enable()
595 struct sk_buff *skb; in ath10k_wmi_vdev_sta_uapsd() local
601 skb = ar->wmi.ops->gen_vdev_sta_uapsd(ar, vdev_id, peer_addr, args, in ath10k_wmi_vdev_sta_uapsd()
603 if (IS_ERR(skb)) in ath10k_wmi_vdev_sta_uapsd()
604 return PTR_ERR(skb); in ath10k_wmi_vdev_sta_uapsd()
607 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_vdev_sta_uapsd()
614 struct sk_buff *skb; in ath10k_wmi_vdev_wmm_conf() local
617 skb = ar->wmi.ops->gen_vdev_wmm_conf(ar, vdev_id, arg); in ath10k_wmi_vdev_wmm_conf()
618 if (IS_ERR(skb)) in ath10k_wmi_vdev_wmm_conf()
619 return PTR_ERR(skb); in ath10k_wmi_vdev_wmm_conf()
622 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_vdev_wmm_conf()
629 struct sk_buff *skb; in ath10k_wmi_peer_create() local
634 skb = ar->wmi.ops->gen_peer_create(ar, vdev_id, peer_addr); in ath10k_wmi_peer_create()
635 if (IS_ERR(skb)) in ath10k_wmi_peer_create()
636 return PTR_ERR(skb); in ath10k_wmi_peer_create()
638 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->peer_create_cmdid); in ath10k_wmi_peer_create()
645 struct sk_buff *skb; in ath10k_wmi_peer_delete() local
650 skb = ar->wmi.ops->gen_peer_delete(ar, vdev_id, peer_addr); in ath10k_wmi_peer_delete()
651 if (IS_ERR(skb)) in ath10k_wmi_peer_delete()
652 return PTR_ERR(skb); in ath10k_wmi_peer_delete()
654 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->peer_delete_cmdid); in ath10k_wmi_peer_delete()
661 struct sk_buff *skb; in ath10k_wmi_peer_flush() local
666 skb = ar->wmi.ops->gen_peer_flush(ar, vdev_id, peer_addr, tid_bitmap); in ath10k_wmi_peer_flush()
667 if (IS_ERR(skb)) in ath10k_wmi_peer_flush()
668 return PTR_ERR(skb); in ath10k_wmi_peer_flush()
670 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->peer_flush_tids_cmdid); in ath10k_wmi_peer_flush()
677 struct sk_buff *skb; in ath10k_wmi_peer_set_param() local
682 skb = ar->wmi.ops->gen_peer_set_param(ar, vdev_id, peer_addr, param_id, in ath10k_wmi_peer_set_param()
684 if (IS_ERR(skb)) in ath10k_wmi_peer_set_param()
685 return PTR_ERR(skb); in ath10k_wmi_peer_set_param()
687 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->peer_set_param_cmdid); in ath10k_wmi_peer_set_param()
694 struct sk_buff *skb; in ath10k_wmi_set_psmode() local
699 skb = ar->wmi.ops->gen_set_psmode(ar, vdev_id, psmode); in ath10k_wmi_set_psmode()
700 if (IS_ERR(skb)) in ath10k_wmi_set_psmode()
701 return PTR_ERR(skb); in ath10k_wmi_set_psmode()
703 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_set_psmode()
711 struct sk_buff *skb; in ath10k_wmi_set_sta_ps_param() local
716 skb = ar->wmi.ops->gen_set_sta_ps(ar, vdev_id, param_id, value); in ath10k_wmi_set_sta_ps_param()
717 if (IS_ERR(skb)) in ath10k_wmi_set_sta_ps_param()
718 return PTR_ERR(skb); in ath10k_wmi_set_sta_ps_param()
720 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_set_sta_ps_param()
728 struct sk_buff *skb; in ath10k_wmi_set_ap_ps_param() local
733 skb = ar->wmi.ops->gen_set_ap_ps(ar, vdev_id, mac, param_id, value); in ath10k_wmi_set_ap_ps_param()
734 if (IS_ERR(skb)) in ath10k_wmi_set_ap_ps_param()
735 return PTR_ERR(skb); in ath10k_wmi_set_ap_ps_param()
737 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_set_ap_ps_param()
745 struct sk_buff *skb; in ath10k_wmi_scan_chan_list() local
750 skb = ar->wmi.ops->gen_scan_chan_list(ar, arg); in ath10k_wmi_scan_chan_list()
751 if (IS_ERR(skb)) in ath10k_wmi_scan_chan_list()
752 return PTR_ERR(skb); in ath10k_wmi_scan_chan_list()
754 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->scan_chan_list_cmdid); in ath10k_wmi_scan_chan_list()
761 struct sk_buff *skb; in ath10k_wmi_peer_assoc() local
766 skb = ar->wmi.ops->gen_peer_assoc(ar, arg); in ath10k_wmi_peer_assoc()
767 if (IS_ERR(skb)) in ath10k_wmi_peer_assoc()
768 return PTR_ERR(skb); in ath10k_wmi_peer_assoc()
770 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->peer_assoc_cmdid); in ath10k_wmi_peer_assoc()
779 struct sk_buff *skb; in ath10k_wmi_beacon_send_ref_nowait() local
785 skb = ar->wmi.ops->gen_beacon_dma(ar, vdev_id, bcn, bcn_len, bcn_paddr, in ath10k_wmi_beacon_send_ref_nowait()
787 if (IS_ERR(skb)) in ath10k_wmi_beacon_send_ref_nowait()
788 return PTR_ERR(skb); in ath10k_wmi_beacon_send_ref_nowait()
790 ret = ath10k_wmi_cmd_send_nowait(ar, skb, in ath10k_wmi_beacon_send_ref_nowait()
793 dev_kfree_skb(skb); in ath10k_wmi_beacon_send_ref_nowait()
804 struct sk_buff *skb; in ath10k_wmi_pdev_set_wmm_params() local
809 skb = ar->wmi.ops->gen_pdev_set_wmm(ar, arg); in ath10k_wmi_pdev_set_wmm_params()
810 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_wmm_params()
811 return PTR_ERR(skb); in ath10k_wmi_pdev_set_wmm_params()
813 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_pdev_set_wmm_params()
820 struct sk_buff *skb; in ath10k_wmi_request_stats() local
825 skb = ar->wmi.ops->gen_request_stats(ar, stats_mask); in ath10k_wmi_request_stats()
826 if (IS_ERR(skb)) in ath10k_wmi_request_stats()
827 return PTR_ERR(skb); in ath10k_wmi_request_stats()
829 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->request_stats_cmdid); in ath10k_wmi_request_stats()
836 struct sk_buff *skb; in ath10k_wmi_force_fw_hang() local
841 skb = ar->wmi.ops->gen_force_fw_hang(ar, type, delay_ms); in ath10k_wmi_force_fw_hang()
842 if (IS_ERR(skb)) in ath10k_wmi_force_fw_hang()
843 return PTR_ERR(skb); in ath10k_wmi_force_fw_hang()
845 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->force_fw_hang_cmdid); in ath10k_wmi_force_fw_hang()
851 struct sk_buff *skb; in ath10k_wmi_dbglog_cfg() local
856 skb = ar->wmi.ops->gen_dbglog_cfg(ar, module_enable, log_level); in ath10k_wmi_dbglog_cfg()
857 if (IS_ERR(skb)) in ath10k_wmi_dbglog_cfg()
858 return PTR_ERR(skb); in ath10k_wmi_dbglog_cfg()
860 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->dbglog_cfg_cmdid); in ath10k_wmi_dbglog_cfg()
866 struct sk_buff *skb; in ath10k_wmi_pdev_pktlog_enable() local
871 skb = ar->wmi.ops->gen_pktlog_enable(ar, filter); in ath10k_wmi_pdev_pktlog_enable()
872 if (IS_ERR(skb)) in ath10k_wmi_pdev_pktlog_enable()
873 return PTR_ERR(skb); in ath10k_wmi_pdev_pktlog_enable()
875 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->pdev_pktlog_enable_cmdid); in ath10k_wmi_pdev_pktlog_enable()
881 struct sk_buff *skb; in ath10k_wmi_pdev_pktlog_disable() local
886 skb = ar->wmi.ops->gen_pktlog_disable(ar); in ath10k_wmi_pdev_pktlog_disable()
887 if (IS_ERR(skb)) in ath10k_wmi_pdev_pktlog_disable()
888 return PTR_ERR(skb); in ath10k_wmi_pdev_pktlog_disable()
890 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_pdev_pktlog_disable()
898 struct sk_buff *skb; in ath10k_wmi_pdev_set_quiet_mode() local
903 skb = ar->wmi.ops->gen_pdev_set_quiet_mode(ar, period, duration, in ath10k_wmi_pdev_set_quiet_mode()
905 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_quiet_mode()
906 return PTR_ERR(skb); in ath10k_wmi_pdev_set_quiet_mode()
908 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_pdev_set_quiet_mode()
915 struct sk_buff *skb; in ath10k_wmi_pdev_get_temperature() local
920 skb = ar->wmi.ops->gen_pdev_get_temperature(ar); in ath10k_wmi_pdev_get_temperature()
921 if (IS_ERR(skb)) in ath10k_wmi_pdev_get_temperature()
922 return PTR_ERR(skb); in ath10k_wmi_pdev_get_temperature()
924 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_pdev_get_temperature()
931 struct sk_buff *skb; in ath10k_wmi_addba_clear_resp() local
936 skb = ar->wmi.ops->gen_addba_clear_resp(ar, vdev_id, mac); in ath10k_wmi_addba_clear_resp()
937 if (IS_ERR(skb)) in ath10k_wmi_addba_clear_resp()
938 return PTR_ERR(skb); in ath10k_wmi_addba_clear_resp()
940 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_addba_clear_resp()
948 struct sk_buff *skb; in ath10k_wmi_addba_send() local
953 skb = ar->wmi.ops->gen_addba_send(ar, vdev_id, mac, tid, buf_size); in ath10k_wmi_addba_send()
954 if (IS_ERR(skb)) in ath10k_wmi_addba_send()
955 return PTR_ERR(skb); in ath10k_wmi_addba_send()
957 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_addba_send()
965 struct sk_buff *skb; in ath10k_wmi_addba_set_resp() local
970 skb = ar->wmi.ops->gen_addba_set_resp(ar, vdev_id, mac, tid, status); in ath10k_wmi_addba_set_resp()
971 if (IS_ERR(skb)) in ath10k_wmi_addba_set_resp()
972 return PTR_ERR(skb); in ath10k_wmi_addba_set_resp()
974 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_addba_set_resp()
982 struct sk_buff *skb; in ath10k_wmi_delba_send() local
987 skb = ar->wmi.ops->gen_delba_send(ar, vdev_id, mac, tid, initiator, in ath10k_wmi_delba_send()
989 if (IS_ERR(skb)) in ath10k_wmi_delba_send()
990 return PTR_ERR(skb); in ath10k_wmi_delba_send()
992 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_delba_send()
1001 struct sk_buff *skb; in ath10k_wmi_bcn_tmpl() local
1006 skb = ar->wmi.ops->gen_bcn_tmpl(ar, vdev_id, tim_ie_offset, bcn, in ath10k_wmi_bcn_tmpl()
1009 if (IS_ERR(skb)) in ath10k_wmi_bcn_tmpl()
1010 return PTR_ERR(skb); in ath10k_wmi_bcn_tmpl()
1012 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->bcn_tmpl_cmdid); in ath10k_wmi_bcn_tmpl()
1018 struct sk_buff *skb; in ath10k_wmi_prb_tmpl() local
1023 skb = ar->wmi.ops->gen_prb_tmpl(ar, vdev_id, prb); in ath10k_wmi_prb_tmpl()
1024 if (IS_ERR(skb)) in ath10k_wmi_prb_tmpl()
1025 return PTR_ERR(skb); in ath10k_wmi_prb_tmpl()
1027 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->prb_tmpl_cmdid); in ath10k_wmi_prb_tmpl()
1033 struct sk_buff *skb; in ath10k_wmi_p2p_go_bcn_ie() local
1038 skb = ar->wmi.ops->gen_p2p_go_bcn_ie(ar, vdev_id, p2p_ie); in ath10k_wmi_p2p_go_bcn_ie()
1039 if (IS_ERR(skb)) in ath10k_wmi_p2p_go_bcn_ie()
1040 return PTR_ERR(skb); in ath10k_wmi_p2p_go_bcn_ie()
1042 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->p2p_go_set_beacon_ie); in ath10k_wmi_p2p_go_bcn_ie()
1049 struct sk_buff *skb; in ath10k_wmi_sta_keepalive() local
1055 skb = ar->wmi.ops->gen_sta_keepalive(ar, arg); in ath10k_wmi_sta_keepalive()
1056 if (IS_ERR(skb)) in ath10k_wmi_sta_keepalive()
1057 return PTR_ERR(skb); in ath10k_wmi_sta_keepalive()
1060 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_sta_keepalive()