Lines Matching full: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,
235 int ath10k_wmi_cmd_send(struct ath10k *ar, struct sk_buff *skb, u32 cmd_id);
238 ath10k_wmi_rx(struct ath10k *ar, struct sk_buff *skb) in ath10k_wmi_rx() argument
243 ar->wmi.ops->rx(ar, skb); in ath10k_wmi_rx()
270 ath10k_wmi_pull_scan(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_scan() argument
276 return ar->wmi.ops->pull_scan(ar, skb, arg); in ath10k_wmi_pull_scan()
280 ath10k_wmi_pull_mgmt_tx_compl(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_mgmt_tx_compl() argument
286 return ar->wmi.ops->pull_mgmt_tx_compl(ar, skb, arg); in ath10k_wmi_pull_mgmt_tx_compl()
290 ath10k_wmi_pull_mgmt_tx_bundle_compl(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_mgmt_tx_bundle_compl() argument
296 return ar->wmi.ops->pull_mgmt_tx_bundle_compl(ar, skb, arg); in ath10k_wmi_pull_mgmt_tx_bundle_compl()
300 ath10k_wmi_pull_mgmt_rx(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_mgmt_rx() argument
306 return ar->wmi.ops->pull_mgmt_rx(ar, skb, arg); in ath10k_wmi_pull_mgmt_rx()
310 ath10k_wmi_pull_ch_info(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_ch_info() argument
316 return ar->wmi.ops->pull_ch_info(ar, skb, arg); in ath10k_wmi_pull_ch_info()
320 ath10k_wmi_pull_vdev_start(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_vdev_start() argument
326 return ar->wmi.ops->pull_vdev_start(ar, skb, arg); in ath10k_wmi_pull_vdev_start()
330 ath10k_wmi_pull_peer_kick(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_peer_kick() argument
336 return ar->wmi.ops->pull_peer_kick(ar, skb, arg); in ath10k_wmi_pull_peer_kick()
340 ath10k_wmi_pull_swba(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_swba() argument
346 return ar->wmi.ops->pull_swba(ar, skb, arg); in ath10k_wmi_pull_swba()
350 ath10k_wmi_pull_phyerr_hdr(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_phyerr_hdr() argument
356 return ar->wmi.ops->pull_phyerr_hdr(ar, skb, arg); in ath10k_wmi_pull_phyerr_hdr()
370 ath10k_wmi_pull_svc_rdy(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_svc_rdy() argument
376 return ar->wmi.ops->pull_svc_rdy(ar, skb, arg); in ath10k_wmi_pull_svc_rdy()
380 ath10k_wmi_pull_rdy(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_rdy() argument
386 return ar->wmi.ops->pull_rdy(ar, skb, arg); in ath10k_wmi_pull_rdy()
390 ath10k_wmi_pull_svc_avail(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_svc_avail() argument
395 return ar->wmi.ops->pull_svc_avail(ar, skb, arg); in ath10k_wmi_pull_svc_avail()
399 ath10k_wmi_pull_fw_stats(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_fw_stats() argument
405 return ar->wmi.ops->pull_fw_stats(ar, skb, stats); in ath10k_wmi_pull_fw_stats()
409 ath10k_wmi_pull_roam_ev(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_roam_ev() argument
415 return ar->wmi.ops->pull_roam_ev(ar, skb, arg); in ath10k_wmi_pull_roam_ev()
419 ath10k_wmi_pull_wow_event(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_wow_event() argument
425 return ar->wmi.ops->pull_wow_event(ar, skb, arg); in ath10k_wmi_pull_wow_event()
429 ath10k_wmi_pull_echo_ev(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_echo_ev() argument
435 return ar->wmi.ops->pull_echo_ev(ar, skb, arg); in ath10k_wmi_pull_echo_ev()
439 ath10k_wmi_pull_dfs_status(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_dfs_status() argument
445 return ar->wmi.ops->pull_dfs_status_ev(ar, skb, arg); in ath10k_wmi_pull_dfs_status()
470 struct sk_buff *skb; in ath10k_wmi_mgmt_tx_send() local
476 skb = ar->wmi.ops->gen_mgmt_tx_send(ar, msdu, paddr); in ath10k_wmi_mgmt_tx_send()
477 if (IS_ERR(skb)) in ath10k_wmi_mgmt_tx_send()
478 return PTR_ERR(skb); in ath10k_wmi_mgmt_tx_send()
480 ret = ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_mgmt_tx_send()
492 struct sk_buff *skb; in ath10k_wmi_mgmt_tx() local
498 skb = ar->wmi.ops->gen_mgmt_tx(ar, msdu); in ath10k_wmi_mgmt_tx()
499 if (IS_ERR(skb)) in ath10k_wmi_mgmt_tx()
500 return PTR_ERR(skb); in ath10k_wmi_mgmt_tx()
502 ret = ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_mgmt_tx()
521 struct sk_buff *skb; in ath10k_wmi_pdev_set_regdomain() local
526 skb = ar->wmi.ops->gen_pdev_set_rd(ar, rd, rd2g, rd5g, ctl2g, ctl5g, in ath10k_wmi_pdev_set_regdomain()
528 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_regdomain()
529 return PTR_ERR(skb); in ath10k_wmi_pdev_set_regdomain()
531 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_pdev_set_regdomain()
538 struct sk_buff *skb; in ath10k_wmi_pdev_set_base_macaddr() local
543 skb = ar->wmi.ops->gen_pdev_set_base_macaddr(ar, macaddr); in ath10k_wmi_pdev_set_base_macaddr()
544 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_base_macaddr()
545 return PTR_ERR(skb); in ath10k_wmi_pdev_set_base_macaddr()
547 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_pdev_set_base_macaddr()
554 struct sk_buff *skb; in ath10k_wmi_pdev_suspend_target() local
559 skb = ar->wmi.ops->gen_pdev_suspend(ar, suspend_opt); in ath10k_wmi_pdev_suspend_target()
560 if (IS_ERR(skb)) in ath10k_wmi_pdev_suspend_target()
561 return PTR_ERR(skb); in ath10k_wmi_pdev_suspend_target()
563 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->pdev_suspend_cmdid); in ath10k_wmi_pdev_suspend_target()
569 struct sk_buff *skb; in ath10k_wmi_pdev_resume_target() local
574 skb = ar->wmi.ops->gen_pdev_resume(ar); in ath10k_wmi_pdev_resume_target()
575 if (IS_ERR(skb)) in ath10k_wmi_pdev_resume_target()
576 return PTR_ERR(skb); in ath10k_wmi_pdev_resume_target()
578 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->pdev_resume_cmdid); in ath10k_wmi_pdev_resume_target()
584 struct sk_buff *skb; in ath10k_wmi_pdev_set_param() local
589 skb = ar->wmi.ops->gen_pdev_set_param(ar, id, value); in ath10k_wmi_pdev_set_param()
590 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_param()
591 return PTR_ERR(skb); in ath10k_wmi_pdev_set_param()
593 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->pdev_set_param_cmdid); in ath10k_wmi_pdev_set_param()
599 struct sk_buff *skb; in ath10k_wmi_cmd_init() local
604 skb = ar->wmi.ops->gen_init(ar); in ath10k_wmi_cmd_init()
605 if (IS_ERR(skb)) in ath10k_wmi_cmd_init()
606 return PTR_ERR(skb); in ath10k_wmi_cmd_init()
608 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->init_cmdid); in ath10k_wmi_cmd_init()
615 struct sk_buff *skb; in ath10k_wmi_start_scan() local
620 skb = ar->wmi.ops->gen_start_scan(ar, arg); in ath10k_wmi_start_scan()
621 if (IS_ERR(skb)) in ath10k_wmi_start_scan()
622 return PTR_ERR(skb); in ath10k_wmi_start_scan()
624 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->start_scan_cmdid); in ath10k_wmi_start_scan()
630 struct sk_buff *skb; in ath10k_wmi_stop_scan() local
635 skb = ar->wmi.ops->gen_stop_scan(ar, arg); in ath10k_wmi_stop_scan()
636 if (IS_ERR(skb)) in ath10k_wmi_stop_scan()
637 return PTR_ERR(skb); in ath10k_wmi_stop_scan()
639 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->stop_scan_cmdid); in ath10k_wmi_stop_scan()
648 struct sk_buff *skb; in ath10k_wmi_vdev_create() local
653 skb = ar->wmi.ops->gen_vdev_create(ar, vdev_id, type, subtype, macaddr); in ath10k_wmi_vdev_create()
654 if (IS_ERR(skb)) in ath10k_wmi_vdev_create()
655 return PTR_ERR(skb); in ath10k_wmi_vdev_create()
657 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_create_cmdid); in ath10k_wmi_vdev_create()
663 struct sk_buff *skb; in ath10k_wmi_vdev_delete() local
668 skb = ar->wmi.ops->gen_vdev_delete(ar, vdev_id); in ath10k_wmi_vdev_delete()
669 if (IS_ERR(skb)) in ath10k_wmi_vdev_delete()
670 return PTR_ERR(skb); in ath10k_wmi_vdev_delete()
672 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_delete_cmdid); in ath10k_wmi_vdev_delete()
679 struct sk_buff *skb; in ath10k_wmi_vdev_start() local
684 skb = ar->wmi.ops->gen_vdev_start(ar, arg, false); in ath10k_wmi_vdev_start()
685 if (IS_ERR(skb)) in ath10k_wmi_vdev_start()
686 return PTR_ERR(skb); in ath10k_wmi_vdev_start()
688 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_vdev_start()
696 struct sk_buff *skb; in ath10k_wmi_vdev_restart() local
701 skb = ar->wmi.ops->gen_vdev_start(ar, arg, true); in ath10k_wmi_vdev_restart()
702 if (IS_ERR(skb)) in ath10k_wmi_vdev_restart()
703 return PTR_ERR(skb); in ath10k_wmi_vdev_restart()
705 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_vdev_restart()
712 struct sk_buff *skb; in ath10k_wmi_vdev_stop() local
717 skb = ar->wmi.ops->gen_vdev_stop(ar, vdev_id); in ath10k_wmi_vdev_stop()
718 if (IS_ERR(skb)) in ath10k_wmi_vdev_stop()
719 return PTR_ERR(skb); in ath10k_wmi_vdev_stop()
721 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_stop_cmdid); in ath10k_wmi_vdev_stop()
727 struct sk_buff *skb; in ath10k_wmi_vdev_up() local
732 skb = ar->wmi.ops->gen_vdev_up(ar, vdev_id, aid, bssid); in ath10k_wmi_vdev_up()
733 if (IS_ERR(skb)) in ath10k_wmi_vdev_up()
734 return PTR_ERR(skb); in ath10k_wmi_vdev_up()
736 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_up_cmdid); in ath10k_wmi_vdev_up()
742 struct sk_buff *skb; in ath10k_wmi_vdev_down() local
747 skb = ar->wmi.ops->gen_vdev_down(ar, vdev_id); in ath10k_wmi_vdev_down()
748 if (IS_ERR(skb)) in ath10k_wmi_vdev_down()
749 return PTR_ERR(skb); in ath10k_wmi_vdev_down()
751 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_down_cmdid); in ath10k_wmi_vdev_down()
758 struct sk_buff *skb; in ath10k_wmi_vdev_set_param() local
763 skb = ar->wmi.ops->gen_vdev_set_param(ar, vdev_id, param_id, in ath10k_wmi_vdev_set_param()
765 if (IS_ERR(skb)) in ath10k_wmi_vdev_set_param()
766 return PTR_ERR(skb); in ath10k_wmi_vdev_set_param()
768 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_set_param_cmdid); in ath10k_wmi_vdev_set_param()
775 struct sk_buff *skb; in ath10k_wmi_vdev_install_key() local
780 skb = ar->wmi.ops->gen_vdev_install_key(ar, arg); in ath10k_wmi_vdev_install_key()
781 if (IS_ERR(skb)) in ath10k_wmi_vdev_install_key()
782 return PTR_ERR(skb); in ath10k_wmi_vdev_install_key()
784 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_vdev_install_key()
792 struct sk_buff *skb; in ath10k_wmi_vdev_spectral_conf() local
798 skb = ar->wmi.ops->gen_vdev_spectral_conf(ar, arg); in ath10k_wmi_vdev_spectral_conf()
799 if (IS_ERR(skb)) in ath10k_wmi_vdev_spectral_conf()
800 return PTR_ERR(skb); in ath10k_wmi_vdev_spectral_conf()
803 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_vdev_spectral_conf()
810 struct sk_buff *skb; in ath10k_wmi_vdev_spectral_enable() local
816 skb = ar->wmi.ops->gen_vdev_spectral_enable(ar, vdev_id, trigger, in ath10k_wmi_vdev_spectral_enable()
818 if (IS_ERR(skb)) in ath10k_wmi_vdev_spectral_enable()
819 return PTR_ERR(skb); in ath10k_wmi_vdev_spectral_enable()
822 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_vdev_spectral_enable()
831 struct sk_buff *skb; in ath10k_wmi_vdev_sta_uapsd() local
837 skb = ar->wmi.ops->gen_vdev_sta_uapsd(ar, vdev_id, peer_addr, args, in ath10k_wmi_vdev_sta_uapsd()
839 if (IS_ERR(skb)) in ath10k_wmi_vdev_sta_uapsd()
840 return PTR_ERR(skb); in ath10k_wmi_vdev_sta_uapsd()
843 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_vdev_sta_uapsd()
850 struct sk_buff *skb; in ath10k_wmi_vdev_wmm_conf() local
853 skb = ar->wmi.ops->gen_vdev_wmm_conf(ar, vdev_id, arg); in ath10k_wmi_vdev_wmm_conf()
854 if (IS_ERR(skb)) in ath10k_wmi_vdev_wmm_conf()
855 return PTR_ERR(skb); in ath10k_wmi_vdev_wmm_conf()
858 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_vdev_wmm_conf()
866 struct sk_buff *skb; in ath10k_wmi_peer_create() local
871 skb = ar->wmi.ops->gen_peer_create(ar, vdev_id, peer_addr, peer_type); in ath10k_wmi_peer_create()
872 if (IS_ERR(skb)) in ath10k_wmi_peer_create()
873 return PTR_ERR(skb); in ath10k_wmi_peer_create()
875 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->peer_create_cmdid); in ath10k_wmi_peer_create()
882 struct sk_buff *skb; in ath10k_wmi_peer_delete() local
887 skb = ar->wmi.ops->gen_peer_delete(ar, vdev_id, peer_addr); in ath10k_wmi_peer_delete()
888 if (IS_ERR(skb)) in ath10k_wmi_peer_delete()
889 return PTR_ERR(skb); in ath10k_wmi_peer_delete()
891 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->peer_delete_cmdid); in ath10k_wmi_peer_delete()
898 struct sk_buff *skb; in ath10k_wmi_peer_flush() local
903 skb = ar->wmi.ops->gen_peer_flush(ar, vdev_id, peer_addr, tid_bitmap); in ath10k_wmi_peer_flush()
904 if (IS_ERR(skb)) in ath10k_wmi_peer_flush()
905 return PTR_ERR(skb); in ath10k_wmi_peer_flush()
907 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->peer_flush_tids_cmdid); in ath10k_wmi_peer_flush()
914 struct sk_buff *skb; in ath10k_wmi_peer_set_param() local
919 skb = ar->wmi.ops->gen_peer_set_param(ar, vdev_id, peer_addr, param_id, in ath10k_wmi_peer_set_param()
921 if (IS_ERR(skb)) in ath10k_wmi_peer_set_param()
922 return PTR_ERR(skb); in ath10k_wmi_peer_set_param()
924 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->peer_set_param_cmdid); in ath10k_wmi_peer_set_param()
931 struct sk_buff *skb; in ath10k_wmi_set_psmode() local
936 skb = ar->wmi.ops->gen_set_psmode(ar, vdev_id, psmode); in ath10k_wmi_set_psmode()
937 if (IS_ERR(skb)) in ath10k_wmi_set_psmode()
938 return PTR_ERR(skb); in ath10k_wmi_set_psmode()
940 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_set_psmode()
948 struct sk_buff *skb; in ath10k_wmi_set_sta_ps_param() local
953 skb = ar->wmi.ops->gen_set_sta_ps(ar, vdev_id, param_id, value); in ath10k_wmi_set_sta_ps_param()
954 if (IS_ERR(skb)) in ath10k_wmi_set_sta_ps_param()
955 return PTR_ERR(skb); in ath10k_wmi_set_sta_ps_param()
957 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_set_sta_ps_param()
965 struct sk_buff *skb; in ath10k_wmi_set_ap_ps_param() local
970 skb = ar->wmi.ops->gen_set_ap_ps(ar, vdev_id, mac, param_id, value); in ath10k_wmi_set_ap_ps_param()
971 if (IS_ERR(skb)) in ath10k_wmi_set_ap_ps_param()
972 return PTR_ERR(skb); in ath10k_wmi_set_ap_ps_param()
974 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_set_ap_ps_param()
982 struct sk_buff *skb; in ath10k_wmi_scan_chan_list() local
987 skb = ar->wmi.ops->gen_scan_chan_list(ar, arg); in ath10k_wmi_scan_chan_list()
988 if (IS_ERR(skb)) in ath10k_wmi_scan_chan_list()
989 return PTR_ERR(skb); in ath10k_wmi_scan_chan_list()
991 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->scan_chan_list_cmdid); in ath10k_wmi_scan_chan_list()
997 struct sk_buff *skb; in ath10k_wmi_scan_prob_req_oui() local
1006 skb = ar->wmi.ops->gen_scan_prob_req_oui(ar, prob_req_oui); in ath10k_wmi_scan_prob_req_oui()
1007 if (IS_ERR(skb)) in ath10k_wmi_scan_prob_req_oui()
1008 return PTR_ERR(skb); in ath10k_wmi_scan_prob_req_oui()
1010 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_scan_prob_req_oui()
1018 struct sk_buff *skb; in ath10k_wmi_peer_assoc() local
1023 skb = ar->wmi.ops->gen_peer_assoc(ar, arg); in ath10k_wmi_peer_assoc()
1024 if (IS_ERR(skb)) in ath10k_wmi_peer_assoc()
1025 return PTR_ERR(skb); in ath10k_wmi_peer_assoc()
1027 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->peer_assoc_cmdid); in ath10k_wmi_peer_assoc()
1036 struct sk_buff *skb; in ath10k_wmi_beacon_send_ref_nowait() local
1042 skb = ar->wmi.ops->gen_beacon_dma(ar, vdev_id, bcn, bcn_len, bcn_paddr, in ath10k_wmi_beacon_send_ref_nowait()
1044 if (IS_ERR(skb)) in ath10k_wmi_beacon_send_ref_nowait()
1045 return PTR_ERR(skb); in ath10k_wmi_beacon_send_ref_nowait()
1047 ret = ath10k_wmi_cmd_send_nowait(ar, skb, in ath10k_wmi_beacon_send_ref_nowait()
1050 dev_kfree_skb(skb); in ath10k_wmi_beacon_send_ref_nowait()
1061 struct sk_buff *skb; in ath10k_wmi_pdev_set_wmm_params() local
1066 skb = ar->wmi.ops->gen_pdev_set_wmm(ar, arg); in ath10k_wmi_pdev_set_wmm_params()
1067 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_wmm_params()
1068 return PTR_ERR(skb); in ath10k_wmi_pdev_set_wmm_params()
1070 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_pdev_set_wmm_params()
1077 struct sk_buff *skb; in ath10k_wmi_request_stats() local
1082 skb = ar->wmi.ops->gen_request_stats(ar, stats_mask); in ath10k_wmi_request_stats()
1083 if (IS_ERR(skb)) in ath10k_wmi_request_stats()
1084 return PTR_ERR(skb); in ath10k_wmi_request_stats()
1086 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->request_stats_cmdid); in ath10k_wmi_request_stats()
1096 struct sk_buff *skb; in ath10k_wmi_request_peer_stats_info() local
1101 skb = ar->wmi.ops->gen_request_peer_stats_info(ar, in ath10k_wmi_request_peer_stats_info()
1106 if (IS_ERR(skb)) in ath10k_wmi_request_peer_stats_info()
1107 return PTR_ERR(skb); in ath10k_wmi_request_peer_stats_info()
1109 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->request_peer_stats_info_cmdid); in ath10k_wmi_request_peer_stats_info()
1116 struct sk_buff *skb; in ath10k_wmi_force_fw_hang() local
1121 skb = ar->wmi.ops->gen_force_fw_hang(ar, type, delay_ms); in ath10k_wmi_force_fw_hang()
1122 if (IS_ERR(skb)) in ath10k_wmi_force_fw_hang()
1123 return PTR_ERR(skb); in ath10k_wmi_force_fw_hang()
1125 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->force_fw_hang_cmdid); in ath10k_wmi_force_fw_hang()
1131 struct sk_buff *skb; in ath10k_wmi_gpio_config() local
1136 skb = ar->wmi.ops->gen_gpio_config(ar, gpio_num, input, pull_type, intr_mode); in ath10k_wmi_gpio_config()
1137 if (IS_ERR(skb)) in ath10k_wmi_gpio_config()
1138 return PTR_ERR(skb); in ath10k_wmi_gpio_config()
1140 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->gpio_config_cmdid); in ath10k_wmi_gpio_config()
1145 struct sk_buff *skb; in ath10k_wmi_gpio_output() local
1150 skb = ar->wmi.ops->gen_gpio_output(ar, gpio_num, set); in ath10k_wmi_gpio_output()
1151 if (IS_ERR(skb)) in ath10k_wmi_gpio_output()
1152 return PTR_ERR(skb); in ath10k_wmi_gpio_output()
1154 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->gpio_output_cmdid); in ath10k_wmi_gpio_output()
1160 struct sk_buff *skb; in ath10k_wmi_dbglog_cfg() local
1165 skb = ar->wmi.ops->gen_dbglog_cfg(ar, module_enable, log_level); in ath10k_wmi_dbglog_cfg()
1166 if (IS_ERR(skb)) in ath10k_wmi_dbglog_cfg()
1167 return PTR_ERR(skb); in ath10k_wmi_dbglog_cfg()
1169 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->dbglog_cfg_cmdid); in ath10k_wmi_dbglog_cfg()
1175 struct sk_buff *skb; in ath10k_wmi_pdev_pktlog_enable() local
1180 skb = ar->wmi.ops->gen_pktlog_enable(ar, filter); in ath10k_wmi_pdev_pktlog_enable()
1181 if (IS_ERR(skb)) in ath10k_wmi_pdev_pktlog_enable()
1182 return PTR_ERR(skb); in ath10k_wmi_pdev_pktlog_enable()
1184 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->pdev_pktlog_enable_cmdid); in ath10k_wmi_pdev_pktlog_enable()
1190 struct sk_buff *skb; in ath10k_wmi_pdev_pktlog_disable() local
1195 skb = ar->wmi.ops->gen_pktlog_disable(ar); in ath10k_wmi_pdev_pktlog_disable()
1196 if (IS_ERR(skb)) in ath10k_wmi_pdev_pktlog_disable()
1197 return PTR_ERR(skb); in ath10k_wmi_pdev_pktlog_disable()
1199 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_pdev_pktlog_disable()
1207 struct sk_buff *skb; in ath10k_wmi_pdev_set_quiet_mode() local
1212 skb = ar->wmi.ops->gen_pdev_set_quiet_mode(ar, period, duration, in ath10k_wmi_pdev_set_quiet_mode()
1214 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_quiet_mode()
1215 return PTR_ERR(skb); in ath10k_wmi_pdev_set_quiet_mode()
1217 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_pdev_set_quiet_mode()
1224 struct sk_buff *skb; in ath10k_wmi_pdev_get_temperature() local
1229 skb = ar->wmi.ops->gen_pdev_get_temperature(ar); in ath10k_wmi_pdev_get_temperature()
1230 if (IS_ERR(skb)) in ath10k_wmi_pdev_get_temperature()
1231 return PTR_ERR(skb); in ath10k_wmi_pdev_get_temperature()
1233 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_pdev_get_temperature()
1240 struct sk_buff *skb; in ath10k_wmi_addba_clear_resp() local
1245 skb = ar->wmi.ops->gen_addba_clear_resp(ar, vdev_id, mac); in ath10k_wmi_addba_clear_resp()
1246 if (IS_ERR(skb)) in ath10k_wmi_addba_clear_resp()
1247 return PTR_ERR(skb); in ath10k_wmi_addba_clear_resp()
1249 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_addba_clear_resp()
1257 struct sk_buff *skb; in ath10k_wmi_addba_send() local
1262 skb = ar->wmi.ops->gen_addba_send(ar, vdev_id, mac, tid, buf_size); in ath10k_wmi_addba_send()
1263 if (IS_ERR(skb)) in ath10k_wmi_addba_send()
1264 return PTR_ERR(skb); in ath10k_wmi_addba_send()
1266 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_addba_send()
1274 struct sk_buff *skb; in ath10k_wmi_addba_set_resp() local
1279 skb = ar->wmi.ops->gen_addba_set_resp(ar, vdev_id, mac, tid, status); in ath10k_wmi_addba_set_resp()
1280 if (IS_ERR(skb)) in ath10k_wmi_addba_set_resp()
1281 return PTR_ERR(skb); in ath10k_wmi_addba_set_resp()
1283 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_addba_set_resp()
1291 struct sk_buff *skb; in ath10k_wmi_delba_send() local
1296 skb = ar->wmi.ops->gen_delba_send(ar, vdev_id, mac, tid, initiator, in ath10k_wmi_delba_send()
1298 if (IS_ERR(skb)) in ath10k_wmi_delba_send()
1299 return PTR_ERR(skb); in ath10k_wmi_delba_send()
1301 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_delba_send()
1310 struct sk_buff *skb; in ath10k_wmi_bcn_tmpl() local
1315 skb = ar->wmi.ops->gen_bcn_tmpl(ar, vdev_id, tim_ie_offset, bcn, in ath10k_wmi_bcn_tmpl()
1318 if (IS_ERR(skb)) in ath10k_wmi_bcn_tmpl()
1319 return PTR_ERR(skb); in ath10k_wmi_bcn_tmpl()
1321 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->bcn_tmpl_cmdid); in ath10k_wmi_bcn_tmpl()
1327 struct sk_buff *skb; in ath10k_wmi_prb_tmpl() local
1332 skb = ar->wmi.ops->gen_prb_tmpl(ar, vdev_id, prb); in ath10k_wmi_prb_tmpl()
1333 if (IS_ERR(skb)) in ath10k_wmi_prb_tmpl()
1334 return PTR_ERR(skb); in ath10k_wmi_prb_tmpl()
1336 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->prb_tmpl_cmdid); in ath10k_wmi_prb_tmpl()
1342 struct sk_buff *skb; in ath10k_wmi_p2p_go_bcn_ie() local
1347 skb = ar->wmi.ops->gen_p2p_go_bcn_ie(ar, vdev_id, p2p_ie); in ath10k_wmi_p2p_go_bcn_ie()
1348 if (IS_ERR(skb)) in ath10k_wmi_p2p_go_bcn_ie()
1349 return PTR_ERR(skb); in ath10k_wmi_p2p_go_bcn_ie()
1351 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->p2p_go_set_beacon_ie); in ath10k_wmi_p2p_go_bcn_ie()
1358 struct sk_buff *skb; in ath10k_wmi_sta_keepalive() local
1364 skb = ar->wmi.ops->gen_sta_keepalive(ar, arg); in ath10k_wmi_sta_keepalive()
1365 if (IS_ERR(skb)) in ath10k_wmi_sta_keepalive()
1366 return PTR_ERR(skb); in ath10k_wmi_sta_keepalive()
1369 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_sta_keepalive()
1375 struct sk_buff *skb; in ath10k_wmi_wow_enable() local
1381 skb = ar->wmi.ops->gen_wow_enable(ar); in ath10k_wmi_wow_enable()
1382 if (IS_ERR(skb)) in ath10k_wmi_wow_enable()
1383 return PTR_ERR(skb); in ath10k_wmi_wow_enable()
1386 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_wow_enable()
1394 struct sk_buff *skb; in ath10k_wmi_wow_add_wakeup_event() local
1400 skb = ar->wmi.ops->gen_wow_add_wakeup_event(ar, vdev_id, event, enable); in ath10k_wmi_wow_add_wakeup_event()
1401 if (IS_ERR(skb)) in ath10k_wmi_wow_add_wakeup_event()
1402 return PTR_ERR(skb); in ath10k_wmi_wow_add_wakeup_event()
1405 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_wow_add_wakeup_event()
1411 struct sk_buff *skb; in ath10k_wmi_wow_host_wakeup_ind() local
1417 skb = ar->wmi.ops->gen_wow_host_wakeup_ind(ar); in ath10k_wmi_wow_host_wakeup_ind()
1418 if (IS_ERR(skb)) in ath10k_wmi_wow_host_wakeup_ind()
1419 return PTR_ERR(skb); in ath10k_wmi_wow_host_wakeup_ind()
1422 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_wow_host_wakeup_ind()
1430 struct sk_buff *skb; in ath10k_wmi_wow_add_pattern() local
1436 skb = ar->wmi.ops->gen_wow_add_pattern(ar, vdev_id, pattern_id, in ath10k_wmi_wow_add_pattern()
1439 if (IS_ERR(skb)) in ath10k_wmi_wow_add_pattern()
1440 return PTR_ERR(skb); in ath10k_wmi_wow_add_pattern()
1443 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_wow_add_pattern()
1449 struct sk_buff *skb; in ath10k_wmi_wow_del_pattern() local
1455 skb = ar->wmi.ops->gen_wow_del_pattern(ar, vdev_id, pattern_id); in ath10k_wmi_wow_del_pattern()
1456 if (IS_ERR(skb)) in ath10k_wmi_wow_del_pattern()
1457 return PTR_ERR(skb); in ath10k_wmi_wow_del_pattern()
1460 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_wow_del_pattern()
1467 struct sk_buff *skb; in ath10k_wmi_wow_config_pno() local
1473 skb = ar->wmi.ops->gen_wow_config_pno(ar, vdev_id, pno_scan); in ath10k_wmi_wow_config_pno()
1474 if (IS_ERR(skb)) in ath10k_wmi_wow_config_pno()
1475 return PTR_ERR(skb); in ath10k_wmi_wow_config_pno()
1478 return ath10k_wmi_cmd_send(ar, skb, cmd_id); in ath10k_wmi_wow_config_pno()
1485 struct sk_buff *skb; in ath10k_wmi_update_fw_tdls_state() local
1490 skb = ar->wmi.ops->gen_update_fw_tdls_state(ar, vdev_id, state); in ath10k_wmi_update_fw_tdls_state()
1491 if (IS_ERR(skb)) in ath10k_wmi_update_fw_tdls_state()
1492 return PTR_ERR(skb); in ath10k_wmi_update_fw_tdls_state()
1494 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->tdls_set_state_cmdid); in ath10k_wmi_update_fw_tdls_state()
1503 struct sk_buff *skb; in ath10k_wmi_tdls_peer_update() local
1508 skb = ar->wmi.ops->gen_tdls_peer_update(ar, arg, cap, chan); in ath10k_wmi_tdls_peer_update()
1509 if (IS_ERR(skb)) in ath10k_wmi_tdls_peer_update()
1510 return PTR_ERR(skb); in ath10k_wmi_tdls_peer_update()
1512 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_tdls_peer_update()
1519 struct sk_buff *skb; in ath10k_wmi_adaptive_qcs() local
1524 skb = ar->wmi.ops->gen_adaptive_qcs(ar, enable); in ath10k_wmi_adaptive_qcs()
1525 if (IS_ERR(skb)) in ath10k_wmi_adaptive_qcs()
1526 return PTR_ERR(skb); in ath10k_wmi_adaptive_qcs()
1528 return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->adaptive_qcs_cmdid); in ath10k_wmi_adaptive_qcs()
1534 struct sk_buff *skb; in ath10k_wmi_pdev_get_tpc_config() local
1539 skb = ar->wmi.ops->gen_pdev_get_tpc_config(ar, param); in ath10k_wmi_pdev_get_tpc_config()
1541 if (IS_ERR(skb)) in ath10k_wmi_pdev_get_tpc_config()
1542 return PTR_ERR(skb); in ath10k_wmi_pdev_get_tpc_config()
1544 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_pdev_get_tpc_config()
1563 struct sk_buff *skb; in ath10k_wmi_pdev_enable_adaptive_cca() local
1568 skb = ar->wmi.ops->gen_pdev_enable_adaptive_cca(ar, enable, in ath10k_wmi_pdev_enable_adaptive_cca()
1572 if (IS_ERR(skb)) in ath10k_wmi_pdev_enable_adaptive_cca()
1573 return PTR_ERR(skb); in ath10k_wmi_pdev_enable_adaptive_cca()
1575 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_pdev_enable_adaptive_cca()
1584 struct sk_buff *skb; in ath10k_wmi_ext_resource_config() local
1589 skb = ar->wmi.ops->ext_resource_config(ar, type, in ath10k_wmi_ext_resource_config()
1592 if (IS_ERR(skb)) in ath10k_wmi_ext_resource_config()
1593 return PTR_ERR(skb); in ath10k_wmi_ext_resource_config()
1595 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_ext_resource_config()
1613 struct sk_buff *skb; in ath10k_wmi_pdev_bss_chan_info_request() local
1618 skb = wmi->ops->gen_pdev_bss_chan_info_req(ar, type); in ath10k_wmi_pdev_bss_chan_info_request()
1619 if (IS_ERR(skb)) in ath10k_wmi_pdev_bss_chan_info_request()
1620 return PTR_ERR(skb); in ath10k_wmi_pdev_bss_chan_info_request()
1622 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_pdev_bss_chan_info_request()
1630 struct sk_buff *skb; in ath10k_wmi_echo() local
1635 skb = wmi->ops->gen_echo(ar, value); in ath10k_wmi_echo()
1636 if (IS_ERR(skb)) in ath10k_wmi_echo()
1637 return PTR_ERR(skb); in ath10k_wmi_echo()
1639 return ath10k_wmi_cmd_send(ar, skb, wmi->cmd->echo_cmdid); in ath10k_wmi_echo()
1645 struct sk_buff *skb; in ath10k_wmi_pdev_get_tpc_table_cmdid() local
1650 skb = ar->wmi.ops->gen_pdev_get_tpc_table_cmdid(ar, param); in ath10k_wmi_pdev_get_tpc_table_cmdid()
1652 if (IS_ERR(skb)) in ath10k_wmi_pdev_get_tpc_table_cmdid()
1653 return PTR_ERR(skb); in ath10k_wmi_pdev_get_tpc_table_cmdid()
1655 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_pdev_get_tpc_table_cmdid()
1663 struct sk_buff *skb; in ath10k_wmi_report_radar_found() local
1668 skb = ar->wmi.ops->gen_radar_found(ar, arg); in ath10k_wmi_report_radar_found()
1669 if (IS_ERR(skb)) in ath10k_wmi_report_radar_found()
1670 return PTR_ERR(skb); in ath10k_wmi_report_radar_found()
1672 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_report_radar_found()
1680 struct sk_buff *skb; in ath10k_wmi_pdev_bb_timing() local
1685 skb = ar->wmi.ops->gen_bb_timing(ar, arg); in ath10k_wmi_pdev_bb_timing()
1687 if (IS_ERR(skb)) in ath10k_wmi_pdev_bb_timing()
1688 return PTR_ERR(skb); in ath10k_wmi_pdev_bb_timing()
1690 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_pdev_bb_timing()
1698 struct sk_buff *skb; in ath10k_wmi_set_per_peer_per_tid_cfg() local
1703 skb = ar->wmi.ops->gen_per_peer_per_tid_cfg(ar, arg); in ath10k_wmi_set_per_peer_per_tid_cfg()
1704 if (IS_ERR(skb)) in ath10k_wmi_set_per_peer_per_tid_cfg()
1705 return PTR_ERR(skb); in ath10k_wmi_set_per_peer_per_tid_cfg()
1707 return ath10k_wmi_cmd_send(ar, skb, in ath10k_wmi_set_per_peer_per_tid_cfg()