Lines Matching refs:skb
15 void (*rx)(struct ath10k *ar, struct sk_buff *skb);
19 int (*pull_scan)(struct ath10k *ar, struct sk_buff *skb,
21 int (*pull_mgmt_rx)(struct ath10k *ar, struct sk_buff *skb,
23 int (*pull_mgmt_tx_compl)(struct ath10k *ar, struct sk_buff *skb,
26 struct ath10k *ar, struct sk_buff *skb,
28 int (*pull_ch_info)(struct ath10k *ar, struct sk_buff *skb,
30 int (*pull_vdev_start)(struct ath10k *ar, struct sk_buff *skb,
32 int (*pull_peer_kick)(struct ath10k *ar, struct sk_buff *skb,
34 int (*pull_swba)(struct ath10k *ar, struct sk_buff *skb,
36 int (*pull_phyerr_hdr)(struct ath10k *ar, struct sk_buff *skb,
40 int (*pull_svc_rdy)(struct ath10k *ar, struct sk_buff *skb,
42 int (*pull_rdy)(struct ath10k *ar, struct sk_buff *skb,
44 int (*pull_fw_stats)(struct ath10k *ar, struct sk_buff *skb,
46 int (*pull_roam_ev)(struct ath10k *ar, struct sk_buff *skb,
48 int (*pull_wow_event)(struct ath10k *ar, struct sk_buff *skb,
50 int (*pull_echo_ev)(struct ath10k *ar, struct sk_buff *skb,
52 int (*pull_dfs_status_ev)(struct ath10k *ar, struct sk_buff *skb,
54 int (*pull_svc_avail)(struct ath10k *ar, struct sk_buff *skb,
139 struct sk_buff *(*gen_mgmt_tx)(struct ath10k *ar, struct sk_buff *skb);
141 struct sk_buff *skb,
232 int ath10k_wmi_cmd_send(struct ath10k *ar, struct sk_buff *skb, u32 cmd_id);
235 ath10k_wmi_rx(struct ath10k *ar, struct sk_buff *skb) in ath10k_wmi_rx() argument
240 ar->wmi.ops->rx(ar, skb); in ath10k_wmi_rx()
267 ath10k_wmi_pull_scan(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_scan() argument
273 return ar->wmi.ops->pull_scan(ar, skb, arg); in ath10k_wmi_pull_scan()
277 ath10k_wmi_pull_mgmt_tx_compl(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_mgmt_tx_compl() argument
283 return ar->wmi.ops->pull_mgmt_tx_compl(ar, skb, arg); in ath10k_wmi_pull_mgmt_tx_compl()
287 ath10k_wmi_pull_mgmt_tx_bundle_compl(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_mgmt_tx_bundle_compl() argument
293 return ar->wmi.ops->pull_mgmt_tx_bundle_compl(ar, skb, arg); in ath10k_wmi_pull_mgmt_tx_bundle_compl()
297 ath10k_wmi_pull_mgmt_rx(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_mgmt_rx() argument
303 return ar->wmi.ops->pull_mgmt_rx(ar, skb, arg); in ath10k_wmi_pull_mgmt_rx()
307 ath10k_wmi_pull_ch_info(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_ch_info() argument
313 return ar->wmi.ops->pull_ch_info(ar, skb, arg); in ath10k_wmi_pull_ch_info()
317 ath10k_wmi_pull_vdev_start(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_vdev_start() argument
323 return ar->wmi.ops->pull_vdev_start(ar, skb, arg); in ath10k_wmi_pull_vdev_start()
327 ath10k_wmi_pull_peer_kick(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_peer_kick() argument
333 return ar->wmi.ops->pull_peer_kick(ar, skb, arg); in ath10k_wmi_pull_peer_kick()
337 ath10k_wmi_pull_swba(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_swba() argument
343 return ar->wmi.ops->pull_swba(ar, skb, arg); in ath10k_wmi_pull_swba()
347 ath10k_wmi_pull_phyerr_hdr(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_phyerr_hdr() argument
353 return ar->wmi.ops->pull_phyerr_hdr(ar, skb, arg); in ath10k_wmi_pull_phyerr_hdr()
367 ath10k_wmi_pull_svc_rdy(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_svc_rdy() argument
373 return ar->wmi.ops->pull_svc_rdy(ar, skb, arg); in ath10k_wmi_pull_svc_rdy()
377 ath10k_wmi_pull_rdy(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_rdy() argument
383 return ar->wmi.ops->pull_rdy(ar, skb, arg); in ath10k_wmi_pull_rdy()
387 ath10k_wmi_pull_svc_avail(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_svc_avail() argument
392 return ar->wmi.ops->pull_svc_avail(ar, skb, arg); in ath10k_wmi_pull_svc_avail()
396 ath10k_wmi_pull_fw_stats(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_fw_stats() argument
402 return ar->wmi.ops->pull_fw_stats(ar, skb, stats); in ath10k_wmi_pull_fw_stats()
406 ath10k_wmi_pull_roam_ev(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_roam_ev() argument
412 return ar->wmi.ops->pull_roam_ev(ar, skb, arg); in ath10k_wmi_pull_roam_ev()
416 ath10k_wmi_pull_wow_event(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_wow_event() argument
422 return ar->wmi.ops->pull_wow_event(ar, skb, arg); in ath10k_wmi_pull_wow_event()
426 ath10k_wmi_pull_echo_ev(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_echo_ev() argument
432 return ar->wmi.ops->pull_echo_ev(ar, skb, arg); in ath10k_wmi_pull_echo_ev()
436 ath10k_wmi_pull_dfs_status(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_dfs_status() argument
442 return ar->wmi.ops->pull_dfs_status_ev(ar, skb, arg); in ath10k_wmi_pull_dfs_status()
467 struct sk_buff *skb; in ath10k_wmi_mgmt_tx_send() local
473 skb = ar->wmi.ops->gen_mgmt_tx_send(ar, msdu, paddr); in ath10k_wmi_mgmt_tx_send()
474 if (IS_ERR(skb)) in ath10k_wmi_mgmt_tx_send()
475 return PTR_ERR(skb); in ath10k_wmi_mgmt_tx_send()
477 ret = ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_mgmt_tx_send()
489 struct sk_buff *skb; in ath10k_wmi_mgmt_tx() local
495 skb = ar->wmi.ops->gen_mgmt_tx(ar, msdu); in ath10k_wmi_mgmt_tx()
496 if (IS_ERR(skb)) in ath10k_wmi_mgmt_tx()
497 return PTR_ERR(skb); in ath10k_wmi_mgmt_tx()
499 ret = ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_mgmt_tx()
518 struct sk_buff *skb; in ath10k_wmi_pdev_set_regdomain() local
523 skb = ar->wmi.ops->gen_pdev_set_rd(ar, rd, rd2g, rd5g, ctl2g, ctl5g, in ath10k_wmi_pdev_set_regdomain()
525 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_regdomain()
526 return PTR_ERR(skb); in ath10k_wmi_pdev_set_regdomain()
528 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_pdev_set_regdomain()
535 struct sk_buff *skb; in ath10k_wmi_pdev_set_base_macaddr() local
540 skb = ar->wmi.ops->gen_pdev_set_base_macaddr(ar, macaddr); in ath10k_wmi_pdev_set_base_macaddr()
541 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_base_macaddr()
542 return PTR_ERR(skb); in ath10k_wmi_pdev_set_base_macaddr()
544 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_pdev_set_base_macaddr()
551 struct sk_buff *skb; in ath10k_wmi_pdev_suspend_target() local
556 skb = ar->wmi.ops->gen_pdev_suspend(ar, suspend_opt); in ath10k_wmi_pdev_suspend_target()
557 if (IS_ERR(skb)) in ath10k_wmi_pdev_suspend_target()
558 return PTR_ERR(skb); in ath10k_wmi_pdev_suspend_target()
560 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->pdev_suspend_cmdid); in ath10k_wmi_pdev_suspend_target()
566 struct sk_buff *skb; in ath10k_wmi_pdev_resume_target() local
571 skb = ar->wmi.ops->gen_pdev_resume(ar); in ath10k_wmi_pdev_resume_target()
572 if (IS_ERR(skb)) in ath10k_wmi_pdev_resume_target()
573 return PTR_ERR(skb); in ath10k_wmi_pdev_resume_target()
575 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->pdev_resume_cmdid); in ath10k_wmi_pdev_resume_target()
581 struct sk_buff *skb; in ath10k_wmi_pdev_set_param() local
586 skb = ar->wmi.ops->gen_pdev_set_param(ar, id, value); in ath10k_wmi_pdev_set_param()
587 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_param()
588 return PTR_ERR(skb); in ath10k_wmi_pdev_set_param()
590 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->pdev_set_param_cmdid); in ath10k_wmi_pdev_set_param()
596 struct sk_buff *skb; in ath10k_wmi_cmd_init() local
601 skb = ar->wmi.ops->gen_init(ar); in ath10k_wmi_cmd_init()
602 if (IS_ERR(skb)) in ath10k_wmi_cmd_init()
603 return PTR_ERR(skb); in ath10k_wmi_cmd_init()
605 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->init_cmdid); in ath10k_wmi_cmd_init()
612 struct sk_buff *skb; in ath10k_wmi_start_scan() local
617 skb = ar->wmi.ops->gen_start_scan(ar, arg); in ath10k_wmi_start_scan()
618 if (IS_ERR(skb)) in ath10k_wmi_start_scan()
619 return PTR_ERR(skb); in ath10k_wmi_start_scan()
621 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->start_scan_cmdid); in ath10k_wmi_start_scan()
627 struct sk_buff *skb; in ath10k_wmi_stop_scan() local
632 skb = ar->wmi.ops->gen_stop_scan(ar, arg); in ath10k_wmi_stop_scan()
633 if (IS_ERR(skb)) in ath10k_wmi_stop_scan()
634 return PTR_ERR(skb); in ath10k_wmi_stop_scan()
636 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->stop_scan_cmdid); in ath10k_wmi_stop_scan()
645 struct sk_buff *skb; in ath10k_wmi_vdev_create() local
650 skb = ar->wmi.ops->gen_vdev_create(ar, vdev_id, type, subtype, macaddr); in ath10k_wmi_vdev_create()
651 if (IS_ERR(skb)) in ath10k_wmi_vdev_create()
652 return PTR_ERR(skb); in ath10k_wmi_vdev_create()
654 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_create_cmdid); in ath10k_wmi_vdev_create()
660 struct sk_buff *skb; in ath10k_wmi_vdev_delete() local
665 skb = ar->wmi.ops->gen_vdev_delete(ar, vdev_id); in ath10k_wmi_vdev_delete()
666 if (IS_ERR(skb)) in ath10k_wmi_vdev_delete()
667 return PTR_ERR(skb); in ath10k_wmi_vdev_delete()
669 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_delete_cmdid); in ath10k_wmi_vdev_delete()
676 struct sk_buff *skb; in ath10k_wmi_vdev_start() local
681 skb = ar->wmi.ops->gen_vdev_start(ar, arg, false); in ath10k_wmi_vdev_start()
682 if (IS_ERR(skb)) in ath10k_wmi_vdev_start()
683 return PTR_ERR(skb); in ath10k_wmi_vdev_start()
685 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_vdev_start()
693 struct sk_buff *skb; in ath10k_wmi_vdev_restart() local
698 skb = ar->wmi.ops->gen_vdev_start(ar, arg, true); in ath10k_wmi_vdev_restart()
699 if (IS_ERR(skb)) in ath10k_wmi_vdev_restart()
700 return PTR_ERR(skb); in ath10k_wmi_vdev_restart()
702 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_vdev_restart()
709 struct sk_buff *skb; in ath10k_wmi_vdev_stop() local
714 skb = ar->wmi.ops->gen_vdev_stop(ar, vdev_id); in ath10k_wmi_vdev_stop()
715 if (IS_ERR(skb)) in ath10k_wmi_vdev_stop()
716 return PTR_ERR(skb); in ath10k_wmi_vdev_stop()
718 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_stop_cmdid); in ath10k_wmi_vdev_stop()
724 struct sk_buff *skb; in ath10k_wmi_vdev_up() local
729 skb = ar->wmi.ops->gen_vdev_up(ar, vdev_id, aid, bssid); in ath10k_wmi_vdev_up()
730 if (IS_ERR(skb)) in ath10k_wmi_vdev_up()
731 return PTR_ERR(skb); in ath10k_wmi_vdev_up()
733 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_up_cmdid); in ath10k_wmi_vdev_up()
739 struct sk_buff *skb; in ath10k_wmi_vdev_down() local
744 skb = ar->wmi.ops->gen_vdev_down(ar, vdev_id); in ath10k_wmi_vdev_down()
745 if (IS_ERR(skb)) in ath10k_wmi_vdev_down()
746 return PTR_ERR(skb); in ath10k_wmi_vdev_down()
748 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_down_cmdid); in ath10k_wmi_vdev_down()
755 struct sk_buff *skb; in ath10k_wmi_vdev_set_param() local
760 skb = ar->wmi.ops->gen_vdev_set_param(ar, vdev_id, param_id, in ath10k_wmi_vdev_set_param()
762 if (IS_ERR(skb)) in ath10k_wmi_vdev_set_param()
763 return PTR_ERR(skb); in ath10k_wmi_vdev_set_param()
765 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_set_param_cmdid); in ath10k_wmi_vdev_set_param()
772 struct sk_buff *skb; in ath10k_wmi_vdev_install_key() local
777 skb = ar->wmi.ops->gen_vdev_install_key(ar, arg); in ath10k_wmi_vdev_install_key()
778 if (IS_ERR(skb)) in ath10k_wmi_vdev_install_key()
779 return PTR_ERR(skb); in ath10k_wmi_vdev_install_key()
781 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_vdev_install_key()
789 struct sk_buff *skb; in ath10k_wmi_vdev_spectral_conf() local
795 skb = ar->wmi.ops->gen_vdev_spectral_conf(ar, arg); in ath10k_wmi_vdev_spectral_conf()
796 if (IS_ERR(skb)) in ath10k_wmi_vdev_spectral_conf()
797 return PTR_ERR(skb); in ath10k_wmi_vdev_spectral_conf()
800 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_vdev_spectral_conf()
807 struct sk_buff *skb; in ath10k_wmi_vdev_spectral_enable() local
813 skb = ar->wmi.ops->gen_vdev_spectral_enable(ar, vdev_id, trigger, in ath10k_wmi_vdev_spectral_enable()
815 if (IS_ERR(skb)) in ath10k_wmi_vdev_spectral_enable()
816 return PTR_ERR(skb); in ath10k_wmi_vdev_spectral_enable()
819 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_vdev_spectral_enable()
828 struct sk_buff *skb; in ath10k_wmi_vdev_sta_uapsd() local
834 skb = ar->wmi.ops->gen_vdev_sta_uapsd(ar, vdev_id, peer_addr, args, in ath10k_wmi_vdev_sta_uapsd()
836 if (IS_ERR(skb)) in ath10k_wmi_vdev_sta_uapsd()
837 return PTR_ERR(skb); in ath10k_wmi_vdev_sta_uapsd()
840 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_vdev_sta_uapsd()
847 struct sk_buff *skb; in ath10k_wmi_vdev_wmm_conf() local
850 skb = ar->wmi.ops->gen_vdev_wmm_conf(ar, vdev_id, arg); in ath10k_wmi_vdev_wmm_conf()
851 if (IS_ERR(skb)) in ath10k_wmi_vdev_wmm_conf()
852 return PTR_ERR(skb); in ath10k_wmi_vdev_wmm_conf()
855 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_vdev_wmm_conf()
863 struct sk_buff *skb; in ath10k_wmi_peer_create() local
868 skb = ar->wmi.ops->gen_peer_create(ar, vdev_id, peer_addr, peer_type); in ath10k_wmi_peer_create()
869 if (IS_ERR(skb)) in ath10k_wmi_peer_create()
870 return PTR_ERR(skb); in ath10k_wmi_peer_create()
872 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->peer_create_cmdid); in ath10k_wmi_peer_create()
879 struct sk_buff *skb; in ath10k_wmi_peer_delete() local
884 skb = ar->wmi.ops->gen_peer_delete(ar, vdev_id, peer_addr); in ath10k_wmi_peer_delete()
885 if (IS_ERR(skb)) in ath10k_wmi_peer_delete()
886 return PTR_ERR(skb); in ath10k_wmi_peer_delete()
888 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->peer_delete_cmdid); in ath10k_wmi_peer_delete()
895 struct sk_buff *skb; in ath10k_wmi_peer_flush() local
900 skb = ar->wmi.ops->gen_peer_flush(ar, vdev_id, peer_addr, tid_bitmap); in ath10k_wmi_peer_flush()
901 if (IS_ERR(skb)) in ath10k_wmi_peer_flush()
902 return PTR_ERR(skb); in ath10k_wmi_peer_flush()
904 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->peer_flush_tids_cmdid); in ath10k_wmi_peer_flush()
911 struct sk_buff *skb; in ath10k_wmi_peer_set_param() local
916 skb = ar->wmi.ops->gen_peer_set_param(ar, vdev_id, peer_addr, param_id, in ath10k_wmi_peer_set_param()
918 if (IS_ERR(skb)) in ath10k_wmi_peer_set_param()
919 return PTR_ERR(skb); in ath10k_wmi_peer_set_param()
921 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->peer_set_param_cmdid); in ath10k_wmi_peer_set_param()
928 struct sk_buff *skb; in ath10k_wmi_set_psmode() local
933 skb = ar->wmi.ops->gen_set_psmode(ar, vdev_id, psmode); in ath10k_wmi_set_psmode()
934 if (IS_ERR(skb)) in ath10k_wmi_set_psmode()
935 return PTR_ERR(skb); in ath10k_wmi_set_psmode()
937 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_set_psmode()
945 struct sk_buff *skb; in ath10k_wmi_set_sta_ps_param() local
950 skb = ar->wmi.ops->gen_set_sta_ps(ar, vdev_id, param_id, value); in ath10k_wmi_set_sta_ps_param()
951 if (IS_ERR(skb)) in ath10k_wmi_set_sta_ps_param()
952 return PTR_ERR(skb); in ath10k_wmi_set_sta_ps_param()
954 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_set_sta_ps_param()
962 struct sk_buff *skb; in ath10k_wmi_set_ap_ps_param() local
967 skb = ar->wmi.ops->gen_set_ap_ps(ar, vdev_id, mac, param_id, value); in ath10k_wmi_set_ap_ps_param()
968 if (IS_ERR(skb)) in ath10k_wmi_set_ap_ps_param()
969 return PTR_ERR(skb); in ath10k_wmi_set_ap_ps_param()
971 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_set_ap_ps_param()
979 struct sk_buff *skb; in ath10k_wmi_scan_chan_list() local
984 skb = ar->wmi.ops->gen_scan_chan_list(ar, arg); in ath10k_wmi_scan_chan_list()
985 if (IS_ERR(skb)) in ath10k_wmi_scan_chan_list()
986 return PTR_ERR(skb); in ath10k_wmi_scan_chan_list()
988 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->scan_chan_list_cmdid); in ath10k_wmi_scan_chan_list()
994 struct sk_buff *skb; in ath10k_wmi_scan_prob_req_oui() local
1003 skb = ar->wmi.ops->gen_scan_prob_req_oui(ar, prob_req_oui); in ath10k_wmi_scan_prob_req_oui()
1004 if (IS_ERR(skb)) in ath10k_wmi_scan_prob_req_oui()
1005 return PTR_ERR(skb); in ath10k_wmi_scan_prob_req_oui()
1007 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_scan_prob_req_oui()
1015 struct sk_buff *skb; in ath10k_wmi_peer_assoc() local
1020 skb = ar->wmi.ops->gen_peer_assoc(ar, arg); in ath10k_wmi_peer_assoc()
1021 if (IS_ERR(skb)) in ath10k_wmi_peer_assoc()
1022 return PTR_ERR(skb); in ath10k_wmi_peer_assoc()
1024 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->peer_assoc_cmdid); in ath10k_wmi_peer_assoc()
1033 struct sk_buff *skb; in ath10k_wmi_beacon_send_ref_nowait() local
1039 skb = ar->wmi.ops->gen_beacon_dma(ar, vdev_id, bcn, bcn_len, bcn_paddr, in ath10k_wmi_beacon_send_ref_nowait()
1041 if (IS_ERR(skb)) in ath10k_wmi_beacon_send_ref_nowait()
1042 return PTR_ERR(skb); in ath10k_wmi_beacon_send_ref_nowait()
1044 ret = ath10k_wmi_cmd_send_nowait(ar, skb, in ath10k_wmi_beacon_send_ref_nowait()
1047 dev_kfree_skb(skb); in ath10k_wmi_beacon_send_ref_nowait()
1058 struct sk_buff *skb; in ath10k_wmi_pdev_set_wmm_params() local
1063 skb = ar->wmi.ops->gen_pdev_set_wmm(ar, arg); in ath10k_wmi_pdev_set_wmm_params()
1064 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_wmm_params()
1065 return PTR_ERR(skb); in ath10k_wmi_pdev_set_wmm_params()
1067 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_pdev_set_wmm_params()
1074 struct sk_buff *skb; in ath10k_wmi_request_stats() local
1079 skb = ar->wmi.ops->gen_request_stats(ar, stats_mask); in ath10k_wmi_request_stats()
1080 if (IS_ERR(skb)) in ath10k_wmi_request_stats()
1081 return PTR_ERR(skb); in ath10k_wmi_request_stats()
1083 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->request_stats_cmdid); in ath10k_wmi_request_stats()
1093 struct sk_buff *skb; in ath10k_wmi_request_peer_stats_info() local
1098 skb = ar->wmi.ops->gen_request_peer_stats_info(ar, in ath10k_wmi_request_peer_stats_info()
1103 if (IS_ERR(skb)) in ath10k_wmi_request_peer_stats_info()
1104 return PTR_ERR(skb); in ath10k_wmi_request_peer_stats_info()
1106 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->request_peer_stats_info_cmdid); in ath10k_wmi_request_peer_stats_info()
1113 struct sk_buff *skb; in ath10k_wmi_force_fw_hang() local
1118 skb = ar->wmi.ops->gen_force_fw_hang(ar, type, delay_ms); in ath10k_wmi_force_fw_hang()
1119 if (IS_ERR(skb)) in ath10k_wmi_force_fw_hang()
1120 return PTR_ERR(skb); in ath10k_wmi_force_fw_hang()
1122 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->force_fw_hang_cmdid); in ath10k_wmi_force_fw_hang()
1128 struct sk_buff *skb; in ath10k_wmi_dbglog_cfg() local
1133 skb = ar->wmi.ops->gen_dbglog_cfg(ar, module_enable, log_level); in ath10k_wmi_dbglog_cfg()
1134 if (IS_ERR(skb)) in ath10k_wmi_dbglog_cfg()
1135 return PTR_ERR(skb); in ath10k_wmi_dbglog_cfg()
1137 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->dbglog_cfg_cmdid); in ath10k_wmi_dbglog_cfg()
1143 struct sk_buff *skb; in ath10k_wmi_pdev_pktlog_enable() local
1148 skb = ar->wmi.ops->gen_pktlog_enable(ar, filter); in ath10k_wmi_pdev_pktlog_enable()
1149 if (IS_ERR(skb)) in ath10k_wmi_pdev_pktlog_enable()
1150 return PTR_ERR(skb); in ath10k_wmi_pdev_pktlog_enable()
1152 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->pdev_pktlog_enable_cmdid); in ath10k_wmi_pdev_pktlog_enable()
1158 struct sk_buff *skb; in ath10k_wmi_pdev_pktlog_disable() local
1163 skb = ar->wmi.ops->gen_pktlog_disable(ar); in ath10k_wmi_pdev_pktlog_disable()
1164 if (IS_ERR(skb)) in ath10k_wmi_pdev_pktlog_disable()
1165 return PTR_ERR(skb); in ath10k_wmi_pdev_pktlog_disable()
1167 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_pdev_pktlog_disable()
1175 struct sk_buff *skb; in ath10k_wmi_pdev_set_quiet_mode() local
1180 skb = ar->wmi.ops->gen_pdev_set_quiet_mode(ar, period, duration, in ath10k_wmi_pdev_set_quiet_mode()
1182 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_quiet_mode()
1183 return PTR_ERR(skb); in ath10k_wmi_pdev_set_quiet_mode()
1185 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_pdev_set_quiet_mode()
1192 struct sk_buff *skb; in ath10k_wmi_pdev_get_temperature() local
1197 skb = ar->wmi.ops->gen_pdev_get_temperature(ar); in ath10k_wmi_pdev_get_temperature()
1198 if (IS_ERR(skb)) in ath10k_wmi_pdev_get_temperature()
1199 return PTR_ERR(skb); in ath10k_wmi_pdev_get_temperature()
1201 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_pdev_get_temperature()
1208 struct sk_buff *skb; in ath10k_wmi_addba_clear_resp() local
1213 skb = ar->wmi.ops->gen_addba_clear_resp(ar, vdev_id, mac); in ath10k_wmi_addba_clear_resp()
1214 if (IS_ERR(skb)) in ath10k_wmi_addba_clear_resp()
1215 return PTR_ERR(skb); in ath10k_wmi_addba_clear_resp()
1217 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_addba_clear_resp()
1225 struct sk_buff *skb; in ath10k_wmi_addba_send() local
1230 skb = ar->wmi.ops->gen_addba_send(ar, vdev_id, mac, tid, buf_size); in ath10k_wmi_addba_send()
1231 if (IS_ERR(skb)) in ath10k_wmi_addba_send()
1232 return PTR_ERR(skb); in ath10k_wmi_addba_send()
1234 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_addba_send()
1242 struct sk_buff *skb; in ath10k_wmi_addba_set_resp() local
1247 skb = ar->wmi.ops->gen_addba_set_resp(ar, vdev_id, mac, tid, status); in ath10k_wmi_addba_set_resp()
1248 if (IS_ERR(skb)) in ath10k_wmi_addba_set_resp()
1249 return PTR_ERR(skb); in ath10k_wmi_addba_set_resp()
1251 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_addba_set_resp()
1259 struct sk_buff *skb; in ath10k_wmi_delba_send() local
1264 skb = ar->wmi.ops->gen_delba_send(ar, vdev_id, mac, tid, initiator, in ath10k_wmi_delba_send()
1266 if (IS_ERR(skb)) in ath10k_wmi_delba_send()
1267 return PTR_ERR(skb); in ath10k_wmi_delba_send()
1269 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_delba_send()
1278 struct sk_buff *skb; in ath10k_wmi_bcn_tmpl() local
1283 skb = ar->wmi.ops->gen_bcn_tmpl(ar, vdev_id, tim_ie_offset, bcn, in ath10k_wmi_bcn_tmpl()
1286 if (IS_ERR(skb)) in ath10k_wmi_bcn_tmpl()
1287 return PTR_ERR(skb); in ath10k_wmi_bcn_tmpl()
1289 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->bcn_tmpl_cmdid); in ath10k_wmi_bcn_tmpl()
1295 struct sk_buff *skb; in ath10k_wmi_prb_tmpl() local
1300 skb = ar->wmi.ops->gen_prb_tmpl(ar, vdev_id, prb); in ath10k_wmi_prb_tmpl()
1301 if (IS_ERR(skb)) in ath10k_wmi_prb_tmpl()
1302 return PTR_ERR(skb); in ath10k_wmi_prb_tmpl()
1304 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->prb_tmpl_cmdid); in ath10k_wmi_prb_tmpl()
1310 struct sk_buff *skb; in ath10k_wmi_p2p_go_bcn_ie() local
1315 skb = ar->wmi.ops->gen_p2p_go_bcn_ie(ar, vdev_id, p2p_ie); in ath10k_wmi_p2p_go_bcn_ie()
1316 if (IS_ERR(skb)) in ath10k_wmi_p2p_go_bcn_ie()
1317 return PTR_ERR(skb); in ath10k_wmi_p2p_go_bcn_ie()
1319 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->p2p_go_set_beacon_ie); in ath10k_wmi_p2p_go_bcn_ie()
1326 struct sk_buff *skb; in ath10k_wmi_sta_keepalive() local
1332 skb = ar->wmi.ops->gen_sta_keepalive(ar, arg); in ath10k_wmi_sta_keepalive()
1333 if (IS_ERR(skb)) in ath10k_wmi_sta_keepalive()
1334 return PTR_ERR(skb); in ath10k_wmi_sta_keepalive()
1337 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_sta_keepalive()
1343 struct sk_buff *skb; in ath10k_wmi_wow_enable() local
1349 skb = ar->wmi.ops->gen_wow_enable(ar); in ath10k_wmi_wow_enable()
1350 if (IS_ERR(skb)) in ath10k_wmi_wow_enable()
1351 return PTR_ERR(skb); in ath10k_wmi_wow_enable()
1354 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_wow_enable()
1362 struct sk_buff *skb; in ath10k_wmi_wow_add_wakeup_event() local
1368 skb = ar->wmi.ops->gen_wow_add_wakeup_event(ar, vdev_id, event, enable); in ath10k_wmi_wow_add_wakeup_event()
1369 if (IS_ERR(skb)) in ath10k_wmi_wow_add_wakeup_event()
1370 return PTR_ERR(skb); in ath10k_wmi_wow_add_wakeup_event()
1373 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_wow_add_wakeup_event()
1379 struct sk_buff *skb; in ath10k_wmi_wow_host_wakeup_ind() local
1385 skb = ar->wmi.ops->gen_wow_host_wakeup_ind(ar); in ath10k_wmi_wow_host_wakeup_ind()
1386 if (IS_ERR(skb)) in ath10k_wmi_wow_host_wakeup_ind()
1387 return PTR_ERR(skb); in ath10k_wmi_wow_host_wakeup_ind()
1390 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_wow_host_wakeup_ind()
1398 struct sk_buff *skb; in ath10k_wmi_wow_add_pattern() local
1404 skb = ar->wmi.ops->gen_wow_add_pattern(ar, vdev_id, pattern_id, in ath10k_wmi_wow_add_pattern()
1407 if (IS_ERR(skb)) in ath10k_wmi_wow_add_pattern()
1408 return PTR_ERR(skb); in ath10k_wmi_wow_add_pattern()
1411 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_wow_add_pattern()
1417 struct sk_buff *skb; in ath10k_wmi_wow_del_pattern() local
1423 skb = ar->wmi.ops->gen_wow_del_pattern(ar, vdev_id, pattern_id); in ath10k_wmi_wow_del_pattern()
1424 if (IS_ERR(skb)) in ath10k_wmi_wow_del_pattern()
1425 return PTR_ERR(skb); in ath10k_wmi_wow_del_pattern()
1428 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_wow_del_pattern()
1435 struct sk_buff *skb; in ath10k_wmi_wow_config_pno() local
1441 skb = ar->wmi.ops->gen_wow_config_pno(ar, vdev_id, pno_scan); in ath10k_wmi_wow_config_pno()
1442 if (IS_ERR(skb)) in ath10k_wmi_wow_config_pno()
1443 return PTR_ERR(skb); in ath10k_wmi_wow_config_pno()
1446 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_wow_config_pno()
1453 struct sk_buff *skb; in ath10k_wmi_update_fw_tdls_state() local
1458 skb = ar->wmi.ops->gen_update_fw_tdls_state(ar, vdev_id, state); in ath10k_wmi_update_fw_tdls_state()
1459 if (IS_ERR(skb)) in ath10k_wmi_update_fw_tdls_state()
1460 return PTR_ERR(skb); in ath10k_wmi_update_fw_tdls_state()
1462 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->tdls_set_state_cmdid); in ath10k_wmi_update_fw_tdls_state()
1471 struct sk_buff *skb; in ath10k_wmi_tdls_peer_update() local
1476 skb = ar->wmi.ops->gen_tdls_peer_update(ar, arg, cap, chan); in ath10k_wmi_tdls_peer_update()
1477 if (IS_ERR(skb)) in ath10k_wmi_tdls_peer_update()
1478 return PTR_ERR(skb); in ath10k_wmi_tdls_peer_update()
1480 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_tdls_peer_update()
1487 struct sk_buff *skb; in ath10k_wmi_adaptive_qcs() local
1492 skb = ar->wmi.ops->gen_adaptive_qcs(ar, enable); in ath10k_wmi_adaptive_qcs()
1493 if (IS_ERR(skb)) in ath10k_wmi_adaptive_qcs()
1494 return PTR_ERR(skb); in ath10k_wmi_adaptive_qcs()
1496 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->adaptive_qcs_cmdid); in ath10k_wmi_adaptive_qcs()
1502 struct sk_buff *skb; in ath10k_wmi_pdev_get_tpc_config() local
1507 skb = ar->wmi.ops->gen_pdev_get_tpc_config(ar, param); in ath10k_wmi_pdev_get_tpc_config()
1509 if (IS_ERR(skb)) in ath10k_wmi_pdev_get_tpc_config()
1510 return PTR_ERR(skb); in ath10k_wmi_pdev_get_tpc_config()
1512 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_pdev_get_tpc_config()
1531 struct sk_buff *skb; in ath10k_wmi_pdev_enable_adaptive_cca() local
1536 skb = ar->wmi.ops->gen_pdev_enable_adaptive_cca(ar, enable, in ath10k_wmi_pdev_enable_adaptive_cca()
1540 if (IS_ERR(skb)) in ath10k_wmi_pdev_enable_adaptive_cca()
1541 return PTR_ERR(skb); in ath10k_wmi_pdev_enable_adaptive_cca()
1543 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_pdev_enable_adaptive_cca()
1552 struct sk_buff *skb; in ath10k_wmi_ext_resource_config() local
1557 skb = ar->wmi.ops->ext_resource_config(ar, type, in ath10k_wmi_ext_resource_config()
1560 if (IS_ERR(skb)) in ath10k_wmi_ext_resource_config()
1561 return PTR_ERR(skb); in ath10k_wmi_ext_resource_config()
1563 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_ext_resource_config()
1581 struct sk_buff *skb; in ath10k_wmi_pdev_bss_chan_info_request() local
1586 skb = wmi->ops->gen_pdev_bss_chan_info_req(ar, type); in ath10k_wmi_pdev_bss_chan_info_request()
1587 if (IS_ERR(skb)) in ath10k_wmi_pdev_bss_chan_info_request()
1588 return PTR_ERR(skb); in ath10k_wmi_pdev_bss_chan_info_request()
1590 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_pdev_bss_chan_info_request()
1598 struct sk_buff *skb; in ath10k_wmi_echo() local
1603 skb = wmi->ops->gen_echo(ar, value); in ath10k_wmi_echo()
1604 if (IS_ERR(skb)) in ath10k_wmi_echo()
1605 return PTR_ERR(skb); in ath10k_wmi_echo()
1607 return ath10k_wmi_cmd_send(ar, skb, wmi->cmd->echo_cmdid); in ath10k_wmi_echo()
1613 struct sk_buff *skb; in ath10k_wmi_pdev_get_tpc_table_cmdid() local
1618 skb = ar->wmi.ops->gen_pdev_get_tpc_table_cmdid(ar, param); in ath10k_wmi_pdev_get_tpc_table_cmdid()
1620 if (IS_ERR(skb)) in ath10k_wmi_pdev_get_tpc_table_cmdid()
1621 return PTR_ERR(skb); in ath10k_wmi_pdev_get_tpc_table_cmdid()
1623 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_pdev_get_tpc_table_cmdid()
1631 struct sk_buff *skb; in ath10k_wmi_report_radar_found() local
1636 skb = ar->wmi.ops->gen_radar_found(ar, arg); in ath10k_wmi_report_radar_found()
1637 if (IS_ERR(skb)) in ath10k_wmi_report_radar_found()
1638 return PTR_ERR(skb); in ath10k_wmi_report_radar_found()
1640 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_report_radar_found()
1648 struct sk_buff *skb; in ath10k_wmi_pdev_bb_timing() local
1653 skb = ar->wmi.ops->gen_bb_timing(ar, arg); in ath10k_wmi_pdev_bb_timing()
1655 if (IS_ERR(skb)) in ath10k_wmi_pdev_bb_timing()
1656 return PTR_ERR(skb); in ath10k_wmi_pdev_bb_timing()
1658 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_pdev_bb_timing()
1666 struct sk_buff *skb; in ath10k_wmi_set_per_peer_per_tid_cfg() local
1671 skb = ar->wmi.ops->gen_per_peer_per_tid_cfg(ar, arg); in ath10k_wmi_set_per_peer_per_tid_cfg()
1672 if (IS_ERR(skb)) in ath10k_wmi_set_per_peer_per_tid_cfg()
1673 return PTR_ERR(skb); in ath10k_wmi_set_per_peer_per_tid_cfg()
1675 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_set_per_peer_per_tid_cfg()