wmi              2210 drivers/net/wireless/ath/ath10k/core.c 	wake_up(&ar->wmi.tx_credits_wq);
wmi              2285 drivers/net/wireless/ath/ath10k/core.c 	ar->wmi.rx_decap_mode = ATH10K_HW_TXRX_NATIVE_WIFI;
wmi              2320 drivers/net/wireless/ath/ath10k/core.c 		ar->wmi.rx_decap_mode = ATH10K_HW_TXRX_RAW;
wmi              2388 drivers/net/wireless/ath/ath10k/core.c 		ar->wmi.mgmt_max_num_pending_tx = TARGET_TLV_MGMT_NUM_MSDU_DESC;
wmi              2509 drivers/net/wireless/ath/ath10k/core.c 		set_bit(WMI_SERVICE_THERM_THROT, ar->wmi.svc_map);
wmi              2610 drivers/net/wireless/ath/ath10k/core.c 						ar->wmi.svc_map));
wmi              2667 drivers/net/wireless/ath/ath10k/core.c 	if (test_bit(WMI_SERVICE_EXT_RES_CFG_SUPPORT, ar->wmi.svc_map) &&
wmi              2676 drivers/net/wireless/ath/ath10k/core.c 		if (test_bit(WMI_SERVICE_BSS_CHANNEL_INFO_64, ar->wmi.svc_map))
wmi              2684 drivers/net/wireless/ath/ath10k/core.c 		if (test_bit(WMI_SERVICE_COEX_GPIO, ar->wmi.svc_map) &&
wmi              2690 drivers/net/wireless/ath/ath10k/core.c 			     ar->wmi.svc_map))
wmi              2694 drivers/net/wireless/ath/ath10k/core.c 			     ar->wmi.svc_map))
wmi              2698 drivers/net/wireless/ath/ath10k/core.c 			     ar->wmi.svc_map))
wmi              2701 drivers/net/wireless/ath/ath10k/core.c 		if (test_bit(WMI_SERVICE_REPORT_AIRTIME, ar->wmi.svc_map))
wmi              3201 drivers/net/wireless/ath/ath10k/core.c 	init_waitqueue_head(&ar->wmi.tx_credits_wq);
wmi               990 drivers/net/wireless/ath/ath10k/core.h 	struct ath10k_wmi wmi;
wmi              1221 drivers/net/wireless/ath/ath10k/core.h 	    test_bit(WMI_SERVICE_PEER_STATS, ar->wmi.svc_map))
wmi               169 drivers/net/wireless/ath/ath10k/debug.c 		enabled = test_bit(i, ar->wmi.svc_map);
wmi               517 drivers/net/wireless/ath/ath10k/debug.c 				   ar->wmi.cmd->vdev_install_key_cmdid);
wmi               579 drivers/net/wireless/ath/ath10k/debug.c 						ar->wmi.vdev_param->rts_threshold,
wmi              1332 drivers/net/wireless/ath/ath10k/debug.c 	ret = ath10k_wmi_pdev_set_param(ar, ar->wmi.pdev_param->ani_enable,
wmi              1417 drivers/net/wireless/ath/ath10k/debug.c 	ret = ath10k_wmi_pdev_set_param(ar, ar->wmi.pdev_param->cal_period,
wmi              1729 drivers/net/wireless/ath/ath10k/debug.c 						ar->wmi.pdev_param->cal_period,
wmi              1992 drivers/net/wireless/ath/ath10k/debug.c 	pdev_param = ar->wmi.pdev_param->enable_btcoex;
wmi              2371 drivers/net/wireless/ath/ath10k/debug.c 	if (!(test_bit(WMI_SERVICE_RESET_CHIP, ar->wmi.svc_map)))
wmi              2374 drivers/net/wireless/ath/ath10k/debug.c 	ret = ath10k_wmi_pdev_set_param(ar, ar->wmi.pdev_param->pdev_reset,
wmi              2429 drivers/net/wireless/ath/ath10k/debug.c 	param = ar->wmi.pdev_param->peer_sta_ps_statechg_enable;
wmi              2614 drivers/net/wireless/ath/ath10k/debug.c 	if (test_bit(WMI_SERVICE_THERM_THROT, ar->wmi.svc_map))
wmi              2621 drivers/net/wireless/ath/ath10k/debug.c 	if (test_bit(WMI_SERVICE_COEX_GPIO, ar->wmi.svc_map))
wmi              2625 drivers/net/wireless/ath/ath10k/debug.c 	if (test_bit(WMI_SERVICE_PEER_STATS, ar->wmi.svc_map)) {
wmi              2642 drivers/net/wireless/ath/ath10k/debug.c 	if (test_bit(WMI_SERVICE_TPC_STATS_FINAL, ar->wmi.svc_map))
wmi              3790 drivers/net/wireless/ath/ath10k/htt_rx.c 				     ar->wmi.svc_map) &&
wmi               204 drivers/net/wireless/ath/ath10k/mac.c 	if (test_bit(WMI_SERVICE_TX_MODE_DYNAMIC, ar->wmi.svc_map))
wmi               387 drivers/net/wireless/ath/ath10k/mac.c 					arvif->ar->wmi.vdev_param->def_keyid,
wmi               702 drivers/net/wireless/ath/ath10k/mac.c 	if (test_bit(WMI_SERVICE_SYNC_DELETE_CMDS, ar->wmi.svc_map)) {
wmi               780 drivers/net/wireless/ath/ath10k/mac.c 	param = ar->wmi.pdev_param->sta_kickout_th;
wmi               789 drivers/net/wireless/ath/ath10k/mac.c 	param = ar->wmi.vdev_param->ap_keepalive_min_idle_inactive_time_secs;
wmi               798 drivers/net/wireless/ath/ath10k/mac.c 	param = ar->wmi.vdev_param->ap_keepalive_max_idle_inactive_time_secs;
wmi               807 drivers/net/wireless/ath/ath10k/mac.c 	param = ar->wmi.vdev_param->ap_keepalive_max_unresponsive_time_secs;
wmi               824 drivers/net/wireless/ath/ath10k/mac.c 	vdev_param = ar->wmi.vdev_param->rts_threshold;
wmi               842 drivers/net/wireless/ath/ath10k/mac.c 	if (test_bit(WMI_SERVICE_SYNC_DELETE_CMDS, ar->wmi.svc_map)) {
wmi              1312 drivers/net/wireless/ath/ath10k/mac.c 	vdev_param = ar->wmi.vdev_param->protection_mode;
wmi              1328 drivers/net/wireless/ath/ath10k/mac.c 	vdev_param = ar->wmi.vdev_param->enable_rtscts;
wmi              1614 drivers/net/wireless/ath/ath10k/mac.c 	if (!test_bit(WMI_SERVICE_BEACON_OFFLOAD, ar->wmi.svc_map))
wmi              1663 drivers/net/wireless/ath/ath10k/mac.c 	if (!test_bit(WMI_SERVICE_BEACON_OFFLOAD, ar->wmi.svc_map))
wmi              1712 drivers/net/wireless/ath/ath10k/mac.c 	if (!test_bit(WMI_SERVICE_BEACON_OFFLOAD, ar->wmi.svc_map))
wmi              1832 drivers/net/wireless/ath/ath10k/mac.c 	vdev_param = arvif->ar->wmi.vdev_param->atim_window;
wmi              1984 drivers/net/wireless/ath/ath10k/mac.c 	if (!test_bit(WMI_SERVICE_STA_KEEP_ALIVE, ar->wmi.svc_map))
wmi              2013 drivers/net/wireless/ath/ath10k/mac.c 	if (WARN_ON(!test_bit(WMI_SERVICE_BEACON_OFFLOAD, ar->wmi.svc_map)))
wmi              2161 drivers/net/wireless/ath/ath10k/mac.c 	arg->peer_flags |= arvif->ar->wmi.peer_flags->auth;
wmi              2204 drivers/net/wireless/ath/ath10k/mac.c 		arg->peer_flags |= ar->wmi.peer_flags->need_ptk_4_way;
wmi              2209 drivers/net/wireless/ath/ath10k/mac.c 		arg->peer_flags |= ar->wmi.peer_flags->need_gtk_2_way;
wmi              2215 drivers/net/wireless/ath/ath10k/mac.c 		arg->peer_flags |= ar->wmi.peer_flags->pmf;
wmi              2312 drivers/net/wireless/ath/ath10k/mac.c 	arg->peer_flags |= ar->wmi.peer_flags->ht;
wmi              2323 drivers/net/wireless/ath/ath10k/mac.c 		arg->peer_flags |= ar->wmi.peer_flags->ldbc;
wmi              2326 drivers/net/wireless/ath/ath10k/mac.c 		arg->peer_flags |= ar->wmi.peer_flags->bw40;
wmi              2340 drivers/net/wireless/ath/ath10k/mac.c 		arg->peer_flags |= ar->wmi.peer_flags->stbc;
wmi              2348 drivers/net/wireless/ath/ath10k/mac.c 		arg->peer_flags |= ar->wmi.peer_flags->stbc;
wmi              2532 drivers/net/wireless/ath/ath10k/mac.c 	arg->peer_flags |= ar->wmi.peer_flags->vht;
wmi              2535 drivers/net/wireless/ath/ath10k/mac.c 		arg->peer_flags |= ar->wmi.peer_flags->vht_2g;
wmi              2553 drivers/net/wireless/ath/ath10k/mac.c 		arg->peer_flags |= ar->wmi.peer_flags->bw80;
wmi              2556 drivers/net/wireless/ath/ath10k/mac.c 		arg->peer_flags |= ar->wmi.peer_flags->bw160;
wmi              2607 drivers/net/wireless/ath/ath10k/mac.c 			arg->peer_flags |= arvif->ar->wmi.peer_flags->qos;
wmi              2610 drivers/net/wireless/ath/ath10k/mac.c 			arg->peer_flags |= arvif->ar->wmi.peer_flags->apsd;
wmi              2616 drivers/net/wireless/ath/ath10k/mac.c 			arg->peer_flags |= arvif->ar->wmi.peer_flags->qos;
wmi              2620 drivers/net/wireless/ath/ath10k/mac.c 			arg->peer_flags |= arvif->ar->wmi.peer_flags->qos;
wmi              2628 drivers/net/wireless/ath/ath10k/mac.c 		   arvif->ar->wmi.peer_flags->qos));
wmi              2799 drivers/net/wireless/ath/ath10k/mac.c 	param = ar->wmi.vdev_param->txbf;
wmi              3660 drivers/net/wireless/ath/ath10k/mac.c 				      ar->wmi.svc_map))
wmi              4019 drivers/net/wireless/ath/ath10k/mac.c 	if (test_bit(WMI_SERVICE_REPORT_AIRTIME, ar->wmi.svc_map))
wmi              4694 drivers/net/wireless/ath/ath10k/mac.c 	ret = ath10k_wmi_pdev_set_param(ar, ar->wmi.pdev_param->tx_chain_mask,
wmi              4702 drivers/net/wireless/ath/ath10k/mac.c 	ret = ath10k_wmi_pdev_set_param(ar, ar->wmi.pdev_param->rx_chain_mask,
wmi              4806 drivers/net/wireless/ath/ath10k/mac.c 	param = ar->wmi.pdev_param->pmf_qos;
wmi              4813 drivers/net/wireless/ath/ath10k/mac.c 	param = ar->wmi.pdev_param->dynamic_bw;
wmi              4820 drivers/net/wireless/ath/ath10k/mac.c 	if (test_bit(WMI_SERVICE_SPOOF_MAC_SUPPORT, ar->wmi.svc_map)) {
wmi              4828 drivers/net/wireless/ath/ath10k/mac.c 	if (test_bit(WMI_SERVICE_ADAPTIVE_OCS, ar->wmi.svc_map)) {
wmi              4837 drivers/net/wireless/ath/ath10k/mac.c 	if (test_bit(WMI_SERVICE_BURST, ar->wmi.svc_map)) {
wmi              4838 drivers/net/wireless/ath/ath10k/mac.c 		param = ar->wmi.pdev_param->burst_enable;
wmi              4846 drivers/net/wireless/ath/ath10k/mac.c 	param = ar->wmi.pdev_param->idle_ps_config;
wmi              4864 drivers/net/wireless/ath/ath10k/mac.c 	param = ar->wmi.pdev_param->arp_ac_override;
wmi              4884 drivers/net/wireless/ath/ath10k/mac.c 	param = ar->wmi.pdev_param->ani_enable;
wmi              4895 drivers/net/wireless/ath/ath10k/mac.c 		param = ar->wmi.pdev_param->peer_stats_update_period;
wmi              4906 drivers/net/wireless/ath/ath10k/mac.c 	param = ar->wmi.pdev_param->enable_btcoex;
wmi              4907 drivers/net/wireless/ath/ath10k/mac.c 	if (test_bit(WMI_SERVICE_COEX_GPIO, ar->wmi.svc_map) &&
wmi              4919 drivers/net/wireless/ath/ath10k/mac.c 	if (test_bit(WMI_SERVICE_BB_TIMING_CONFIG_SUPPORT, ar->wmi.svc_map)) {
wmi              5002 drivers/net/wireless/ath/ath10k/mac.c 	param = ar->wmi.pdev_param->txpower_limit2g;
wmi              5010 drivers/net/wireless/ath/ath10k/mac.c 	param = ar->wmi.pdev_param->txpower_limit5g;
wmi              5122 drivers/net/wireless/ath/ath10k/mac.c 					 ar->wmi.vdev_param->txbf, value);
wmi              5205 drivers/net/wireless/ath/ath10k/mac.c 		if (test_bit(WMI_SERVICE_MESH_11S, ar->wmi.svc_map)) {
wmi              5291 drivers/net/wireless/ath/ath10k/mac.c 		     ar->wmi.svc_map)) {
wmi              5292 drivers/net/wireless/ath/ath10k/mac.c 		vdev_param = ar->wmi.vdev_param->disable_4addr_src_lrn;
wmi              5318 drivers/net/wireless/ath/ath10k/mac.c 	vdev_param = ar->wmi.vdev_param->tx_encap_type;
wmi              5334 drivers/net/wireless/ath/ath10k/mac.c 		vdev_param = ar->wmi.vdev_param->nss;
wmi              5430 drivers/net/wireless/ath/ath10k/mac.c 	if (test_bit(WMI_SERVICE_RTT_RESPONDER_ROLE, ar->wmi.svc_map)) {
wmi              5431 drivers/net/wireless/ath/ath10k/mac.c 		vdev_param = ar->wmi.vdev_param->rtt_responder_role;
wmi              5539 drivers/net/wireless/ath/ath10k/mac.c 	if (test_bit(WMI_SERVICE_SYNC_DELETE_CMDS, ar->wmi.svc_map)) {
wmi              5662 drivers/net/wireless/ath/ath10k/mac.c 		vdev_param = ar->wmi.vdev_param->beacon_interval;
wmi              5679 drivers/net/wireless/ath/ath10k/mac.c 		pdev_param = ar->wmi.pdev_param->beacon_tx_mode;
wmi              5713 drivers/net/wireless/ath/ath10k/mac.c 		vdev_param = ar->wmi.vdev_param->dtim_period;
wmi              5734 drivers/net/wireless/ath/ath10k/mac.c 	    test_bit(WMI_SERVICE_RTT_RESPONDER_ROLE, ar->wmi.svc_map)) {
wmi              5737 drivers/net/wireless/ath/ath10k/mac.c 		vdev_param = ar->wmi.vdev_param->rtt_responder_role;
wmi              5775 drivers/net/wireless/ath/ath10k/mac.c 		vdev_param = ar->wmi.vdev_param->slot_time;
wmi              5793 drivers/net/wireless/ath/ath10k/mac.c 		vdev_param = ar->wmi.vdev_param->preamble;
wmi              5860 drivers/net/wireless/ath/ath10k/mac.c 		vdev_param = ar->wmi.vdev_param->mcast_data_rate;
wmi              5868 drivers/net/wireless/ath/ath10k/mac.c 		vdev_param = ar->wmi.vdev_param->bcast_data_rate;
wmi              5894 drivers/net/wireless/ath/ath10k/mac.c 		vdev_param = ar->wmi.vdev_param->mgmt_rate;
wmi              6068 drivers/net/wireless/ath/ath10k/mac.c 	u32 vdev_param = arvif->ar->wmi.vdev_param->def_keyid;
wmi              6269 drivers/net/wireless/ath/ath10k/mac.c 					arvif->ar->wmi.vdev_param->def_keyid,
wmi              6789 drivers/net/wireless/ath/ath10k/mac.c 	if (test_bit(WMI_SERVICE_STA_UAPSD_BASIC_AUTO_TRIG, ar->wmi.svc_map) ||
wmi              6790 drivers/net/wireless/ath/ath10k/mac.c 	    test_bit(WMI_SERVICE_STA_UAPSD_VAR_AUTO_TRIG, ar->wmi.svc_map)) {
wmi              6858 drivers/net/wireless/ath/ath10k/mac.c 	if (ar->wmi.ops->gen_vdev_wmm_conf) {
wmi              7134 drivers/net/wireless/ath/ath10k/mac.c 	if (!test_bit(WMI_SERVICE_BSS_CHANNEL_INFO_64, ar->wmi.svc_map) ||
wmi              7346 drivers/net/wireless/ath/ath10k/mac.c 	vdev_param = ar->wmi.vdev_param->fixed_rate;
wmi              7354 drivers/net/wireless/ath/ath10k/mac.c 	vdev_param = ar->wmi.vdev_param->nss;
wmi              7361 drivers/net/wireless/ath/ath10k/mac.c 	vdev_param = ar->wmi.vdev_param->sgi;
wmi              7368 drivers/net/wireless/ath/ath10k/mac.c 	vdev_param = ar->wmi.vdev_param->ldpc;
wmi              7675 drivers/net/wireless/ath/ath10k/mac.c 		vdev_param = ar->wmi.vdev_param->dec_tsf;
wmi              7678 drivers/net/wireless/ath/ath10k/mac.c 		vdev_param = ar->wmi.vdev_param->inc_tsf;
wmi              8813 drivers/net/wireless/ath/ath10k/mac.c 	if (test_bit(WMI_SERVICE_NLO, ar->wmi.svc_map)) {
wmi              8831 drivers/net/wireless/ath/ath10k/mac.c 	if (test_bit(WMI_SERVICE_BEACON_OFFLOAD, ar->wmi.svc_map)) {
wmi              8844 drivers/net/wireless/ath/ath10k/mac.c 	if (test_bit(WMI_SERVICE_TDLS, ar->wmi.svc_map) ||
wmi              8845 drivers/net/wireless/ath/ath10k/mac.c 	    test_bit(WMI_SERVICE_TDLS_EXPLICIT_MODE_ONLY, ar->wmi.svc_map)) {
wmi              8847 drivers/net/wireless/ath/ath10k/mac.c 		if (test_bit(WMI_SERVICE_TDLS_WIDER_BANDWIDTH, ar->wmi.svc_map))
wmi              8851 drivers/net/wireless/ath/ath10k/mac.c 	if (test_bit(WMI_SERVICE_TDLS_UAPSD_BUFFER_STA, ar->wmi.svc_map))
wmi              8874 drivers/net/wireless/ath/ath10k/mac.c 	if (test_bit(WMI_SERVICE_TX_DATA_ACK_RSSI, ar->wmi.svc_map) ||
wmi              8875 drivers/net/wireless/ath/ath10k/mac.c 	    test_bit(WMI_SERVICE_HTT_MGMT_TX_COMP_VALID_FLAGS, ar->wmi.svc_map))
wmi              8880 drivers/net/wireless/ath/ath10k/mac.c 	    test_bit(WMI_SERVICE_REPORT_AIRTIME, ar->wmi.svc_map))
wmi              8884 drivers/net/wireless/ath/ath10k/mac.c 	if (test_bit(WMI_SERVICE_RTT_RESPONDER_ROLE, ar->wmi.svc_map))
wmi              8888 drivers/net/wireless/ath/ath10k/mac.c 	if (test_bit(WMI_SERVICE_TX_PWR_PER_PEER, ar->wmi.svc_map))
wmi              8911 drivers/net/wireless/ath/ath10k/mac.c 		if (test_bit(WMI_SERVICE_ADAPTIVE_OCS, ar->wmi.svc_map)) {
wmi              8935 drivers/net/wireless/ath/ath10k/mac.c 			     ar->wmi.svc_map)) {
wmi              8979 drivers/net/wireless/ath/ath10k/mac.c 	if (test_bit(WMI_SERVICE_SPOOF_MAC_SUPPORT, ar->wmi.svc_map)) {
wmi              9008 drivers/net/wireless/ath/ath10k/mac.c 	if (test_bit(WMI_SERVICE_PER_PACKET_SW_ENCRYPT, ar->wmi.svc_map)) {
wmi               132 drivers/net/wireless/ath/ath10k/thermal.c 	if (!test_bit(WMI_SERVICE_THERM_THROT, ar->wmi.svc_map))
wmi               135 drivers/net/wireless/ath/ath10k/thermal.c 	if (!ar->wmi.ops->gen_pdev_set_quiet_mode)
wmi               160 drivers/net/wireless/ath/ath10k/thermal.c 	if (!test_bit(WMI_SERVICE_THERM_THROT, ar->wmi.svc_map))
wmi               185 drivers/net/wireless/ath/ath10k/thermal.c 	if (!(ar->wmi.ops->gen_pdev_get_temperature))
wmi               214 drivers/net/wireless/ath/ath10k/thermal.c 	if (!test_bit(WMI_SERVICE_THERM_THROT, ar->wmi.svc_map))
wmi               227 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (WARN_ON_ONCE(!ar->wmi.ops->rx))
wmi               230 drivers/net/wireless/ath/ath10k/wmi-ops.h 	ar->wmi.ops->rx(ar, skb);
wmi               238 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->map_svc)
wmi               241 drivers/net/wireless/ath/ath10k/wmi-ops.h 	ar->wmi.ops->map_svc(in, out, len);
wmi               249 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->map_svc_ext)
wmi               252 drivers/net/wireless/ath/ath10k/wmi-ops.h 	ar->wmi.ops->map_svc_ext(in, out, len);
wmi               260 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->pull_scan)
wmi               263 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ar->wmi.ops->pull_scan(ar, skb, arg);
wmi               270 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->pull_mgmt_tx_compl)
wmi               273 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ar->wmi.ops->pull_mgmt_tx_compl(ar, skb, arg);
wmi               280 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->pull_mgmt_tx_bundle_compl)
wmi               283 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ar->wmi.ops->pull_mgmt_tx_bundle_compl(ar, skb, arg);
wmi               290 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->pull_mgmt_rx)
wmi               293 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ar->wmi.ops->pull_mgmt_rx(ar, skb, arg);
wmi               300 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->pull_ch_info)
wmi               303 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ar->wmi.ops->pull_ch_info(ar, skb, arg);
wmi               310 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->pull_vdev_start)
wmi               313 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ar->wmi.ops->pull_vdev_start(ar, skb, arg);
wmi               320 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->pull_peer_kick)
wmi               323 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ar->wmi.ops->pull_peer_kick(ar, skb, arg);
wmi               330 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->pull_swba)
wmi               333 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ar->wmi.ops->pull_swba(ar, skb, arg);
wmi               340 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->pull_phyerr_hdr)
wmi               343 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ar->wmi.ops->pull_phyerr_hdr(ar, skb, arg);
wmi               350 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->pull_phyerr)
wmi               353 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ar->wmi.ops->pull_phyerr(ar, phyerr_buf, left_len, arg);
wmi               360 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->pull_svc_rdy)
wmi               363 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ar->wmi.ops->pull_svc_rdy(ar, skb, arg);
wmi               370 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->pull_rdy)
wmi               373 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ar->wmi.ops->pull_rdy(ar, skb, arg);
wmi               380 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->pull_svc_avail)
wmi               382 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ar->wmi.ops->pull_svc_avail(ar, skb, arg);
wmi               389 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->pull_fw_stats)
wmi               392 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ar->wmi.ops->pull_fw_stats(ar, skb, stats);
wmi               399 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->pull_roam_ev)
wmi               402 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ar->wmi.ops->pull_roam_ev(ar, skb, arg);
wmi               409 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->pull_wow_event)
wmi               412 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ar->wmi.ops->pull_wow_event(ar, skb, arg);
wmi               419 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->pull_echo_ev)
wmi               422 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ar->wmi.ops->pull_echo_ev(ar, skb, arg);
wmi               429 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->pull_dfs_status_ev)
wmi               432 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ar->wmi.ops->pull_dfs_status_ev(ar, skb, arg);
wmi               438 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->get_txbf_conf_scheme)
wmi               441 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ar->wmi.ops->get_txbf_conf_scheme(ar);
wmi               451 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_mgmt_tx_send)
wmi               454 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_mgmt_tx_send(ar, msdu, paddr);
wmi               459 drivers/net/wireless/ath/ath10k/wmi-ops.h 				  ar->wmi.cmd->mgmt_tx_send_cmdid);
wmi               473 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_mgmt_tx)
wmi               476 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_mgmt_tx(ar, msdu);
wmi               481 drivers/net/wireless/ath/ath10k/wmi-ops.h 				  ar->wmi.cmd->mgmt_tx_cmdid);
wmi               501 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_pdev_set_rd)
wmi               504 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_pdev_set_rd(ar, rd, rd2g, rd5g, ctl2g, ctl5g,
wmi               510 drivers/net/wireless/ath/ath10k/wmi-ops.h 				   ar->wmi.cmd->pdev_set_regdomain_cmdid);
wmi               518 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_pdev_set_base_macaddr)
wmi               521 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_pdev_set_base_macaddr(ar, macaddr);
wmi               526 drivers/net/wireless/ath/ath10k/wmi-ops.h 				   ar->wmi.cmd->pdev_set_base_macaddr_cmdid);
wmi               534 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_pdev_suspend)
wmi               537 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_pdev_suspend(ar, suspend_opt);
wmi               541 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->pdev_suspend_cmdid);
wmi               549 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_pdev_resume)
wmi               552 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_pdev_resume(ar);
wmi               556 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->pdev_resume_cmdid);
wmi               564 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_pdev_set_param)
wmi               567 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_pdev_set_param(ar, id, value);
wmi               571 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->pdev_set_param_cmdid);
wmi               579 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_init)
wmi               582 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_init(ar);
wmi               586 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->init_cmdid);
wmi               595 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_start_scan)
wmi               598 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_start_scan(ar, arg);
wmi               602 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->start_scan_cmdid);
wmi               610 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_stop_scan)
wmi               613 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_stop_scan(ar, arg);
wmi               617 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->stop_scan_cmdid);
wmi               628 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_vdev_create)
wmi               631 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_vdev_create(ar, vdev_id, type, subtype, macaddr);
wmi               635 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_create_cmdid);
wmi               643 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_vdev_delete)
wmi               646 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_vdev_delete(ar, vdev_id);
wmi               650 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_delete_cmdid);
wmi               659 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_vdev_start)
wmi               662 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_vdev_start(ar, arg, false);
wmi               667 drivers/net/wireless/ath/ath10k/wmi-ops.h 				   ar->wmi.cmd->vdev_start_request_cmdid);
wmi               676 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_vdev_start)
wmi               679 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_vdev_start(ar, arg, true);
wmi               684 drivers/net/wireless/ath/ath10k/wmi-ops.h 				   ar->wmi.cmd->vdev_restart_request_cmdid);
wmi               692 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_vdev_stop)
wmi               695 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_vdev_stop(ar, vdev_id);
wmi               699 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_stop_cmdid);
wmi               707 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_vdev_up)
wmi               710 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_vdev_up(ar, vdev_id, aid, bssid);
wmi               714 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_up_cmdid);
wmi               722 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_vdev_down)
wmi               725 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_vdev_down(ar, vdev_id);
wmi               729 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_down_cmdid);
wmi               738 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_vdev_set_param)
wmi               741 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_vdev_set_param(ar, vdev_id, param_id,
wmi               746 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->vdev_set_param_cmdid);
wmi               755 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_vdev_install_key)
wmi               758 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_vdev_install_key(ar, arg);
wmi               763 drivers/net/wireless/ath/ath10k/wmi-ops.h 				   ar->wmi.cmd->vdev_install_key_cmdid);
wmi               773 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_vdev_spectral_conf)
wmi               776 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_vdev_spectral_conf(ar, arg);
wmi               780 drivers/net/wireless/ath/ath10k/wmi-ops.h 	cmd_id = ar->wmi.cmd->vdev_spectral_scan_configure_cmdid;
wmi               791 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_vdev_spectral_enable)
wmi               794 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_vdev_spectral_enable(ar, vdev_id, trigger,
wmi               799 drivers/net/wireless/ath/ath10k/wmi-ops.h 	cmd_id = ar->wmi.cmd->vdev_spectral_scan_enable_cmdid;
wmi               812 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_vdev_sta_uapsd)
wmi               815 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_vdev_sta_uapsd(ar, vdev_id, peer_addr, args,
wmi               820 drivers/net/wireless/ath/ath10k/wmi-ops.h 	cmd_id = ar->wmi.cmd->sta_uapsd_auto_trig_cmdid;
wmi               831 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_vdev_wmm_conf(ar, vdev_id, arg);
wmi               835 drivers/net/wireless/ath/ath10k/wmi-ops.h 	cmd_id = ar->wmi.cmd->vdev_set_wmm_params_cmdid;
wmi               846 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_peer_create)
wmi               849 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_peer_create(ar, vdev_id, peer_addr, peer_type);
wmi               853 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->peer_create_cmdid);
wmi               862 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_peer_delete)
wmi               865 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_peer_delete(ar, vdev_id, peer_addr);
wmi               869 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->peer_delete_cmdid);
wmi               878 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_peer_flush)
wmi               881 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_peer_flush(ar, vdev_id, peer_addr, tid_bitmap);
wmi               885 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->peer_flush_tids_cmdid);
wmi               894 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_peer_set_param)
wmi               897 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_peer_set_param(ar, vdev_id, peer_addr, param_id,
wmi               902 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->peer_set_param_cmdid);
wmi               911 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_set_psmode)
wmi               914 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_set_psmode(ar, vdev_id, psmode);
wmi               919 drivers/net/wireless/ath/ath10k/wmi-ops.h 				   ar->wmi.cmd->sta_powersave_mode_cmdid);
wmi               928 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_set_sta_ps)
wmi               931 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_set_sta_ps(ar, vdev_id, param_id, value);
wmi               936 drivers/net/wireless/ath/ath10k/wmi-ops.h 				   ar->wmi.cmd->sta_powersave_param_cmdid);
wmi               945 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_set_ap_ps)
wmi               948 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_set_ap_ps(ar, vdev_id, mac, param_id, value);
wmi               953 drivers/net/wireless/ath/ath10k/wmi-ops.h 				   ar->wmi.cmd->ap_ps_peer_param_cmdid);
wmi               962 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_scan_chan_list)
wmi               965 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_scan_chan_list(ar, arg);
wmi               969 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->scan_chan_list_cmdid);
wmi               981 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_scan_prob_req_oui)
wmi               984 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_scan_prob_req_oui(ar, prob_req_oui);
wmi               989 drivers/net/wireless/ath/ath10k/wmi-ops.h 			ar->wmi.cmd->scan_prob_req_oui_cmdid);
wmi               998 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_peer_assoc)
wmi              1001 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_peer_assoc(ar, arg);
wmi              1005 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->peer_assoc_cmdid);
wmi              1017 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_beacon_dma)
wmi              1020 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_beacon_dma(ar, vdev_id, bcn, bcn_len, bcn_paddr,
wmi              1026 drivers/net/wireless/ath/ath10k/wmi-ops.h 					 ar->wmi.cmd->pdev_send_bcn_cmdid);
wmi              1041 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_pdev_set_wmm)
wmi              1044 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_pdev_set_wmm(ar, arg);
wmi              1049 drivers/net/wireless/ath/ath10k/wmi-ops.h 				   ar->wmi.cmd->pdev_set_wmm_params_cmdid);
wmi              1057 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_request_stats)
wmi              1060 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_request_stats(ar, stats_mask);
wmi              1064 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->request_stats_cmdid);
wmi              1073 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_force_fw_hang)
wmi              1076 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_force_fw_hang(ar, type, delay_ms);
wmi              1080 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->force_fw_hang_cmdid);
wmi              1088 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_dbglog_cfg)
wmi              1091 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_dbglog_cfg(ar, module_enable, log_level);
wmi              1095 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->dbglog_cfg_cmdid);
wmi              1103 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_pktlog_enable)
wmi              1106 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_pktlog_enable(ar, filter);
wmi              1110 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->pdev_pktlog_enable_cmdid);
wmi              1118 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_pktlog_disable)
wmi              1121 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_pktlog_disable(ar);
wmi              1126 drivers/net/wireless/ath/ath10k/wmi-ops.h 				   ar->wmi.cmd->pdev_pktlog_disable_cmdid);
wmi              1135 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_pdev_set_quiet_mode)
wmi              1138 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_pdev_set_quiet_mode(ar, period, duration,
wmi              1144 drivers/net/wireless/ath/ath10k/wmi-ops.h 				   ar->wmi.cmd->pdev_set_quiet_mode_cmdid);
wmi              1152 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_pdev_get_temperature)
wmi              1155 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_pdev_get_temperature(ar);
wmi              1160 drivers/net/wireless/ath/ath10k/wmi-ops.h 				   ar->wmi.cmd->pdev_get_temperature_cmdid);
wmi              1168 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_addba_clear_resp)
wmi              1171 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_addba_clear_resp(ar, vdev_id, mac);
wmi              1176 drivers/net/wireless/ath/ath10k/wmi-ops.h 				   ar->wmi.cmd->addba_clear_resp_cmdid);
wmi              1185 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_addba_send)
wmi              1188 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_addba_send(ar, vdev_id, mac, tid, buf_size);
wmi              1193 drivers/net/wireless/ath/ath10k/wmi-ops.h 				   ar->wmi.cmd->addba_send_cmdid);
wmi              1202 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_addba_set_resp)
wmi              1205 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_addba_set_resp(ar, vdev_id, mac, tid, status);
wmi              1210 drivers/net/wireless/ath/ath10k/wmi-ops.h 				   ar->wmi.cmd->addba_set_resp_cmdid);
wmi              1219 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_delba_send)
wmi              1222 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_delba_send(ar, vdev_id, mac, tid, initiator,
wmi              1228 drivers/net/wireless/ath/ath10k/wmi-ops.h 				   ar->wmi.cmd->delba_send_cmdid);
wmi              1238 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_bcn_tmpl)
wmi              1241 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_bcn_tmpl(ar, vdev_id, tim_ie_offset, bcn,
wmi              1247 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->bcn_tmpl_cmdid);
wmi              1255 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_prb_tmpl)
wmi              1258 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_prb_tmpl(ar, vdev_id, prb);
wmi              1262 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->prb_tmpl_cmdid);
wmi              1270 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_p2p_go_bcn_ie)
wmi              1273 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_p2p_go_bcn_ie(ar, vdev_id, p2p_ie);
wmi              1277 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->p2p_go_set_beacon_ie);
wmi              1287 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_sta_keepalive)
wmi              1290 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_sta_keepalive(ar, arg);
wmi              1294 drivers/net/wireless/ath/ath10k/wmi-ops.h 	cmd_id = ar->wmi.cmd->sta_keepalive_cmd;
wmi              1304 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_wow_enable)
wmi              1307 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_wow_enable(ar);
wmi              1311 drivers/net/wireless/ath/ath10k/wmi-ops.h 	cmd_id = ar->wmi.cmd->wow_enable_cmdid;
wmi              1323 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_wow_add_wakeup_event)
wmi              1326 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_wow_add_wakeup_event(ar, vdev_id, event, enable);
wmi              1330 drivers/net/wireless/ath/ath10k/wmi-ops.h 	cmd_id = ar->wmi.cmd->wow_enable_disable_wake_event_cmdid;
wmi              1340 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_wow_host_wakeup_ind)
wmi              1343 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_wow_host_wakeup_ind(ar);
wmi              1347 drivers/net/wireless/ath/ath10k/wmi-ops.h 	cmd_id = ar->wmi.cmd->wow_hostwakeup_from_sleep_cmdid;
wmi              1359 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_wow_add_pattern)
wmi              1362 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_wow_add_pattern(ar, vdev_id, pattern_id,
wmi              1368 drivers/net/wireless/ath/ath10k/wmi-ops.h 	cmd_id = ar->wmi.cmd->wow_add_wake_pattern_cmdid;
wmi              1378 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_wow_del_pattern)
wmi              1381 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_wow_del_pattern(ar, vdev_id, pattern_id);
wmi              1385 drivers/net/wireless/ath/ath10k/wmi-ops.h 	cmd_id = ar->wmi.cmd->wow_del_wake_pattern_cmdid;
wmi              1396 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_wow_config_pno)
wmi              1399 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_wow_config_pno(ar, vdev_id, pno_scan);
wmi              1403 drivers/net/wireless/ath/ath10k/wmi-ops.h 	cmd_id = ar->wmi.cmd->network_list_offload_config_cmdid;
wmi              1413 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_update_fw_tdls_state)
wmi              1416 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_update_fw_tdls_state(ar, vdev_id, state);
wmi              1420 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->tdls_set_state_cmdid);
wmi              1431 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_tdls_peer_update)
wmi              1434 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_tdls_peer_update(ar, arg, cap, chan);
wmi              1439 drivers/net/wireless/ath/ath10k/wmi-ops.h 				   ar->wmi.cmd->tdls_peer_update_cmdid);
wmi              1447 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_adaptive_qcs)
wmi              1450 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_adaptive_qcs(ar, enable);
wmi              1454 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->adaptive_qcs_cmdid);
wmi              1462 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_pdev_get_tpc_config)
wmi              1465 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_pdev_get_tpc_config(ar, param);
wmi              1471 drivers/net/wireless/ath/ath10k/wmi-ops.h 				   ar->wmi.cmd->pdev_get_tpc_config_cmdid);
wmi              1478 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->fw_stats_fill)
wmi              1481 drivers/net/wireless/ath/ath10k/wmi-ops.h 	ar->wmi.ops->fw_stats_fill(ar, fw_stats, buf);
wmi              1491 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_pdev_enable_adaptive_cca)
wmi              1494 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_pdev_enable_adaptive_cca(ar, enable,
wmi              1502 drivers/net/wireless/ath/ath10k/wmi-ops.h 				   ar->wmi.cmd->pdev_enable_adaptive_cca_cmdid);
wmi              1512 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->ext_resource_config)
wmi              1515 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->ext_resource_config(ar, type,
wmi              1522 drivers/net/wireless/ath/ath10k/wmi-ops.h 				   ar->wmi.cmd->ext_resource_cfg_cmdid);
wmi              1528 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->get_vdev_subtype)
wmi              1531 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ar->wmi.ops->get_vdev_subtype(ar, subtype);
wmi              1538 drivers/net/wireless/ath/ath10k/wmi-ops.h 	struct ath10k_wmi *wmi = &ar->wmi;
wmi              1541 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!wmi->ops->gen_pdev_bss_chan_info_req)
wmi              1544 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = wmi->ops->gen_pdev_bss_chan_info_req(ar, type);
wmi              1549 drivers/net/wireless/ath/ath10k/wmi-ops.h 				   wmi->cmd->pdev_bss_chan_info_request_cmdid);
wmi              1555 drivers/net/wireless/ath/ath10k/wmi-ops.h 	struct ath10k_wmi *wmi = &ar->wmi;
wmi              1558 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!wmi->ops->gen_echo)
wmi              1561 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = wmi->ops->gen_echo(ar, value);
wmi              1565 drivers/net/wireless/ath/ath10k/wmi-ops.h 	return ath10k_wmi_cmd_send(ar, skb, wmi->cmd->echo_cmdid);
wmi              1573 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_pdev_get_tpc_table_cmdid)
wmi              1576 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_pdev_get_tpc_table_cmdid(ar, param);
wmi              1582 drivers/net/wireless/ath/ath10k/wmi-ops.h 				   ar->wmi.cmd->pdev_get_tpc_table_cmdid);
wmi              1591 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_radar_found)
wmi              1594 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_radar_found(ar, arg);
wmi              1599 drivers/net/wireless/ath/ath10k/wmi-ops.h 				   ar->wmi.cmd->radar_found_cmdid);
wmi              1608 drivers/net/wireless/ath/ath10k/wmi-ops.h 	if (!ar->wmi.ops->gen_bb_timing)
wmi              1611 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_bb_timing(ar, arg);
wmi              1617 drivers/net/wireless/ath/ath10k/wmi-ops.h 				   ar->wmi.cmd->set_bb_timing_cmdid);
wmi               710 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	if (test_bit(WMI_SERVICE_TX_DATA_ACK_RSSI, ar->wmi.svc_map))
wmi               784 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	if (test_bit(WMI_SERVICE_TX_DATA_ACK_RSSI, ar->wmi.svc_map))
wmi              1659 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	for (i = 0; i < ar->wmi.num_mem_chunks; i++) {
wmi              1665 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		chunk->ptr = __cpu_to_le32(ar->wmi.mem_chunks[i].paddr);
wmi              1666 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		chunk->size = __cpu_to_le32(ar->wmi.mem_chunks[i].len);
wmi              1667 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		chunk->req_id = __cpu_to_le32(ar->wmi.mem_chunks[i].req_id);
wmi              1672 drivers/net/wireless/ath/ath10k/wmi-tlv.c 			   ar->wmi.mem_chunks[i].len,
wmi              1673 drivers/net/wireless/ath/ath10k/wmi-tlv.c 			   (unsigned long long)ar->wmi.mem_chunks[i].paddr,
wmi              1674 drivers/net/wireless/ath/ath10k/wmi-tlv.c 			   ar->wmi.mem_chunks[i].req_id);
wmi              1691 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	chunks_len = ar->wmi.num_mem_chunks *
wmi              1731 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd->num_host_mem_chunks = __cpu_to_le32(ar->wmi.num_mem_chunks);
wmi              1742 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	if (test_bit(WMI_SERVICE_RX_FULL_REORDER, ar->wmi.svc_map)) {
wmi              1761 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cfg->rx_decap_mode = __cpu_to_le32(ar->wmi.rx_decap_mode);
wmi              1792 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	if (test_bit(WMI_SERVICE_TX_DATA_ACK_RSSI, ar->wmi.svc_map))
wmi              2844 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	struct ath10k_wmi *wmi = &ar->wmi;
wmi              2856 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ret = idr_alloc(&wmi->mgmt_pending_tx, pkt_addr, 0,
wmi              2857 drivers/net/wireless/ath/ath10k/wmi-tlv.c 			wmi->mgmt_max_num_pending_tx, GFP_ATOMIC);
wmi              3261 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	if (test_bit(WMI_SERVICE_TDLS_UAPSD_BUFFER_STA, ar->wmi.svc_map))
wmi              4397 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ar->wmi.cmd = &wmi_tlv_cmd_map;
wmi              4398 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ar->wmi.vdev_param = &wmi_tlv_vdev_param_map;
wmi              4399 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ar->wmi.pdev_param = &wmi_tlv_pdev_param_map;
wmi              4400 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ar->wmi.ops = &wmi_tlv_ops;
wmi              4401 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	ar->wmi.peer_flags = &wmi_tlv_peer_flags_map;
wmi              1725 drivers/net/wireless/ath/ath10k/wmi.c 	time_left = wait_for_completion_timeout(&ar->wmi.service_ready,
wmi              1736 drivers/net/wireless/ath/ath10k/wmi.c 	time_left = wait_for_completion_timeout(&ar->wmi.unified_ready,
wmi              1785 drivers/net/wireless/ath/ath10k/wmi.c 	ret = ath10k_htc_send(&ar->htc, ar->wmi.eid, skb);
wmi              1865 drivers/net/wireless/ath/ath10k/wmi.c 	wake_up(&ar->wmi.tx_credits_wq);
wmi              1880 drivers/net/wireless/ath/ath10k/wmi.c 	wait_event_timeout(ar->wmi.tx_credits_wq, ({
wmi              2349 drivers/net/wireless/ath/ath10k/wmi.c 	struct ath10k_wmi *wmi = &ar->wmi;
wmi              2356 drivers/net/wireless/ath/ath10k/wmi.c 	pkt_addr = idr_find(&wmi->mgmt_pending_tx, param->desc_id);
wmi              2383 drivers/net/wireless/ath/ath10k/wmi.c 	idr_remove(&wmi->mgmt_pending_tx, param->desc_id);
wmi              2404 drivers/net/wireless/ath/ath10k/wmi.c 	if (test_bit(WMI_SERVICE_TX_DATA_ACK_RSSI, ar->wmi.svc_map))
wmi              2434 drivers/net/wireless/ath/ath10k/wmi.c 		if (test_bit(WMI_SERVICE_TX_DATA_ACK_RSSI, ar->wmi.svc_map))
wmi              2762 drivers/net/wireless/ath/ath10k/wmi.c 		complete(&ar->wmi.barrier);
wmi              3173 drivers/net/wireless/ath/ath10k/wmi.c 		if (test_bit(WMI_SERVICE_PEER_STATS, ar->wmi.svc_map))
wmi              3909 drivers/net/wireless/ath/ath10k/wmi.c 	reinit_completion(&ar->wmi.radar_confirm);
wmi              3921 drivers/net/wireless/ath/ath10k/wmi.c 	time_left = wait_for_completion_timeout(&ar->wmi.radar_confirm,
wmi              4032 drivers/net/wireless/ath/ath10k/wmi.c 	if ((test_bit(WMI_SERVICE_HOST_DFS_CHECK_SUPPORT, ar->wmi.svc_map)) &&
wmi              4453 drivers/net/wireless/ath/ath10k/wmi.c 	complete(&ar->wmi.radar_confirm);
wmi              5250 drivers/net/wireless/ath/ath10k/wmi.c 	int idx = ar->wmi.num_mem_chunks;
wmi              5259 drivers/net/wireless/ath/ath10k/wmi.c 	ar->wmi.mem_chunks[idx].vaddr = vaddr;
wmi              5260 drivers/net/wireless/ath/ath10k/wmi.c 	ar->wmi.mem_chunks[idx].paddr = paddr;
wmi              5261 drivers/net/wireless/ath/ath10k/wmi.c 	ar->wmi.mem_chunks[idx].len = pool_size;
wmi              5262 drivers/net/wireless/ath/ath10k/wmi.c 	ar->wmi.mem_chunks[idx].req_id = req_id;
wmi              5263 drivers/net/wireless/ath/ath10k/wmi.c 	ar->wmi.num_mem_chunks++;
wmi              5294 drivers/net/wireless/ath/ath10k/wmi.c 	if (ar->wmi.num_mem_chunks != num_mem_reqs)
wmi              5315 drivers/net/wireless/ath/ath10k/wmi.c 		for (j = 0; j < ar->wmi.num_mem_chunks; j++) {
wmi              5316 drivers/net/wireless/ath/ath10k/wmi.c 			if (ar->wmi.mem_chunks[j].req_id == req_id) {
wmi              5318 drivers/net/wireless/ath/ath10k/wmi.c 				if (ar->wmi.mem_chunks[j].len == pool_size) {
wmi              5428 drivers/net/wireless/ath/ath10k/wmi.c 	ath10k_wmi_map_svc(ar, arg.service_map, ar->wmi.svc_map,
wmi              5478 drivers/net/wireless/ath/ath10k/wmi.c 	if (test_bit(WMI_SERVICE_PEER_CACHING, ar->wmi.svc_map)) {
wmi              5562 drivers/net/wireless/ath/ath10k/wmi.c 	complete(&ar->wmi.service_ready);
wmi              5634 drivers/net/wireless/ath/ath10k/wmi.c 	complete(&ar->wmi.unified_ready);
wmi              5649 drivers/net/wireless/ath/ath10k/wmi.c 	ath10k_wmi_map_svc_ext(ar, arg.service_map_ext, ar->wmi.svc_map,
wmi              6276 drivers/net/wireless/ath/ath10k/wmi.c 	memset(&ar->wmi.svc_map, 0, sizeof(ar->wmi.svc_map));
wmi              6296 drivers/net/wireless/ath/ath10k/wmi.c 	ar->wmi.eid = conn_resp.eid;
wmi              6429 drivers/net/wireless/ath/ath10k/wmi.c 	chunks->count = __cpu_to_le32(ar->wmi.num_mem_chunks);
wmi              6431 drivers/net/wireless/ath/ath10k/wmi.c 	for (i = 0; i < ar->wmi.num_mem_chunks; i++) {
wmi              6433 drivers/net/wireless/ath/ath10k/wmi.c 		chunk->ptr = __cpu_to_le32(ar->wmi.mem_chunks[i].paddr);
wmi              6434 drivers/net/wireless/ath/ath10k/wmi.c 		chunk->size = __cpu_to_le32(ar->wmi.mem_chunks[i].len);
wmi              6435 drivers/net/wireless/ath/ath10k/wmi.c 		chunk->req_id = __cpu_to_le32(ar->wmi.mem_chunks[i].req_id);
wmi              6440 drivers/net/wireless/ath/ath10k/wmi.c 			   ar->wmi.mem_chunks[i].len,
wmi              6441 drivers/net/wireless/ath/ath10k/wmi.c 			   (unsigned long long)ar->wmi.mem_chunks[i].paddr);
wmi              6468 drivers/net/wireless/ath/ath10k/wmi.c 	config.rx_decap_mode = __cpu_to_le32(ar->wmi.rx_decap_mode);
wmi              6503 drivers/net/wireless/ath/ath10k/wmi.c 	      (sizeof(struct host_memory_chunk) * ar->wmi.num_mem_chunks);
wmi              6536 drivers/net/wireless/ath/ath10k/wmi.c 	config.rx_decap_mode = __cpu_to_le32(ar->wmi.rx_decap_mode);
wmi              6568 drivers/net/wireless/ath/ath10k/wmi.c 	      (sizeof(struct host_memory_chunk) * ar->wmi.num_mem_chunks);
wmi              6608 drivers/net/wireless/ath/ath10k/wmi.c 	config.rx_decap_mode = __cpu_to_le32(ar->wmi.rx_decap_mode);
wmi              6641 drivers/net/wireless/ath/ath10k/wmi.c 	      (sizeof(struct host_memory_chunk) * ar->wmi.num_mem_chunks);
wmi              6652 drivers/net/wireless/ath/ath10k/wmi.c 	    test_bit(WMI_SERVICE_COEX_GPIO, ar->wmi.svc_map))
wmi              6658 drivers/net/wireless/ath/ath10k/wmi.c 	if (test_bit(WMI_SERVICE_BSS_CHANNEL_INFO_64, ar->wmi.svc_map))
wmi              6695 drivers/net/wireless/ath/ath10k/wmi.c 	config.rx_decap_mode	    = __cpu_to_le32(ar->wmi.rx_decap_mode);
wmi              6738 drivers/net/wireless/ath/ath10k/wmi.c 	      (sizeof(struct host_memory_chunk) * ar->wmi.num_mem_chunks);
wmi              8721 drivers/net/wireless/ath/ath10k/wmi.c 	if (test_bit(WMI_SERVICE_TDLS_UAPSD_SLEEP_STA, ar->wmi.svc_map))
wmi              8756 drivers/net/wireless/ath/ath10k/wmi.c 	if (test_bit(WMI_SERVICE_TDLS_EXPLICIT_MODE_ONLY, ar->wmi.svc_map) &&
wmi              8760 drivers/net/wireless/ath/ath10k/wmi.c 	if (test_bit(WMI_SERVICE_TDLS_UAPSD_BUFFER_STA, ar->wmi.svc_map))
wmi              8932 drivers/net/wireless/ath/ath10k/wmi.c 	reinit_completion(&ar->wmi.barrier);
wmi              8941 drivers/net/wireless/ath/ath10k/wmi.c 	time_left = wait_for_completion_timeout(&ar->wmi.barrier,
wmi              9331 drivers/net/wireless/ath/ath10k/wmi.c 		ar->wmi.ops = &wmi_10_4_ops;
wmi              9332 drivers/net/wireless/ath/ath10k/wmi.c 		ar->wmi.cmd = &wmi_10_4_cmd_map;
wmi              9333 drivers/net/wireless/ath/ath10k/wmi.c 		ar->wmi.vdev_param = &wmi_10_4_vdev_param_map;
wmi              9334 drivers/net/wireless/ath/ath10k/wmi.c 		ar->wmi.pdev_param = &wmi_10_4_pdev_param_map;
wmi              9335 drivers/net/wireless/ath/ath10k/wmi.c 		ar->wmi.peer_flags = &wmi_10_2_peer_flags_map;
wmi              9339 drivers/net/wireless/ath/ath10k/wmi.c 		ar->wmi.cmd = &wmi_10_2_4_cmd_map;
wmi              9340 drivers/net/wireless/ath/ath10k/wmi.c 		ar->wmi.ops = &wmi_10_2_4_ops;
wmi              9341 drivers/net/wireless/ath/ath10k/wmi.c 		ar->wmi.vdev_param = &wmi_10_2_4_vdev_param_map;
wmi              9342 drivers/net/wireless/ath/ath10k/wmi.c 		ar->wmi.pdev_param = &wmi_10_2_4_pdev_param_map;
wmi              9343 drivers/net/wireless/ath/ath10k/wmi.c 		ar->wmi.peer_flags = &wmi_10_2_peer_flags_map;
wmi              9347 drivers/net/wireless/ath/ath10k/wmi.c 		ar->wmi.cmd = &wmi_10_2_cmd_map;
wmi              9348 drivers/net/wireless/ath/ath10k/wmi.c 		ar->wmi.ops = &wmi_10_2_ops;
wmi              9349 drivers/net/wireless/ath/ath10k/wmi.c 		ar->wmi.vdev_param = &wmi_10x_vdev_param_map;
wmi              9350 drivers/net/wireless/ath/ath10k/wmi.c 		ar->wmi.pdev_param = &wmi_10x_pdev_param_map;
wmi              9351 drivers/net/wireless/ath/ath10k/wmi.c 		ar->wmi.peer_flags = &wmi_10_2_peer_flags_map;
wmi              9355 drivers/net/wireless/ath/ath10k/wmi.c 		ar->wmi.cmd = &wmi_10x_cmd_map;
wmi              9356 drivers/net/wireless/ath/ath10k/wmi.c 		ar->wmi.ops = &wmi_10_1_ops;
wmi              9357 drivers/net/wireless/ath/ath10k/wmi.c 		ar->wmi.vdev_param = &wmi_10x_vdev_param_map;
wmi              9358 drivers/net/wireless/ath/ath10k/wmi.c 		ar->wmi.pdev_param = &wmi_10x_pdev_param_map;
wmi              9359 drivers/net/wireless/ath/ath10k/wmi.c 		ar->wmi.peer_flags = &wmi_10x_peer_flags_map;
wmi              9363 drivers/net/wireless/ath/ath10k/wmi.c 		ar->wmi.cmd = &wmi_cmd_map;
wmi              9364 drivers/net/wireless/ath/ath10k/wmi.c 		ar->wmi.ops = &wmi_ops;
wmi              9365 drivers/net/wireless/ath/ath10k/wmi.c 		ar->wmi.vdev_param = &wmi_vdev_param_map;
wmi              9366 drivers/net/wireless/ath/ath10k/wmi.c 		ar->wmi.pdev_param = &wmi_pdev_param_map;
wmi              9367 drivers/net/wireless/ath/ath10k/wmi.c 		ar->wmi.peer_flags = &wmi_peer_flags_map;
wmi              9381 drivers/net/wireless/ath/ath10k/wmi.c 	init_completion(&ar->wmi.service_ready);
wmi              9382 drivers/net/wireless/ath/ath10k/wmi.c 	init_completion(&ar->wmi.unified_ready);
wmi              9383 drivers/net/wireless/ath/ath10k/wmi.c 	init_completion(&ar->wmi.barrier);
wmi              9384 drivers/net/wireless/ath/ath10k/wmi.c 	init_completion(&ar->wmi.radar_confirm);
wmi              9392 drivers/net/wireless/ath/ath10k/wmi.c 		idr_init(&ar->wmi.mgmt_pending_tx);
wmi              9403 drivers/net/wireless/ath/ath10k/wmi.c 	for (i = 0; i < ar->wmi.num_mem_chunks; i++) {
wmi              9405 drivers/net/wireless/ath/ath10k/wmi.c 				  ar->wmi.mem_chunks[i].len,
wmi              9406 drivers/net/wireless/ath/ath10k/wmi.c 				  ar->wmi.mem_chunks[i].vaddr,
wmi              9407 drivers/net/wireless/ath/ath10k/wmi.c 				  ar->wmi.mem_chunks[i].paddr);
wmi              9410 drivers/net/wireless/ath/ath10k/wmi.c 	ar->wmi.num_mem_chunks = 0;
wmi              9436 drivers/net/wireless/ath/ath10k/wmi.c 		idr_for_each(&ar->wmi.mgmt_pending_tx,
wmi              9438 drivers/net/wireless/ath/ath10k/wmi.c 		idr_destroy(&ar->wmi.mgmt_pending_tx);
wmi               342 drivers/net/wireless/ath/ath10k/wow.c 		if (ar->wmi.rx_decap_mode == ATH10K_HW_TXRX_NATIVE_WIFI) {
wmi               619 drivers/net/wireless/ath/ath10k/wow.c 	if (WARN_ON(!test_bit(WMI_SERVICE_WOW, ar->wmi.svc_map)))
wmi               624 drivers/net/wireless/ath/ath10k/wow.c 	if (ar->wmi.rx_decap_mode == ATH10K_HW_TXRX_NATIVE_WIFI) {
wmi               629 drivers/net/wireless/ath/ath10k/wow.c 	if (test_bit(WMI_SERVICE_NLO, ar->wmi.svc_map)) {
wmi               157 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ath6kl_wmi_enable_sched_scan_cmd(ar->wmi, vif->fw_vif_idx, false);
wmi               361 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ret = ath6kl_wmi_set_appie_cmd(ar->wmi, vif->fw_vif_idx,
wmi               426 drivers/net/wireless/ath/ath6kl/cfg80211.c 	return ar->tx_pending[ath6kl_wmi_get_control_ep(ar->wmi)] == 0;
wmi               447 drivers/net/wireless/ath/ath6kl/cfg80211.c 	err = ath6kl_wmi_sta_bmiss_enhance_cmd(vif->ar->wmi,
wmi               493 drivers/net/wireless/ath/ath6kl/cfg80211.c 	if (ar->tx_pending[ath6kl_wmi_get_control_ep(ar->wmi)]) {
wmi               520 drivers/net/wireless/ath/ath6kl/cfg80211.c 		status = ath6kl_wmi_reconnect_cmd(ar->wmi, vif->fw_vif_idx,
wmi               582 drivers/net/wireless/ath/ath6kl/cfg80211.c 		ath6kl_wmi_addkey_cmd(ar->wmi, vif->fw_vif_idx, sme->key_idx,
wmi               593 drivers/net/wireless/ath/ath6kl/cfg80211.c 		if (ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx,
wmi               623 drivers/net/wireless/ath/ath6kl/cfg80211.c 		status = ath6kl_wmi_listeninterval_cmd(ar->wmi, vif->fw_vif_idx,
wmi               633 drivers/net/wireless/ath/ath6kl/cfg80211.c 	status = ath6kl_wmi_connect_cmd(ar->wmi, vif->fw_vif_idx, vif->nw_type,
wmi               650 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ath6kl_wmi_scanparams_cmd(ar->wmi, vif->fw_vif_idx, 0, 0,
wmi               913 drivers/net/wireless/ath/ath6kl/cfg80211.c 		ath6kl_wmi_disconnect_cmd(ar->wmi, vif->fw_vif_idx);
wmi               979 drivers/net/wireless/ath/ath6kl/cfg80211.c 		ath6kl_wmi_probedssid_cmd(ar->wmi, vif->fw_vif_idx, i,
wmi               987 drivers/net/wireless/ath/ath6kl/cfg80211.c 		ath6kl_wmi_probedssid_cmd(ar->wmi, vif->fw_vif_idx, i,
wmi              1011 drivers/net/wireless/ath/ath6kl/cfg80211.c 		ret = ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx,
wmi              1025 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ret = ath6kl_wmi_set_appie_cmd(ar->wmi, vif->fw_vif_idx,
wmi              1059 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ret = ath6kl_wmi_beginscan_cmd(ar->wmi, vif->fw_vif_idx,
wmi              1095 drivers/net/wireless/ath/ath6kl/cfg80211.c 			ath6kl_wmi_probedssid_cmd(ar->wmi, vif->fw_vif_idx,
wmi              1144 drivers/net/wireless/ath/ath6kl/cfg80211.c 		return ath6kl_wmi_add_krk_cmd(ar->wmi, vif->fw_vif_idx,
wmi              1244 drivers/net/wireless/ath/ath6kl/cfg80211.c 	return ath6kl_wmi_addkey_cmd(ar->wmi, vif->fw_vif_idx, key_index,
wmi              1278 drivers/net/wireless/ath/ath6kl/cfg80211.c 	return ath6kl_wmi_deletekey_cmd(ar->wmi, vif->fw_vif_idx, key_index);
wmi              1358 drivers/net/wireless/ath/ath6kl/cfg80211.c 	return ath6kl_wmi_addkey_cmd(ar->wmi, vif->fw_vif_idx,
wmi              1396 drivers/net/wireless/ath/ath6kl/cfg80211.c 		ret = ath6kl_wmi_set_rts_cmd(ar->wmi, wiphy->rts_threshold);
wmi              1437 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ath6kl_wmi_set_tx_pwr_cmd(ar->wmi, vif->fw_vif_idx, dbm);
wmi              1459 drivers/net/wireless/ath/ath6kl/cfg80211.c 		if (ath6kl_wmi_get_tx_pwr_cmd(ar->wmi, vif->fw_vif_idx) != 0) {
wmi              1499 drivers/net/wireless/ath/ath6kl/cfg80211.c 	if (ath6kl_wmi_powermode_cmd(ar->wmi, vif->fw_vif_idx,
wmi              1676 drivers/net/wireless/ath/ath6kl/cfg80211.c 	status = ath6kl_wmi_connect_cmd(ar->wmi, vif->fw_vif_idx, vif->nw_type,
wmi              1793 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ret = ath6kl_wmi_get_stats_cmd(ar->wmi, vif->fw_vif_idx);
wmi              1880 drivers/net/wireless/ath/ath6kl/cfg80211.c 	return ath6kl_wmi_setpmkid_cmd(ar->wmi, vif->fw_vif_idx, pmksa->bssid,
wmi              1890 drivers/net/wireless/ath/ath6kl/cfg80211.c 	return ath6kl_wmi_setpmkid_cmd(ar->wmi, vif->fw_vif_idx, pmksa->bssid,
wmi              1900 drivers/net/wireless/ath/ath6kl/cfg80211.c 		return ath6kl_wmi_setpmkid_cmd(ar->wmi, vif->fw_vif_idx,
wmi              1933 drivers/net/wireless/ath/ath6kl/cfg80211.c 		ret = ath6kl_wmi_add_wow_pattern_cmd(ar->wmi,
wmi              1993 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ret = ath6kl_wmi_add_wow_pattern_cmd(ar->wmi,
wmi              2003 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ret = ath6kl_wmi_add_wow_pattern_cmd(ar->wmi,
wmi              2016 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ret = ath6kl_wmi_add_wow_pattern_cmd(ar->wmi,
wmi              2026 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ret = ath6kl_wmi_add_wow_pattern_cmd(ar->wmi,
wmi              2049 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ret = ath6kl_wmi_add_wow_pattern_cmd(ar->wmi,
wmi              2064 drivers/net/wireless/ath/ath6kl/cfg80211.c 		ret = ath6kl_wmi_add_wow_pattern_cmd(ar->wmi,
wmi              2093 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ret = ath6kl_wmi_set_host_sleep_mode_cmd(ar->wmi, vif->fw_vif_idx,
wmi              2140 drivers/net/wireless/ath/ath6kl/cfg80211.c 		ret = ath6kl_wmi_mcast_filter_cmd(vif->ar->wmi,
wmi              2148 drivers/net/wireless/ath/ath6kl/cfg80211.c 		ath6kl_wmi_del_wow_pattern_cmd(ar->wmi, vif->fw_vif_idx,
wmi              2169 drivers/net/wireless/ath/ath6kl/cfg80211.c 		ret = ath6kl_wmi_listeninterval_cmd(ar->wmi, vif->fw_vif_idx,
wmi              2180 drivers/net/wireless/ath/ath6kl/cfg80211.c 		ret = ath6kl_wmi_bmisstime_cmd(ar->wmi, vif->fw_vif_idx,
wmi              2185 drivers/net/wireless/ath/ath6kl/cfg80211.c 		ret = ath6kl_wmi_scanparams_cmd(ar->wmi, vif->fw_vif_idx,
wmi              2212 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ret = ath6kl_wmi_set_ip_cmd(ar->wmi, vif->fw_vif_idx, ips[0], ips[1]);
wmi              2258 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ret = ath6kl_wmi_set_wow_mode_cmd(ar->wmi, first_vif->fw_vif_idx,
wmi              2274 drivers/net/wireless/ath/ath6kl/cfg80211.c 		ret = ath6kl_wmi_scanparams_cmd(ar->wmi, vif->fw_vif_idx,
wmi              2279 drivers/net/wireless/ath/ath6kl/cfg80211.c 		ret = ath6kl_wmi_listeninterval_cmd(ar->wmi, vif->fw_vif_idx,
wmi              2284 drivers/net/wireless/ath/ath6kl/cfg80211.c 		ret = ath6kl_wmi_bmisstime_cmd(ar->wmi, vif->fw_vif_idx,
wmi              2293 drivers/net/wireless/ath/ath6kl/cfg80211.c 		ret = ath6kl_wmi_mcast_filter_cmd(vif->ar->wmi,
wmi              2316 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ret = ath6kl_wmi_set_host_sleep_mode_cmd(ar->wmi, vif->fw_vif_idx,
wmi              2363 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ar->wmi->saved_pwr_mode = ar->wmi->pwr_mode;
wmi              2365 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ret = ath6kl_wmi_powermode_cmd(ar->wmi, 0, REC_POWER);
wmi              2370 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ret = ath6kl_wmi_set_wow_mode_cmd(ar->wmi, vif->fw_vif_idx,
wmi              2396 drivers/net/wireless/ath/ath6kl/cfg80211.c 	if (ar->wmi->pwr_mode != ar->wmi->saved_pwr_mode) {
wmi              2397 drivers/net/wireless/ath/ath6kl/cfg80211.c 		ret = ath6kl_wmi_powermode_cmd(ar->wmi, 0,
wmi              2398 drivers/net/wireless/ath/ath6kl/cfg80211.c 					       ar->wmi->saved_pwr_mode);
wmi              2403 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ret = ath6kl_wmi_set_host_sleep_mode_cmd(ar->wmi, vif->fw_vif_idx,
wmi              2411 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ret = ath6kl_wmi_scanparams_cmd(ar->wmi, vif->fw_vif_idx,
wmi              2613 drivers/net/wireless/ath/ath6kl/cfg80211.c 	return ath6kl_wmi_set_htcap_cmd(vif->ar->wmi, vif->fw_vif_idx,
wmi              2672 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ret = ath6kl_wmi_set_appie_cmd(ar->wmi, vif->fw_vif_idx,
wmi              2685 drivers/net/wireless/ath/ath6kl/cfg80211.c 	res = ath6kl_wmi_set_appie_cmd(ar->wmi, vif->fw_vif_idx,
wmi              2699 drivers/net/wireless/ath/ath6kl/cfg80211.c 	res = ath6kl_wmi_set_appie_cmd(ar->wmi, vif->fw_vif_idx,
wmi              2787 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ret = ath6kl_wmi_ap_set_beacon_intvl_cmd(ar->wmi, vif->fw_vif_idx,
wmi              2793 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ret = ath6kl_wmi_ap_set_dtim_cmd(ar->wmi, vif->fw_vif_idx,
wmi              2814 drivers/net/wireless/ath/ath6kl/cfg80211.c 	res = ath6kl_wmi_ap_hidden_ssid(ar->wmi, vif->fw_vif_idx, hidden);
wmi              2897 drivers/net/wireless/ath/ath6kl/cfg80211.c 	res = ath6kl_wmi_ap_set_apsd(ar->wmi, vif->fw_vif_idx, true);
wmi              2919 drivers/net/wireless/ath/ath6kl/cfg80211.c 		res = ath6kl_wmi_set_inact_period(ar->wmi, vif->fw_vif_idx,
wmi              2939 drivers/net/wireless/ath/ath6kl/cfg80211.c 		res = ath6kl_wmi_set_ie_cmd(ar->wmi, vif->fw_vif_idx,
wmi              2949 drivers/net/wireless/ath/ath6kl/cfg80211.c 	res = ath6kl_wmi_ap_profile_commit(ar->wmi, vif->fw_vif_idx, &p);
wmi              2980 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ath6kl_wmi_disconnect_cmd(ar->wmi, vif->fw_vif_idx);
wmi              2997 drivers/net/wireless/ath/ath6kl/cfg80211.c 	return ath6kl_wmi_ap_set_mlme(ar->wmi, vif->fw_vif_idx, WMI_AP_DEAUTH,
wmi              3018 drivers/net/wireless/ath/ath6kl/cfg80211.c 		return ath6kl_wmi_ap_set_mlme(ar->wmi, vif->fw_vif_idx,
wmi              3020 drivers/net/wireless/ath/ath6kl/cfg80211.c 	return ath6kl_wmi_ap_set_mlme(ar->wmi, vif->fw_vif_idx,
wmi              3043 drivers/net/wireless/ath/ath6kl/cfg80211.c 	return ath6kl_wmi_remain_on_chnl_cmd(ar->wmi, vif->fw_vif_idx,
wmi              3058 drivers/net/wireless/ath/ath6kl/cfg80211.c 	return ath6kl_wmi_cancel_remain_on_chnl_cmd(ar->wmi, vif->fw_vif_idx);
wmi              3092 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ret = ath6kl_wmi_send_probe_response_cmd(ar->wmi, vif->fw_vif_idx, freq,
wmi              3150 drivers/net/wireless/ath/ath6kl/cfg80211.c 				ath6kl_wmi_set_pvb_cmd(ar->wmi, vif->fw_vif_idx,
wmi              3239 drivers/net/wireless/ath/ath6kl/cfg80211.c 	return ath6kl_wmi_send_mgmt_cmd(ar->wmi, vif->fw_vif_idx, id, freq,
wmi              3304 drivers/net/wireless/ath/ath6kl/cfg80211.c 		ret = ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx,
wmi              3309 drivers/net/wireless/ath/ath6kl/cfg80211.c 		 ret = ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx,
wmi              3324 drivers/net/wireless/ath/ath6kl/cfg80211.c 		ret = ath6kl_wmi_set_rssi_filter_cmd(ar->wmi, vif->fw_vif_idx,
wmi              3335 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ath6kl_wmi_scanparams_cmd(ar->wmi, vif->fw_vif_idx,
wmi              3340 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ret = ath6kl_wmi_set_appie_cmd(ar->wmi, vif->fw_vif_idx,
wmi              3349 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ret = ath6kl_wmi_enable_sched_scan_cmd(ar->wmi, vif->fw_vif_idx, true);
wmi              3380 drivers/net/wireless/ath/ath6kl/cfg80211.c 	return ath6kl_wmi_set_bitrate_mask(ar->wmi, vif->fw_vif_idx,
wmi              3401 drivers/net/wireless/ath/ath6kl/cfg80211.c 	return ath6kl_wmi_set_txe_notify(ar->wmi, vif->fw_vif_idx,
wmi              3496 drivers/net/wireless/ath/ath6kl/cfg80211.c 		ath6kl_wmi_disconnect_cmd(vif->ar->wmi, vif->fw_vif_idx);
wmi              3508 drivers/net/wireless/ath/ath6kl/cfg80211.c 	    ath6kl_wmi_scanparams_cmd(vif->ar->wmi, vif->fw_vif_idx, 0xFFFF,
wmi              3522 drivers/net/wireless/ath/ath6kl/cfg80211.c 		ar->wmi->saved_pwr_mode = ar->wmi->pwr_mode;
wmi              3524 drivers/net/wireless/ath/ath6kl/cfg80211.c 		if (ath6kl_wmi_powermode_cmd(ar->wmi, 0, REC_POWER) != 0)
wmi              3555 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ret = ath6kl_wmi_set_regdomain_cmd(ar->wmi, request->alpha2);
wmi              3572 drivers/net/wireless/ath/ath6kl/cfg80211.c 	ret = ath6kl_wmi_beginscan_cmd(ar->wmi, 0, WMI_LONG_SCAN, false,
wmi               146 drivers/net/wireless/ath/ath6kl/core.c 	ar->wmi = ath6kl_wmi_init(ar);
wmi               147 drivers/net/wireless/ath/ath6kl/core.c 	if (!ar->wmi) {
wmi               153 drivers/net/wireless/ath/ath6kl/core.c 	ath6kl_dbg(ATH6KL_DBG_TRC, "%s: got wmi @ 0x%p.\n", __func__, ar->wmi);
wmi               249 drivers/net/wireless/ath/ath6kl/core.c 	ath6kl_wmi_shutdown(ar->wmi);
wmi               251 drivers/net/wireless/ath/ath6kl/core.c 	ar->wmi = NULL;
wmi               704 drivers/net/wireless/ath/ath6kl/core.h 	struct wmi *wmi;
wmi               110 drivers/net/wireless/ath/ath6kl/debug.c 	if (ath6kl_wmi_get_stats_cmd(ar->wmi, 0)) {
wmi               548 drivers/net/wireless/ath/ath6kl/debug.c 	ret = ath6kl_wmi_config_debug_module_cmd(ar->wmi,
wmi              1036 drivers/net/wireless/ath/ath6kl/debug.c 	ath6kl_wmi_set_roam_lrssi_cmd(ar->wmi, ar->lrssi_roam_threshold);
wmi              1174 drivers/net/wireless/ath/ath6kl/debug.c 	ret = ath6kl_wmi_get_roam_tbl_cmd(ar->wmi);
wmi              1246 drivers/net/wireless/ath/ath6kl/debug.c 	ret = ath6kl_wmi_force_roam_cmd(ar->wmi, bssid);
wmi              1286 drivers/net/wireless/ath/ath6kl/debug.c 	ret = ath6kl_wmi_set_roam_mode_cmd(ar->wmi, mode);
wmi              1329 drivers/net/wireless/ath/ath6kl/debug.c 	ret = ath6kl_wmi_set_keepalive_cmd(ar->wmi, 0, val);
wmi              1374 drivers/net/wireless/ath/ath6kl/debug.c 	ret = ath6kl_wmi_disctimeout_cmd(ar->wmi, 0, val);
wmi              1555 drivers/net/wireless/ath/ath6kl/debug.c 	ath6kl_wmi_create_pstream_cmd(ar->wmi, vif->fw_vif_idx, &pstream);
wmi              1601 drivers/net/wireless/ath/ath6kl/debug.c 	ath6kl_wmi_delete_pstream_cmd(ar->wmi, vif->fw_vif_idx,
wmi              1641 drivers/net/wireless/ath/ath6kl/debug.c 	ath6kl_wmi_scanparams_cmd(ar->wmi, 0, 0, 0, bgscan_int, 0, 0, 0, 3,
wmi              1680 drivers/net/wireless/ath/ath6kl/debug.c 	ath6kl_wmi_listeninterval_cmd(ar->wmi, vif->fw_vif_idx,
wmi              1759 drivers/net/wireless/ath/ath6kl/debug.c 	ath6kl_wmi_pmparams_cmd(ar->wmi, 0, idle_period, ps_poll_num,
wmi               301 drivers/net/wireless/ath/ath6kl/init.c 			ath6kl_wmi_set_control_ep(ar->wmi, response.endpoint);
wmi               461 drivers/net/wireless/ath/ath6kl/init.c 	ret = ath6kl_wmi_set_rx_frame_format_cmd(ar->wmi, idx,
wmi               469 drivers/net/wireless/ath/ath6kl/init.c 		ret = ath6kl_wmi_pmparams_cmd(ar->wmi, idx, 0, 1, 0, 0, 1,
wmi               479 drivers/net/wireless/ath/ath6kl/init.c 		ret = ath6kl_wmi_set_lpreamble_cmd(ar->wmi, idx, 0,
wmi               488 drivers/net/wireless/ath/ath6kl/init.c 	ret = ath6kl_wmi_set_keepalive_cmd(ar->wmi, idx,
wmi               495 drivers/net/wireless/ath/ath6kl/init.c 	ret = ath6kl_wmi_disctimeout_cmd(ar->wmi, idx,
wmi               503 drivers/net/wireless/ath/ath6kl/init.c 		ret = ath6kl_wmi_set_wmm_txop(ar->wmi, idx, WMI_TXOP_DISABLED);
wmi               511 drivers/net/wireless/ath/ath6kl/init.c 		ret = ath6kl_wmi_info_req_cmd(ar->wmi, idx,
wmi               525 drivers/net/wireless/ath/ath6kl/init.c 		ret = ath6kl_wmi_probe_report_req_cmd(ar->wmi, idx, true);
wmi              1927 drivers/net/wireless/ath/ath6kl/init.c 	ath6kl_wmi_shutdown(ar->wmi);
wmi               361 drivers/net/wireless/ath/ath6kl/main.c 			ath6kl_wmi_addkey_cmd(vif->ar->wmi, vif->fw_vif_idx,
wmi               403 drivers/net/wireless/ath/ath6kl/main.c 			ar->wmi, vif->fw_vif_idx, ik->key_index, ik->key_type,
wmi               418 drivers/net/wireless/ath/ath6kl/main.c 	ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx, NONE_BSS_FILTER, 0);
wmi               513 drivers/net/wireless/ath/ath6kl/main.c 		ath6kl_wmi_disconnect_cmd(vif->ar->wmi, vif->fw_vif_idx);
wmi               567 drivers/net/wireless/ath/ath6kl/main.c 		ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx,
wmi               589 drivers/net/wireless/ath/ath6kl/main.c 			ath6kl_wmi_set_ie_cmd(ar->wmi, vif->fw_vif_idx,
wmi               594 drivers/net/wireless/ath/ath6kl/main.c 		return ath6kl_wmi_ap_profile_commit(ar->wmi, vif->fw_vif_idx,
wmi               643 drivers/net/wireless/ath/ath6kl/main.c 		ath6kl_wmi_listeninterval_cmd(ar->wmi, vif->fw_vif_idx,
wmi               668 drivers/net/wireless/ath/ath6kl/main.c 		ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx,
wmi               739 drivers/net/wireless/ath/ath6kl/main.c 	stats->tx_ucast_rate = ath6kl_wmi_get_rate(ar->wmi, rate);
wmi               758 drivers/net/wireless/ath/ath6kl/main.c 	stats->rx_ucast_rate = ath6kl_wmi_get_rate(ar->wmi, rate);
wmi               898 drivers/net/wireless/ath/ath6kl/main.c 		ath6kl_wmi_send_mgmt_cmd(ar->wmi, vif->fw_vif_idx,
wmi               918 drivers/net/wireless/ath/ath6kl/main.c 		ath6kl_wmi_set_pvb_cmd(ar->wmi, vif->fw_vif_idx, conn->aid, 0);
wmi               962 drivers/net/wireless/ath/ath6kl/main.c 	ath6kl_wmi_set_pvb_cmd(ar->wmi, vif->fw_vif_idx, MCAST_AID, 0);
wmi              1005 drivers/net/wireless/ath/ath6kl/main.c 				ath6kl_wmi_set_pvb_cmd(ar->wmi, vif->fw_vif_idx,
wmi              1038 drivers/net/wireless/ath/ath6kl/main.c 			ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx,
wmi              1129 drivers/net/wireless/ath/ath6kl/main.c 		err = ath6kl_wmi_set_rx_frame_format_cmd(ar->wmi,
wmi              1139 drivers/net/wireless/ath/ath6kl/main.c 		err = ath6kl_wmi_set_rx_frame_format_cmd(ar->wmi,
wmi              1192 drivers/net/wireless/ath/ath6kl/main.c 	ret = ath6kl_wmi_mcast_filter_cmd(vif->ar->wmi, vif->fw_vif_idx,
wmi              1222 drivers/net/wireless/ath/ath6kl/main.c 			ret = ath6kl_wmi_add_del_mcast_filter_cmd(vif->ar->wmi,
wmi              1262 drivers/net/wireless/ath/ath6kl/main.c 			ret = ath6kl_wmi_add_del_mcast_filter_cmd(vif->ar->wmi,
wmi                88 drivers/net/wireless/ath/ath6kl/recovery.c 	err = ath6kl_wmi_get_challenge_resp_cmd(ar->wmi,
wmi                93 drivers/net/wireless/ath/ath6kl/testmode.c 		ath6kl_wmi_test_cmd(ar->wmi, buf, buf_len);
wmi               166 drivers/net/wireless/ath/ath6kl/txrx.c 		ath6kl_wmi_set_apsd_bfrd_traf(ar->wmi,
wmi               203 drivers/net/wireless/ath/ath6kl/txrx.c 		ath6kl_wmi_set_pvb_cmd(ar->wmi,
wmi               248 drivers/net/wireless/ath/ath6kl/txrx.c 					ath6kl_wmi_set_pvb_cmd(ar->wmi,
wmi               408 drivers/net/wireless/ath/ath6kl/txrx.c 		if (ath6kl_wmi_dix_2_dot3(ar->wmi, skb)) {
wmi               427 drivers/net/wireless/ath/ath6kl/txrx.c 		ret = ath6kl_wmi_data_hdr_add(ar->wmi, skb,
wmi               443 drivers/net/wireless/ath/ath6kl/txrx.c 			ret = ath6kl_wmi_implicit_create_pstream(ar->wmi,
wmi              1293 drivers/net/wireless/ath/ath6kl/txrx.c 		ath6kl_wmi_set_apsd_bfrd_traf(ar->wmi,
wmi              1341 drivers/net/wireless/ath/ath6kl/txrx.c 			ath6kl_wmi_control_rx(ar->wmi, skb);
wmi              1472 drivers/net/wireless/ath/ath6kl/txrx.c 					ath6kl_wmi_send_mgmt_cmd(ar->wmi,
wmi              1501 drivers/net/wireless/ath/ath6kl/txrx.c 							ar->wmi,
wmi              1506 drivers/net/wireless/ath/ath6kl/txrx.c 				ath6kl_wmi_set_pvb_cmd(ar->wmi, vif->fw_vif_idx,
wmi              1547 drivers/net/wireless/ath/ath6kl/txrx.c 		status = ath6kl_wmi_dot11_hdr_remove(ar->wmi, skb);
wmi                27 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_sync_point(struct wmi *wmi, u8 if_idx);
wmi               123 drivers/net/wireless/ath/ath6kl/wmi.c void ath6kl_wmi_set_control_ep(struct wmi *wmi, enum htc_endpoint_id ep_id)
wmi               128 drivers/net/wireless/ath/ath6kl/wmi.c 	wmi->ep_id = ep_id;
wmi               131 drivers/net/wireless/ath/ath6kl/wmi.c enum htc_endpoint_id ath6kl_wmi_get_control_ep(struct wmi *wmi)
wmi               133 drivers/net/wireless/ath/ath6kl/wmi.c 	return wmi->ep_id;
wmi               160 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_dix_2_dot3(struct wmi *wmi, struct sk_buff *skb)
wmi               206 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_meta_add(struct wmi *wmi, struct sk_buff *skb,
wmi               234 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_data_hdr_add(struct wmi *wmi, struct sk_buff *skb,
wmi               242 drivers/net/wireless/ath/ath6kl/wmi.c 	if (WARN_ON(skb == NULL || (if_idx > wmi->parent_dev->vif_max - 1)))
wmi               246 drivers/net/wireless/ath/ath6kl/wmi.c 		ret = ath6kl_wmi_meta_add(wmi, skb, &meta_ver, tx_meta_info);
wmi               298 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_implicit_create_pstream(struct wmi *wmi, u8 if_idx,
wmi               359 drivers/net/wireless/ath/ath6kl/wmi.c 	if ((wmi->traffic_class == WMM_AC_VI) &&
wmi               368 drivers/net/wireless/ath/ath6kl/wmi.c 	spin_lock_bh(&wmi->lock);
wmi               369 drivers/net/wireless/ath/ath6kl/wmi.c 	stream_exist = wmi->fat_pipe_exist;
wmi               370 drivers/net/wireless/ath/ath6kl/wmi.c 	spin_unlock_bh(&wmi->lock);
wmi               380 drivers/net/wireless/ath/ath6kl/wmi.c 		ath6kl_wmi_create_pstream_cmd(wmi, if_idx, &cmd);
wmi               388 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_dot11_hdr_remove(struct wmi *wmi, struct sk_buff *skb)
wmi               503 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_remain_on_chnl_event_rx(struct wmi *wmi, u8 *datap,
wmi               510 drivers/net/wireless/ath/ath6kl/wmi.c 	struct ath6kl *ar = wmi->parent_dev;
wmi               535 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_cancel_remain_on_chnl_event_rx(struct wmi *wmi,
wmi               543 drivers/net/wireless/ath/ath6kl/wmi.c 	struct ath6kl *ar = wmi->parent_dev;
wmi               573 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_tx_status_event_rx(struct wmi *wmi, u8 *datap, int len,
wmi               586 drivers/net/wireless/ath/ath6kl/wmi.c 	if (wmi->last_mgmt_tx_frame) {
wmi               588 drivers/net/wireless/ath/ath6kl/wmi.c 					wmi->last_mgmt_tx_frame,
wmi               589 drivers/net/wireless/ath/ath6kl/wmi.c 					wmi->last_mgmt_tx_frame_len,
wmi               591 drivers/net/wireless/ath/ath6kl/wmi.c 		kfree(wmi->last_mgmt_tx_frame);
wmi               592 drivers/net/wireless/ath/ath6kl/wmi.c 		wmi->last_mgmt_tx_frame = NULL;
wmi               593 drivers/net/wireless/ath/ath6kl/wmi.c 		wmi->last_mgmt_tx_frame_len = 0;
wmi               599 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_rx_probe_req_event_rx(struct wmi *wmi, u8 *datap, int len,
wmi               642 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_rx_action_event_rx(struct wmi *wmi, u8 *datap, int len,
wmi               726 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_simple_cmd(struct wmi *wmi, u8 if_idx,
wmi               736 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, cmd_id, NO_SYNC_WMIFLAG);
wmi               741 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_ready_event_rx(struct wmi *wmi, u8 *datap, int len)
wmi               748 drivers/net/wireless/ath/ath6kl/wmi.c 	ath6kl_ready_event(wmi->parent_dev, ev->mac_addr,
wmi               761 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_set_roam_lrssi_cmd(struct wmi *wmi, u8 lrssi)
wmi               779 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_cmd_send(wmi, 0, skb, WMI_SET_ROAM_CTRL_CMDID,
wmi               783 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_force_roam_cmd(struct wmi *wmi, const u8 *bssid)
wmi               798 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_cmd_send(wmi, 0, skb, WMI_SET_ROAM_CTRL_CMDID,
wmi               802 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_ap_set_beacon_intvl_cmd(struct wmi *wmi, u8 if_idx,
wmi               815 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_cmd_send(wmi, if_idx, skb,
wmi               819 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_ap_set_dtim_cmd(struct wmi *wmi, u8 if_idx, u32 dtim_period)
wmi               831 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_cmd_send(wmi, if_idx, skb,
wmi               835 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_set_roam_mode_cmd(struct wmi *wmi, enum wmi_roam_mode mode)
wmi               850 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_cmd_send(wmi, 0, skb, WMI_SET_ROAM_CTRL_CMDID,
wmi               854 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_connect_event_rx(struct wmi *wmi, u8 *datap, int len,
wmi               921 drivers/net/wireless/ath/ath6kl/wmi.c 					wmi->is_wmm_enabled = true;
wmi               926 drivers/net/wireless/ath/ath6kl/wmi.c 		if (wmi->is_wmm_enabled)
wmi               985 drivers/net/wireless/ath/ath6kl/wmi.c static void ath6kl_wmi_regdomain_event(struct wmi *wmi, u8 *datap, int len)
wmi              1009 drivers/net/wireless/ath/ath6kl/wmi.c 	if (country && wmi->parent_dev->wiphy_registered) {
wmi              1013 drivers/net/wireless/ath/ath6kl/wmi.c 		regulatory_hint(wmi->parent_dev->wiphy, alpha2);
wmi              1020 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_disconnect_event_rx(struct wmi *wmi, u8 *datap, int len,
wmi              1024 drivers/net/wireless/ath/ath6kl/wmi.c 	wmi->traffic_class = 100;
wmi              1036 drivers/net/wireless/ath/ath6kl/wmi.c 	wmi->is_wmm_enabled = false;
wmi              1045 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_peer_node_event_rx(struct wmi *wmi, u8 *datap, int len)
wmi              1064 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_tkip_micerr_event_rx(struct wmi *wmi, u8 *datap, int len,
wmi              1086 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_bssinfo_event_rx(struct wmi *wmi, u8 *datap, int len,
wmi              1092 drivers/net/wireless/ath/ath6kl/wmi.c 	struct ath6kl *ar = wmi->parent_dev;
wmi              1115 drivers/net/wireless/ath/ath6kl/wmi.c 		ath6kl_wmi_bssfilter_cmd(ar->wmi, vif->fw_vif_idx,
wmi              1170 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_pstream_timeout_event_rx(struct wmi *wmi, u8 *datap,
wmi              1190 drivers/net/wireless/ath/ath6kl/wmi.c 	spin_lock_bh(&wmi->lock);
wmi              1191 drivers/net/wireless/ath/ath6kl/wmi.c 	wmi->stream_exist_for_ac[ev->traffic_class] = 0;
wmi              1192 drivers/net/wireless/ath/ath6kl/wmi.c 	wmi->fat_pipe_exist &= ~(1 << ev->traffic_class);
wmi              1193 drivers/net/wireless/ath/ath6kl/wmi.c 	spin_unlock_bh(&wmi->lock);
wmi              1196 drivers/net/wireless/ath/ath6kl/wmi.c 	ath6kl_indicate_tx_activity(wmi->parent_dev, ev->traffic_class, false);
wmi              1201 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_bitrate_reply_rx(struct wmi *wmi, u8 *datap, int len)
wmi              1225 drivers/net/wireless/ath/ath6kl/wmi.c 	ath6kl_wakeup_event(wmi->parent_dev);
wmi              1230 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_test_rx(struct wmi *wmi, u8 *datap, int len)
wmi              1232 drivers/net/wireless/ath/ath6kl/wmi.c 	ath6kl_tm_rx_event(wmi->parent_dev, datap, len);
wmi              1237 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_ratemask_reply_rx(struct wmi *wmi, u8 *datap, int len)
wmi              1242 drivers/net/wireless/ath/ath6kl/wmi.c 	ath6kl_wakeup_event(wmi->parent_dev);
wmi              1247 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_ch_list_reply_rx(struct wmi *wmi, u8 *datap, int len)
wmi              1252 drivers/net/wireless/ath/ath6kl/wmi.c 	ath6kl_wakeup_event(wmi->parent_dev);
wmi              1257 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_tx_pwr_reply_rx(struct wmi *wmi, u8 *datap, int len)
wmi              1265 drivers/net/wireless/ath/ath6kl/wmi.c 	ath6kl_txpwr_rx_evt(wmi->parent_dev, reply->dbM);
wmi              1270 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_keepalive_reply_rx(struct wmi *wmi, u8 *datap, int len)
wmi              1275 drivers/net/wireless/ath/ath6kl/wmi.c 	ath6kl_wakeup_event(wmi->parent_dev);
wmi              1280 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_scan_complete_rx(struct wmi *wmi, u8 *datap, int len,
wmi              1288 drivers/net/wireless/ath/ath6kl/wmi.c 	wmi->is_probe_ssid = false;
wmi              1293 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_neighbor_report_event_rx(struct wmi *wmi, u8 *datap,
wmi              1329 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_error_event_rx(struct wmi *wmi, u8 *datap, int len)
wmi              1353 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_stats_event_rx(struct wmi *wmi, u8 *datap, int len,
wmi              1397 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_send_rssi_threshold_params(struct wmi *wmi,
wmi              1410 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_cmd_send(wmi, 0, skb, WMI_RSSI_THRESHOLD_PARAMS_CMDID,
wmi              1414 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_rssi_threshold_event_rx(struct wmi *wmi, u8 *datap,
wmi              1432 drivers/net/wireless/ath/ath6kl/wmi.c 	sq_thresh = &wmi->sq_threshld[SIGNAL_QUALITY_METRICS_RSSI];
wmi              1501 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_send_rssi_threshold_params(wmi, &cmd);
wmi              1510 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_cac_event_rx(struct wmi *wmi, u8 *datap, int len,
wmi              1535 drivers/net/wireless/ath/ath6kl/wmi.c 		ath6kl_wmi_delete_pstream_cmd(wmi, vif->fw_vif_idx,
wmi              1542 drivers/net/wireless/ath/ath6kl/wmi.c 		spin_lock_bh(&wmi->lock);
wmi              1543 drivers/net/wireless/ath/ath6kl/wmi.c 		active_tsids = wmi->stream_exist_for_ac[reply->ac];
wmi              1544 drivers/net/wireless/ath/ath6kl/wmi.c 		spin_unlock_bh(&wmi->lock);
wmi              1551 drivers/net/wireless/ath/ath6kl/wmi.c 			ath6kl_wmi_delete_pstream_cmd(wmi, vif->fw_vif_idx,
wmi              1565 drivers/net/wireless/ath/ath6kl/wmi.c 		spin_lock_bh(&wmi->lock);
wmi              1566 drivers/net/wireless/ath/ath6kl/wmi.c 		wmi->stream_exist_for_ac[reply->ac] &= ~(1 << ts_id);
wmi              1567 drivers/net/wireless/ath/ath6kl/wmi.c 		active_tsids = wmi->stream_exist_for_ac[reply->ac];
wmi              1568 drivers/net/wireless/ath/ath6kl/wmi.c 		spin_unlock_bh(&wmi->lock);
wmi              1574 drivers/net/wireless/ath/ath6kl/wmi.c 			ath6kl_indicate_tx_activity(wmi->parent_dev, reply->ac,
wmi              1576 drivers/net/wireless/ath/ath6kl/wmi.c 			wmi->fat_pipe_exist &= ~(1 << reply->ac);
wmi              1583 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_txe_notify_event_rx(struct wmi *wmi, u8 *datap, int len,
wmi              1613 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_set_txe_notify(struct wmi *wmi, u8 idx,
wmi              1628 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_cmd_send(wmi, idx, skb, WMI_SET_TXE_NOTIFY_CMDID,
wmi              1632 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_set_rssi_filter_cmd(struct wmi *wmi, u8 if_idx, s8 rssi)
wmi              1645 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_SET_RSSI_FILTER_CMDID,
wmi              1650 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_send_snr_threshold_params(struct wmi *wmi,
wmi              1663 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_cmd_send(wmi, 0, skb, WMI_SNR_THRESHOLD_PARAMS_CMDID,
wmi              1667 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_snr_threshold_event_rx(struct wmi *wmi, u8 *datap,
wmi              1686 drivers/net/wireless/ath/ath6kl/wmi.c 	sq_thresh = &wmi->sq_threshld[SIGNAL_QUALITY_METRICS_SNR];
wmi              1748 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_send_snr_threshold_params(wmi, &cmd);
wmi              1757 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_aplist_event_rx(struct wmi *wmi, u8 *datap, int len)
wmi              1788 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_cmd_send(struct wmi *wmi, u8 if_idx, struct sk_buff *skb,
wmi              1792 drivers/net/wireless/ath/ath6kl/wmi.c 	enum htc_endpoint_id ep_id = wmi->ep_id;
wmi              1797 drivers/net/wireless/ath/ath6kl/wmi.c 		    (if_idx > (wmi->parent_dev->vif_max - 1)))) {
wmi              1818 drivers/net/wireless/ath/ath6kl/wmi.c 		ath6kl_wmi_sync_point(wmi, if_idx);
wmi              1830 drivers/net/wireless/ath/ath6kl/wmi.c 		ret = ath6kl_wmi_data_hdr_add(wmi, skb, OPT_MSGTYPE,
wmi              1836 drivers/net/wireless/ath/ath6kl/wmi.c 		ep_id = ath6kl_ac2_endpoint_id(wmi->parent_dev, WMM_AC_BE);
wmi              1839 drivers/net/wireless/ath/ath6kl/wmi.c 	ath6kl_control_tx(wmi->parent_dev, skb, ep_id);
wmi              1847 drivers/net/wireless/ath/ath6kl/wmi.c 		ath6kl_wmi_sync_point(wmi, if_idx);
wmi              1853 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_connect_cmd(struct wmi *wmi, u8 if_idx,
wmi              1875 drivers/net/wireless/ath/ath6kl/wmi.c 	wmi->traffic_class = 100;
wmi              1907 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_CONNECT_CMDID,
wmi              1913 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_reconnect_cmd(struct wmi *wmi, u8 if_idx, u8 *bssid,
wmi              1923 drivers/net/wireless/ath/ath6kl/wmi.c 	wmi->traffic_class = 100;
wmi              1935 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_RECONNECT_CMDID,
wmi              1941 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_disconnect_cmd(struct wmi *wmi, u8 if_idx)
wmi              1947 drivers/net/wireless/ath/ath6kl/wmi.c 	wmi->traffic_class = 100;
wmi              1950 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_simple_cmd(wmi, if_idx, WMI_DISCONNECT_CMDID);
wmi              1959 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_startscan_cmd(struct wmi *wmi, u8 if_idx,
wmi              1997 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_START_SCAN_CMDID,
wmi              2008 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_beginscan_cmd(struct wmi *wmi, u8 if_idx,
wmi              2019 drivers/net/wireless/ath/ath6kl/wmi.c 	struct ath6kl *ar = wmi->parent_dev;
wmi              2025 drivers/net/wireless/ath/ath6kl/wmi.c 		return ath6kl_wmi_startscan_cmd(wmi, if_idx,
wmi              2081 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_BEGIN_SCAN_CMDID,
wmi              2087 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_enable_sched_scan_cmd(struct wmi *wmi, u8 if_idx, bool enable)
wmi              2102 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb,
wmi              2108 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_scanparams_cmd(struct wmi *wmi, u8 if_idx,
wmi              2136 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_SET_SCAN_PARAMS_CMDID,
wmi              2141 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_bssfilter_cmd(struct wmi *wmi, u8 if_idx, u8 filter, u32 ie_mask)
wmi              2158 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_SET_BSS_FILTER_CMDID,
wmi              2163 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_probedssid_cmd(struct wmi *wmi, u8 if_idx, u8 index, u8 flag,
wmi              2183 drivers/net/wireless/ath/ath6kl/wmi.c 		wmi->is_probe_ssid = true;
wmi              2195 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_SET_PROBED_SSID_CMDID,
wmi              2200 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_listeninterval_cmd(struct wmi *wmi, u8 if_idx,
wmi              2216 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_SET_LISTEN_INT_CMDID,
wmi              2221 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_bmisstime_cmd(struct wmi *wmi, u8 if_idx,
wmi              2236 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_SET_BMISS_TIME_CMDID,
wmi              2241 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_powermode_cmd(struct wmi *wmi, u8 if_idx, u8 pwr_mode)
wmi              2253 drivers/net/wireless/ath/ath6kl/wmi.c 	wmi->pwr_mode = pwr_mode;
wmi              2255 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_SET_POWER_MODE_CMDID,
wmi              2260 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_pmparams_cmd(struct wmi *wmi, u8 if_idx, u16 idle_period,
wmi              2281 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_SET_POWER_PARAMS_CMDID,
wmi              2286 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_disctimeout_cmd(struct wmi *wmi, u8 if_idx, u8 timeout)
wmi              2299 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_SET_DISC_TIMEOUT_CMDID,
wmi              2303 drivers/net/wireless/ath/ath6kl/wmi.c 		ath6kl_debug_set_disconnect_timeout(wmi->parent_dev, timeout);
wmi              2308 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_addkey_cmd(struct wmi *wmi, u8 if_idx, u8 key_index,
wmi              2350 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_ADD_CIPHER_KEY_CMDID,
wmi              2356 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_add_krk_cmd(struct wmi *wmi, u8 if_idx, const u8 *krk)
wmi              2369 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_ADD_KRK_CMDID,
wmi              2375 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_deletekey_cmd(struct wmi *wmi, u8 if_idx, u8 key_index)
wmi              2391 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_DELETE_CIPHER_KEY_CMDID,
wmi              2397 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_setpmkid_cmd(struct wmi *wmi, u8 if_idx, const u8 *bssid,
wmi              2424 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_SET_PMKID_CMDID,
wmi              2430 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_data_sync_send(struct wmi *wmi, struct sk_buff *skb,
wmi              2436 drivers/net/wireless/ath/ath6kl/wmi.c 	if (WARN_ON(skb == NULL || ep_id == wmi->ep_id)) {
wmi              2447 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_control_tx(wmi->parent_dev, skb, ep_id);
wmi              2452 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_sync_point(struct wmi *wmi, u8 if_idx)
wmi              2463 drivers/net/wireless/ath/ath6kl/wmi.c 	spin_lock_bh(&wmi->lock);
wmi              2466 drivers/net/wireless/ath/ath6kl/wmi.c 		if (wmi->fat_pipe_exist & (1 << index)) {
wmi              2473 drivers/net/wireless/ath/ath6kl/wmi.c 	spin_unlock_bh(&wmi->lock);
wmi              2485 drivers/net/wireless/ath/ath6kl/wmi.c 	cmd->data_sync_map = wmi->fat_pipe_exist;
wmi              2506 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_SYNCHRONIZE_CMDID,
wmi              2516 drivers/net/wireless/ath/ath6kl/wmi.c 		ep_id = ath6kl_ac2_endpoint_id(wmi->parent_dev,
wmi              2520 drivers/net/wireless/ath/ath6kl/wmi.c 		    ath6kl_wmi_data_sync_send(wmi, data_sync_bufs[index].skb,
wmi              2542 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_create_pstream_cmd(struct wmi *wmi, u8 if_idx,
wmi              2601 drivers/net/wireless/ath/ath6kl/wmi.c 		spin_lock_bh(&wmi->lock);
wmi              2602 drivers/net/wireless/ath/ath6kl/wmi.c 		fatpipe_exist_for_ac = (wmi->fat_pipe_exist &
wmi              2604 drivers/net/wireless/ath/ath6kl/wmi.c 		wmi->fat_pipe_exist |= (1 << params->traffic_class);
wmi              2605 drivers/net/wireless/ath/ath6kl/wmi.c 		spin_unlock_bh(&wmi->lock);
wmi              2608 drivers/net/wireless/ath/ath6kl/wmi.c 		spin_lock_bh(&wmi->lock);
wmi              2609 drivers/net/wireless/ath/ath6kl/wmi.c 		fatpipe_exist_for_ac = (wmi->fat_pipe_exist &
wmi              2611 drivers/net/wireless/ath/ath6kl/wmi.c 		wmi->stream_exist_for_ac[params->traffic_class] |=
wmi              2617 drivers/net/wireless/ath/ath6kl/wmi.c 		wmi->fat_pipe_exist |= (1 << params->traffic_class);
wmi              2618 drivers/net/wireless/ath/ath6kl/wmi.c 		spin_unlock_bh(&wmi->lock);
wmi              2627 drivers/net/wireless/ath/ath6kl/wmi.c 		ath6kl_indicate_tx_activity(wmi->parent_dev,
wmi              2630 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_CREATE_PSTREAM_CMDID,
wmi              2635 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_delete_pstream_cmd(struct wmi *wmi, u8 if_idx, u8 traffic_class,
wmi              2656 drivers/net/wireless/ath/ath6kl/wmi.c 	spin_lock_bh(&wmi->lock);
wmi              2657 drivers/net/wireless/ath/ath6kl/wmi.c 	active_tsids = wmi->stream_exist_for_ac[traffic_class];
wmi              2658 drivers/net/wireless/ath/ath6kl/wmi.c 	spin_unlock_bh(&wmi->lock);
wmi              2672 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_DELETE_PSTREAM_CMDID,
wmi              2675 drivers/net/wireless/ath/ath6kl/wmi.c 	spin_lock_bh(&wmi->lock);
wmi              2676 drivers/net/wireless/ath/ath6kl/wmi.c 	wmi->stream_exist_for_ac[traffic_class] &= ~(1 << tsid);
wmi              2677 drivers/net/wireless/ath/ath6kl/wmi.c 	active_tsids = wmi->stream_exist_for_ac[traffic_class];
wmi              2678 drivers/net/wireless/ath/ath6kl/wmi.c 	spin_unlock_bh(&wmi->lock);
wmi              2685 drivers/net/wireless/ath/ath6kl/wmi.c 		ath6kl_indicate_tx_activity(wmi->parent_dev,
wmi              2687 drivers/net/wireless/ath/ath6kl/wmi.c 		wmi->fat_pipe_exist &= ~(1 << traffic_class);
wmi              2693 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_set_ip_cmd(struct wmi *wmi, u8 if_idx,
wmi              2713 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_SET_IP_CMDID,
wmi              2718 drivers/net/wireless/ath/ath6kl/wmi.c static void ath6kl_wmi_relinquish_implicit_pstream_credits(struct wmi *wmi)
wmi              2730 drivers/net/wireless/ath/ath6kl/wmi.c 	spin_lock_bh(&wmi->lock);
wmi              2731 drivers/net/wireless/ath/ath6kl/wmi.c 	stream_exist = wmi->fat_pipe_exist;
wmi              2732 drivers/net/wireless/ath/ath6kl/wmi.c 	spin_unlock_bh(&wmi->lock);
wmi              2740 drivers/net/wireless/ath/ath6kl/wmi.c 			spin_lock_bh(&wmi->lock);
wmi              2741 drivers/net/wireless/ath/ath6kl/wmi.c 			active_tsids = wmi->stream_exist_for_ac[i];
wmi              2742 drivers/net/wireless/ath/ath6kl/wmi.c 			spin_unlock_bh(&wmi->lock);
wmi              2754 drivers/net/wireless/ath/ath6kl/wmi.c 				ath6kl_indicate_tx_activity(wmi->parent_dev,
wmi              2761 drivers/net/wireless/ath/ath6kl/wmi.c 	spin_lock_bh(&wmi->lock);
wmi              2762 drivers/net/wireless/ath/ath6kl/wmi.c 	wmi->fat_pipe_exist = stream_exist;
wmi              2763 drivers/net/wireless/ath/ath6kl/wmi.c 	spin_unlock_bh(&wmi->lock);
wmi              2766 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_set_bitrate_mask64(struct wmi *wmi, u8 if_idx,
wmi              2812 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb,
wmi              2818 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_set_bitrate_mask32(struct wmi *wmi, u8 if_idx,
wmi              2862 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb,
wmi              2868 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_set_bitrate_mask(struct wmi *wmi, u8 if_idx,
wmi              2871 drivers/net/wireless/ath/ath6kl/wmi.c 	struct ath6kl *ar = wmi->parent_dev;
wmi              2875 drivers/net/wireless/ath/ath6kl/wmi.c 		return ath6kl_set_bitrate_mask64(wmi, if_idx, mask);
wmi              2877 drivers/net/wireless/ath/ath6kl/wmi.c 		return ath6kl_set_bitrate_mask32(wmi, if_idx, mask);
wmi              2880 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_set_host_sleep_mode_cmd(struct wmi *wmi, u8 if_idx,
wmi              2900 drivers/net/wireless/ath/ath6kl/wmi.c 		ath6kl_wmi_relinquish_implicit_pstream_credits(wmi);
wmi              2906 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb,
wmi              2913 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_host_sleep_mode_cmd_prcd_evt_rx(struct wmi *wmi,
wmi              2916 drivers/net/wireless/ath/ath6kl/wmi.c 	struct ath6kl *ar = wmi->parent_dev;
wmi              2924 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_set_wow_mode_cmd(struct wmi *wmi, u8 if_idx,
wmi              2947 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_SET_WOW_MODE_CMDID,
wmi              2952 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_add_wow_pattern_cmd(struct wmi *wmi, u8 if_idx,
wmi              2983 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_ADD_WOW_PATTERN_CMDID,
wmi              2989 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_del_wow_pattern_cmd(struct wmi *wmi, u8 if_idx,
wmi              3004 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_DEL_WOW_PATTERN_CMDID,
wmi              3009 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_cmd_send_xtnd(struct wmi *wmi, struct sk_buff *skb,
wmi              3021 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, 0, skb, WMI_EXTENSION_CMDID, sync_flag);
wmi              3026 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_get_challenge_resp_cmd(struct wmi *wmi, u32 cookie, u32 source)
wmi              3040 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send_xtnd(wmi, skb, WMIX_HB_CHALLENGE_RESP_CMDID,
wmi              3045 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_config_debug_module_cmd(struct wmi *wmi, u32 valid, u32 config)
wmi              3059 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send_xtnd(wmi, skb, WMIX_DBGLOG_CFG_MODULE_CMDID,
wmi              3064 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_get_stats_cmd(struct wmi *wmi, u8 if_idx)
wmi              3066 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_simple_cmd(wmi, if_idx, WMI_GET_STATISTICS_CMDID);
wmi              3069 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_set_tx_pwr_cmd(struct wmi *wmi, u8 if_idx, u8 dbM)
wmi              3082 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_SET_TX_PWR_CMDID,
wmi              3088 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_get_tx_pwr_cmd(struct wmi *wmi, u8 if_idx)
wmi              3090 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_simple_cmd(wmi, if_idx, WMI_GET_TX_PWR_CMDID);
wmi              3093 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_get_roam_tbl_cmd(struct wmi *wmi)
wmi              3095 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_simple_cmd(wmi, 0, WMI_GET_ROAM_TBL_CMDID);
wmi              3098 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_set_lpreamble_cmd(struct wmi *wmi, u8 if_idx, u8 status,
wmi              3113 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_SET_LPREAMBLE_CMDID,
wmi              3118 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_set_rts_cmd(struct wmi *wmi, u16 threshold)
wmi              3131 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, 0, skb, WMI_SET_RTS_CMDID,
wmi              3136 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_set_wmm_txop(struct wmi *wmi, u8 if_idx, enum wmi_txop_cfg cfg)
wmi              3152 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_SET_WMM_TXOP_CMDID,
wmi              3157 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_set_keepalive_cmd(struct wmi *wmi, u8 if_idx,
wmi              3171 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_SET_KEEPALIVE_CMDID,
wmi              3175 drivers/net/wireless/ath/ath6kl/wmi.c 		ath6kl_debug_set_keepalive(wmi->parent_dev, keep_alive_intvl);
wmi              3180 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_set_htcap_cmd(struct wmi *wmi, u8 if_idx,
wmi              3213 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_SET_HT_CAP_CMDID,
wmi              3217 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_test_cmd(struct wmi *wmi, void *buf, size_t len)
wmi              3228 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, 0, skb, WMI_TEST_CMDID, NO_SYNC_WMIFLAG);
wmi              3233 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_mcast_filter_cmd(struct wmi *wmi, u8 if_idx, bool mc_all_on)
wmi              3246 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_MCAST_FILTER_CMDID,
wmi              3251 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_add_del_mcast_filter_cmd(struct wmi *wmi, u8 if_idx,
wmi              3271 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb,
wmi              3279 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_sta_bmiss_enhance_cmd(struct wmi *wmi, u8 if_idx, bool enhance)
wmi              3292 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb,
wmi              3298 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_set_regdomain_cmd(struct wmi *wmi, const char *alpha2)
wmi              3310 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_cmd_send(wmi, 0, skb,
wmi              3315 drivers/net/wireless/ath/ath6kl/wmi.c s32 ath6kl_wmi_get_rate(struct wmi *wmi, s8 rate_index)
wmi              3317 drivers/net/wireless/ath/ath6kl/wmi.c 	struct ath6kl *ar = wmi->parent_dev;
wmi              3346 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_get_pmkid_list_event_rx(struct wmi *wmi, u8 *datap,
wmi              3365 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_addba_req_event_rx(struct wmi *wmi, u8 *datap, int len,
wmi              3376 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_delba_req_event_rx(struct wmi *wmi, u8 *datap, int len,
wmi              3388 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_ap_profile_commit(struct wmi *wmip, u8 if_idx,
wmi              3411 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_ap_set_mlme(struct wmi *wmip, u8 if_idx, u8 cmd, const u8 *mac,
wmi              3433 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_ap_hidden_ssid(struct wmi *wmi, u8 if_idx, bool enable)
wmi              3445 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_AP_HIDDEN_SSID_CMDID,
wmi              3450 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_ap_set_apsd(struct wmi *wmi, u8 if_idx, u8 enable)
wmi              3462 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_AP_SET_APSD_CMDID,
wmi              3466 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_set_apsd_bfrd_traf(struct wmi *wmi, u8 if_idx,
wmi              3481 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_cmd_send(wmi, if_idx, skb,
wmi              3486 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_pspoll_event_rx(struct wmi *wmi, u8 *datap, int len,
wmi              3501 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_dtimexpiry_event_rx(struct wmi *wmi, u8 *datap, int len,
wmi              3509 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_set_pvb_cmd(struct wmi *wmi, u8 if_idx, u16 aid,
wmi              3525 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_AP_SET_PVB_CMDID,
wmi              3531 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_set_rx_frame_format_cmd(struct wmi *wmi, u8 if_idx,
wmi              3549 drivers/net/wireless/ath/ath6kl/wmi.c 	ret = ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_RX_FRAME_FORMAT_CMDID,
wmi              3555 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_set_appie_cmd(struct wmi *wmi, u8 if_idx, u8 mgmt_frm_type,
wmi              3575 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_SET_APPIE_CMDID,
wmi              3579 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_set_ie_cmd(struct wmi *wmi, u8 if_idx, u8 ie_id, u8 ie_field,
wmi              3598 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_SET_IE_CMDID,
wmi              3602 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_disable_11b_rates_cmd(struct wmi *wmi, bool disable)
wmi              3616 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_cmd_send(wmi, 0, skb, WMI_DISABLE_11B_RATES_CMDID,
wmi              3620 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_remain_on_chnl_cmd(struct wmi *wmi, u8 if_idx, u32 freq, u32 dur)
wmi              3634 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_REMAIN_ON_CHNL_CMDID,
wmi              3642 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_send_action_cmd(struct wmi *wmi, u8 if_idx, u32 id,
wmi              3663 drivers/net/wireless/ath/ath6kl/wmi.c 	kfree(wmi->last_mgmt_tx_frame);
wmi              3665 drivers/net/wireless/ath/ath6kl/wmi.c 	wmi->last_mgmt_tx_frame = buf;
wmi              3666 drivers/net/wireless/ath/ath6kl/wmi.c 	wmi->last_mgmt_tx_frame_len = data_len;
wmi              3677 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_SEND_ACTION_CMDID,
wmi              3681 drivers/net/wireless/ath/ath6kl/wmi.c static int __ath6kl_wmi_send_mgmt_cmd(struct wmi *wmi, u8 if_idx, u32 id,
wmi              3702 drivers/net/wireless/ath/ath6kl/wmi.c 	kfree(wmi->last_mgmt_tx_frame);
wmi              3704 drivers/net/wireless/ath/ath6kl/wmi.c 	wmi->last_mgmt_tx_frame = buf;
wmi              3705 drivers/net/wireless/ath/ath6kl/wmi.c 	wmi->last_mgmt_tx_frame_len = data_len;
wmi              3717 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_SEND_MGMT_CMDID,
wmi              3721 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_send_mgmt_cmd(struct wmi *wmi, u8 if_idx, u32 id, u32 freq,
wmi              3726 drivers/net/wireless/ath/ath6kl/wmi.c 	struct ath6kl *ar = wmi->parent_dev;
wmi              3736 drivers/net/wireless/ath/ath6kl/wmi.c 		status = __ath6kl_wmi_send_mgmt_cmd(ar->wmi, if_idx, id, freq,
wmi              3740 drivers/net/wireless/ath/ath6kl/wmi.c 		status = ath6kl_wmi_send_action_cmd(ar->wmi, if_idx, id, freq,
wmi              3747 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_send_probe_response_cmd(struct wmi *wmi, u8 if_idx, u32 freq,
wmi              3770 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_cmd_send(wmi, if_idx, skb,
wmi              3775 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_probe_report_req_cmd(struct wmi *wmi, u8 if_idx, bool enable)
wmi              3788 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_PROBE_REQ_REPORT_CMDID,
wmi              3792 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_info_req_cmd(struct wmi *wmi, u8 if_idx, u32 info_req_flags)
wmi              3805 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_GET_P2P_INFO_CMDID,
wmi              3809 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_cancel_remain_on_chnl_cmd(struct wmi *wmi, u8 if_idx)
wmi              3812 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_simple_cmd(wmi, if_idx,
wmi              3816 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_set_inact_period(struct wmi *wmi, u8 if_idx, int inact_timeout)
wmi              3829 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_cmd_send(wmi, if_idx, skb, WMI_AP_CONN_INACT_CMDID,
wmi              3833 drivers/net/wireless/ath/ath6kl/wmi.c static void ath6kl_wmi_hb_challenge_resp_event(struct wmi *wmi, u8 *datap,
wmi              3842 drivers/net/wireless/ath/ath6kl/wmi.c 	ath6kl_recovery_hb_event(wmi->parent_dev,
wmi              3846 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_control_rx_xtnd(struct wmi *wmi, struct sk_buff *skb)
wmi              3870 drivers/net/wireless/ath/ath6kl/wmi.c 		ath6kl_wmi_hb_challenge_resp_event(wmi, datap, len);
wmi              3874 drivers/net/wireless/ath/ath6kl/wmi.c 		ath6kl_debug_fwlog_event(wmi->parent_dev, datap, len);
wmi              3885 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_roam_tbl_event_rx(struct wmi *wmi, u8 *datap, int len)
wmi              3887 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_debug_roam_tbl_event(wmi->parent_dev, datap, len);
wmi              3891 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_proc_events_vif(struct wmi *wmi, u16 if_idx, u16 cmd_id,
wmi              3896 drivers/net/wireless/ath/ath6kl/wmi.c 	vif = ath6kl_get_vif_by_index(wmi->parent_dev, if_idx);
wmi              3907 drivers/net/wireless/ath/ath6kl/wmi.c 		return ath6kl_wmi_connect_event_rx(wmi, datap, len, vif);
wmi              3910 drivers/net/wireless/ath/ath6kl/wmi.c 		return ath6kl_wmi_disconnect_event_rx(wmi, datap, len, vif);
wmi              3913 drivers/net/wireless/ath/ath6kl/wmi.c 		return ath6kl_wmi_tkip_micerr_event_rx(wmi, datap, len, vif);
wmi              3916 drivers/net/wireless/ath/ath6kl/wmi.c 		return ath6kl_wmi_bssinfo_event_rx(wmi, datap, len, vif);
wmi              3919 drivers/net/wireless/ath/ath6kl/wmi.c 		return ath6kl_wmi_neighbor_report_event_rx(wmi, datap, len,
wmi              3923 drivers/net/wireless/ath/ath6kl/wmi.c 		return ath6kl_wmi_scan_complete_rx(wmi, datap, len, vif);
wmi              3926 drivers/net/wireless/ath/ath6kl/wmi.c 		return ath6kl_wmi_stats_event_rx(wmi, datap, len, vif);
wmi              3929 drivers/net/wireless/ath/ath6kl/wmi.c 		return ath6kl_wmi_cac_event_rx(wmi, datap, len, vif);
wmi              3932 drivers/net/wireless/ath/ath6kl/wmi.c 		return ath6kl_wmi_pspoll_event_rx(wmi, datap, len, vif);
wmi              3935 drivers/net/wireless/ath/ath6kl/wmi.c 		return ath6kl_wmi_dtimexpiry_event_rx(wmi, datap, len, vif);
wmi              3938 drivers/net/wireless/ath/ath6kl/wmi.c 		return ath6kl_wmi_addba_req_event_rx(wmi, datap, len, vif);
wmi              3941 drivers/net/wireless/ath/ath6kl/wmi.c 		return ath6kl_wmi_delba_req_event_rx(wmi, datap, len, vif);
wmi              3945 drivers/net/wireless/ath/ath6kl/wmi.c 		return ath6kl_wmi_host_sleep_mode_cmd_prcd_evt_rx(wmi, vif);
wmi              3948 drivers/net/wireless/ath/ath6kl/wmi.c 		return ath6kl_wmi_remain_on_chnl_event_rx(wmi, datap, len, vif);
wmi              3952 drivers/net/wireless/ath/ath6kl/wmi.c 		return ath6kl_wmi_cancel_remain_on_chnl_event_rx(wmi, datap,
wmi              3956 drivers/net/wireless/ath/ath6kl/wmi.c 		return ath6kl_wmi_tx_status_event_rx(wmi, datap, len, vif);
wmi              3959 drivers/net/wireless/ath/ath6kl/wmi.c 		return ath6kl_wmi_rx_probe_req_event_rx(wmi, datap, len, vif);
wmi              3962 drivers/net/wireless/ath/ath6kl/wmi.c 		return ath6kl_wmi_rx_action_event_rx(wmi, datap, len, vif);
wmi              3965 drivers/net/wireless/ath/ath6kl/wmi.c 		return ath6kl_wmi_txe_notify_event_rx(wmi, datap, len, vif);
wmi              3974 drivers/net/wireless/ath/ath6kl/wmi.c static int ath6kl_wmi_proc_events(struct wmi *wmi, struct sk_buff *skb)
wmi              3998 drivers/net/wireless/ath/ath6kl/wmi.c 		ret = ath6kl_wmi_bitrate_reply_rx(wmi, datap, len);
wmi              4002 drivers/net/wireless/ath/ath6kl/wmi.c 		ret = ath6kl_wmi_ch_list_reply_rx(wmi, datap, len);
wmi              4006 drivers/net/wireless/ath/ath6kl/wmi.c 		ret = ath6kl_wmi_tx_pwr_reply_rx(wmi, datap, len);
wmi              4010 drivers/net/wireless/ath/ath6kl/wmi.c 		ret = ath6kl_wmi_ready_event_rx(wmi, datap, len);
wmi              4014 drivers/net/wireless/ath/ath6kl/wmi.c 		ret = ath6kl_wmi_peer_node_event_rx(wmi, datap, len);
wmi              4018 drivers/net/wireless/ath/ath6kl/wmi.c 		ath6kl_wmi_regdomain_event(wmi, datap, len);
wmi              4022 drivers/net/wireless/ath/ath6kl/wmi.c 		ret = ath6kl_wmi_pstream_timeout_event_rx(wmi, datap, len);
wmi              4026 drivers/net/wireless/ath/ath6kl/wmi.c 		ret = ath6kl_wmi_error_event_rx(wmi, datap, len);
wmi              4030 drivers/net/wireless/ath/ath6kl/wmi.c 		ret = ath6kl_wmi_rssi_threshold_event_rx(wmi, datap, len);
wmi              4041 drivers/net/wireless/ath/ath6kl/wmi.c 		ret = ath6kl_wmi_roam_tbl_event_rx(wmi, datap, len);
wmi              4045 drivers/net/wireless/ath/ath6kl/wmi.c 		ret = ath6kl_wmi_control_rx_xtnd(wmi, skb);
wmi              4055 drivers/net/wireless/ath/ath6kl/wmi.c 		ret = ath6kl_wmi_test_rx(wmi, datap, len);
wmi              4059 drivers/net/wireless/ath/ath6kl/wmi.c 		ret = ath6kl_wmi_ratemask_reply_rx(wmi, datap, len);
wmi              4066 drivers/net/wireless/ath/ath6kl/wmi.c 		ret = ath6kl_wmi_snr_threshold_event_rx(wmi, datap, len);
wmi              4073 drivers/net/wireless/ath/ath6kl/wmi.c 		ret = ath6kl_wmi_aplist_event_rx(wmi, datap, len);
wmi              4077 drivers/net/wireless/ath/ath6kl/wmi.c 		ret = ath6kl_wmi_keepalive_reply_rx(wmi, datap, len);
wmi              4084 drivers/net/wireless/ath/ath6kl/wmi.c 		ret = ath6kl_wmi_get_pmkid_list_event_rx(wmi, datap, len);
wmi              4114 drivers/net/wireless/ath/ath6kl/wmi.c 		ret = ath6kl_wmi_proc_events_vif(wmi, if_idx, id, datap, len);
wmi              4123 drivers/net/wireless/ath/ath6kl/wmi.c int ath6kl_wmi_control_rx(struct wmi *wmi, struct sk_buff *skb)
wmi              4136 drivers/net/wireless/ath/ath6kl/wmi.c 	return ath6kl_wmi_proc_events(wmi, skb);
wmi              4139 drivers/net/wireless/ath/ath6kl/wmi.c void ath6kl_wmi_reset(struct wmi *wmi)
wmi              4141 drivers/net/wireless/ath/ath6kl/wmi.c 	spin_lock_bh(&wmi->lock);
wmi              4143 drivers/net/wireless/ath/ath6kl/wmi.c 	wmi->fat_pipe_exist = 0;
wmi              4144 drivers/net/wireless/ath/ath6kl/wmi.c 	memset(wmi->stream_exist_for_ac, 0, sizeof(wmi->stream_exist_for_ac));
wmi              4146 drivers/net/wireless/ath/ath6kl/wmi.c 	spin_unlock_bh(&wmi->lock);
wmi              4151 drivers/net/wireless/ath/ath6kl/wmi.c 	struct wmi *wmi;
wmi              4153 drivers/net/wireless/ath/ath6kl/wmi.c 	wmi = kzalloc(sizeof(struct wmi), GFP_KERNEL);
wmi              4154 drivers/net/wireless/ath/ath6kl/wmi.c 	if (!wmi)
wmi              4157 drivers/net/wireless/ath/ath6kl/wmi.c 	spin_lock_init(&wmi->lock);
wmi              4159 drivers/net/wireless/ath/ath6kl/wmi.c 	wmi->parent_dev = dev;
wmi              4161 drivers/net/wireless/ath/ath6kl/wmi.c 	wmi->pwr_mode = REC_POWER;
wmi              4163 drivers/net/wireless/ath/ath6kl/wmi.c 	ath6kl_wmi_reset(wmi);
wmi              4165 drivers/net/wireless/ath/ath6kl/wmi.c 	return wmi;
wmi              4168 drivers/net/wireless/ath/ath6kl/wmi.c void ath6kl_wmi_shutdown(struct wmi *wmi)
wmi              4170 drivers/net/wireless/ath/ath6kl/wmi.c 	if (!wmi)
wmi              4173 drivers/net/wireless/ath/ath6kl/wmi.c 	kfree(wmi->last_mgmt_tx_frame);
wmi              4174 drivers/net/wireless/ath/ath6kl/wmi.c 	kfree(wmi);
wmi              2536 drivers/net/wireless/ath/ath6kl/wmi.h enum htc_endpoint_id ath6kl_wmi_get_control_ep(struct wmi *wmi);
wmi              2537 drivers/net/wireless/ath/ath6kl/wmi.h void ath6kl_wmi_set_control_ep(struct wmi *wmi, enum htc_endpoint_id ep_id);
wmi              2538 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_dix_2_dot3(struct wmi *wmi, struct sk_buff *skb);
wmi              2539 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_data_hdr_add(struct wmi *wmi, struct sk_buff *skb,
wmi              2544 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_dot11_hdr_remove(struct wmi *wmi, struct sk_buff *skb);
wmi              2546 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_implicit_create_pstream(struct wmi *wmi, u8 if_idx,
wmi              2550 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_control_rx(struct wmi *wmi, struct sk_buff *skb);
wmi              2552 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_cmd_send(struct wmi *wmi, u8 if_idx, struct sk_buff *skb,
wmi              2555 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_connect_cmd(struct wmi *wmi, u8 if_idx,
wmi              2566 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_reconnect_cmd(struct wmi *wmi, u8 if_idx, u8 *bssid,
wmi              2568 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_disconnect_cmd(struct wmi *wmi, u8 if_idx);
wmi              2570 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_beginscan_cmd(struct wmi *wmi, u8 if_idx,
wmi              2576 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_enable_sched_scan_cmd(struct wmi *wmi, u8 if_idx, bool enable);
wmi              2578 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_scanparams_cmd(struct wmi *wmi, u8 if_idx, u16 fg_start_sec,
wmi              2584 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_bssfilter_cmd(struct wmi *wmi, u8 if_idx, u8 filter,
wmi              2586 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_probedssid_cmd(struct wmi *wmi, u8 if_idx, u8 index, u8 flag,
wmi              2588 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_listeninterval_cmd(struct wmi *wmi, u8 if_idx,
wmi              2591 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_bmisstime_cmd(struct wmi *wmi, u8 if_idx,
wmi              2593 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_powermode_cmd(struct wmi *wmi, u8 if_idx, u8 pwr_mode);
wmi              2594 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_pmparams_cmd(struct wmi *wmi, u8 if_idx, u16 idle_period,
wmi              2598 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_create_pstream_cmd(struct wmi *wmi, u8 if_idx,
wmi              2600 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_delete_pstream_cmd(struct wmi *wmi, u8 if_idx, u8 traffic_class,
wmi              2602 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_disctimeout_cmd(struct wmi *wmi, u8 if_idx, u8 timeout);
wmi              2604 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_set_rts_cmd(struct wmi *wmi, u16 threshold);
wmi              2605 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_set_lpreamble_cmd(struct wmi *wmi, u8 if_idx, u8 status,
wmi              2608 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_get_challenge_resp_cmd(struct wmi *wmi, u32 cookie, u32 source);
wmi              2609 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_config_debug_module_cmd(struct wmi *wmi, u32 valid, u32 config);
wmi              2611 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_get_stats_cmd(struct wmi *wmi, u8 if_idx);
wmi              2612 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_addkey_cmd(struct wmi *wmi, u8 if_idx, u8 key_index,
wmi              2619 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_add_krk_cmd(struct wmi *wmi, u8 if_idx, const u8 *krk);
wmi              2620 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_deletekey_cmd(struct wmi *wmi, u8 if_idx, u8 key_index);
wmi              2621 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_setpmkid_cmd(struct wmi *wmi, u8 if_idx, const u8 *bssid,
wmi              2623 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_set_tx_pwr_cmd(struct wmi *wmi, u8 if_idx, u8 dbM);
wmi              2624 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_get_tx_pwr_cmd(struct wmi *wmi, u8 if_idx);
wmi              2625 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_get_roam_tbl_cmd(struct wmi *wmi);
wmi              2627 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_set_wmm_txop(struct wmi *wmi, u8 if_idx, enum wmi_txop_cfg cfg);
wmi              2628 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_set_keepalive_cmd(struct wmi *wmi, u8 if_idx,
wmi              2630 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_set_htcap_cmd(struct wmi *wmi, u8 if_idx,
wmi              2633 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_test_cmd(struct wmi *wmi, void *buf, size_t len);
wmi              2635 drivers/net/wireless/ath/ath6kl/wmi.h s32 ath6kl_wmi_get_rate(struct wmi *wmi, s8 rate_index);
wmi              2637 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_set_ip_cmd(struct wmi *wmi, u8 if_idx,
wmi              2639 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_set_host_sleep_mode_cmd(struct wmi *wmi, u8 if_idx,
wmi              2641 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_set_bitrate_mask(struct wmi *wmi, u8 if_idx,
wmi              2643 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_set_wow_mode_cmd(struct wmi *wmi, u8 if_idx,
wmi              2646 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_add_wow_pattern_cmd(struct wmi *wmi, u8 if_idx,
wmi              2650 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_del_wow_pattern_cmd(struct wmi *wmi, u8 if_idx,
wmi              2652 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_set_rssi_filter_cmd(struct wmi *wmi, u8 if_idx, s8 rssi);
wmi              2653 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_set_roam_lrssi_cmd(struct wmi *wmi, u8 lrssi);
wmi              2654 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_ap_set_dtim_cmd(struct wmi *wmi, u8 if_idx, u32 dtim_period);
wmi              2655 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_ap_set_beacon_intvl_cmd(struct wmi *wmi, u8 if_idx,
wmi              2657 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_force_roam_cmd(struct wmi *wmi, const u8 *bssid);
wmi              2658 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_set_roam_mode_cmd(struct wmi *wmi, enum wmi_roam_mode mode);
wmi              2659 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_mcast_filter_cmd(struct wmi *wmi, u8 if_idx, bool mc_all_on);
wmi              2660 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_add_del_mcast_filter_cmd(struct wmi *wmi, u8 if_idx,
wmi              2662 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_sta_bmiss_enhance_cmd(struct wmi *wmi, u8 if_idx, bool enable);
wmi              2663 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_set_txe_notify(struct wmi *wmi, u8 idx,
wmi              2665 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_set_regdomain_cmd(struct wmi *wmi, const char *alpha2);
wmi              2668 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_ap_set_apsd(struct wmi *wmi, u8 if_idx, u8 enable);
wmi              2670 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_set_apsd_bfrd_traf(struct wmi *wmi,
wmi              2678 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_ap_hidden_ssid(struct wmi *wmi, u8 if_idx, bool enable);
wmi              2679 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_ap_profile_commit(struct wmi *wmip, u8 if_idx,
wmi              2682 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_ap_set_mlme(struct wmi *wmip, u8 if_idx, u8 cmd,
wmi              2685 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_set_pvb_cmd(struct wmi *wmi, u8 if_idx, u16 aid, bool flag);
wmi              2687 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_set_rx_frame_format_cmd(struct wmi *wmi, u8 if_idx,
wmi              2691 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_set_appie_cmd(struct wmi *wmi, u8 if_idx, u8 mgmt_frm_type,
wmi              2694 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_set_ie_cmd(struct wmi *wmi, u8 if_idx, u8 ie_id, u8 ie_field,
wmi              2698 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_disable_11b_rates_cmd(struct wmi *wmi, bool disable);
wmi              2700 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_remain_on_chnl_cmd(struct wmi *wmi, u8 if_idx, u32 freq,
wmi              2703 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_send_mgmt_cmd(struct wmi *wmi, u8 if_idx, u32 id, u32 freq,
wmi              2707 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_send_probe_response_cmd(struct wmi *wmi, u8 if_idx, u32 freq,
wmi              2711 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_probe_report_req_cmd(struct wmi *wmi, u8 if_idx, bool enable);
wmi              2713 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_info_req_cmd(struct wmi *wmi, u8 if_idx, u32 info_req_flags);
wmi              2715 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_cancel_remain_on_chnl_cmd(struct wmi *wmi, u8 if_idx);
wmi              2717 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_set_appie_cmd(struct wmi *wmi, u8 if_idx, u8 mgmt_frm_type,
wmi              2720 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_set_inact_period(struct wmi *wmi, u8 if_idx, int inact_timeout);
wmi              2724 drivers/net/wireless/ath/ath6kl/wmi.h int ath6kl_wmi_get_challenge_resp_cmd(struct wmi *wmi, u32 cookie, u32 source);
wmi              2728 drivers/net/wireless/ath/ath6kl/wmi.h void ath6kl_wmi_shutdown(struct wmi *wmi);
wmi              2729 drivers/net/wireless/ath/ath6kl/wmi.h void ath6kl_wmi_reset(struct wmi *wmi);
wmi               456 drivers/net/wireless/ath/ath9k/htc.h 	struct wmi *wmi;
wmi               146 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	ret = ath9k_wmi_connect(priv->htc, priv->wmi, &priv->wmi_cmd_ep);
wmi               242 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	r = ath9k_wmi_cmd(priv->wmi, WMI_REG_READ_CMDID,
wmi               269 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	ret = ath9k_wmi_cmd(priv->wmi, WMI_REG_READ_CMDID,
wmi               289 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	r = ath9k_wmi_cmd(priv->wmi, WMI_REG_WRITE_CMDID,
wmi               290 drivers/net/wireless/ath/ath9k/htc_drv_init.c 			  (u8 *) &priv->wmi->multi_write,
wmi               291 drivers/net/wireless/ath/ath9k/htc_drv_init.c 			  sizeof(struct register_write) * priv->wmi->multi_write_idx,
wmi               297 drivers/net/wireless/ath/ath9k/htc_drv_init.c 			priv->wmi->multi_write_idx);
wmi               299 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	priv->wmi->multi_write_idx = 0;
wmi               313 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	r = ath9k_wmi_cmd(priv->wmi, WMI_REG_WRITE_CMDID,
wmi               329 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	mutex_lock(&priv->wmi->multi_write_mutex);
wmi               332 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	priv->wmi->multi_write[priv->wmi->multi_write_idx].reg =
wmi               334 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	priv->wmi->multi_write[priv->wmi->multi_write_idx].val =
wmi               337 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	priv->wmi->multi_write_idx++;
wmi               340 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	if (priv->wmi->multi_write_idx == MAX_CMD_NUMBER)
wmi               343 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	mutex_unlock(&priv->wmi->multi_write_mutex);
wmi               352 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	if (atomic_read(&priv->wmi->mwrite_cnt))
wmi               364 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	atomic_inc(&priv->wmi->mwrite_cnt);
wmi               373 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	atomic_dec(&priv->wmi->mwrite_cnt);
wmi               375 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	mutex_lock(&priv->wmi->multi_write_mutex);
wmi               377 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	if (priv->wmi->multi_write_idx)
wmi               380 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	mutex_unlock(&priv->wmi->multi_write_mutex);
wmi               392 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	mutex_lock(&priv->wmi->multi_rmw_mutex);
wmi               395 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	priv->wmi->multi_rmw[priv->wmi->multi_rmw_idx].reg =
wmi               397 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	priv->wmi->multi_rmw[priv->wmi->multi_rmw_idx].set =
wmi               399 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	priv->wmi->multi_rmw[priv->wmi->multi_rmw_idx].clr =
wmi               402 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	priv->wmi->multi_rmw_idx++;
wmi               405 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	if (priv->wmi->multi_rmw_idx == MAX_RMW_CMD_NUMBER) {
wmi               406 drivers/net/wireless/ath/ath9k/htc_drv_init.c 		r = ath9k_wmi_cmd(priv->wmi, WMI_REG_RMW_CMDID,
wmi               407 drivers/net/wireless/ath/ath9k/htc_drv_init.c 			  (u8 *) &priv->wmi->multi_rmw,
wmi               408 drivers/net/wireless/ath/ath9k/htc_drv_init.c 			  sizeof(struct register_write) * priv->wmi->multi_rmw_idx,
wmi               414 drivers/net/wireless/ath/ath9k/htc_drv_init.c 				priv->wmi->multi_rmw_idx);
wmi               416 drivers/net/wireless/ath/ath9k/htc_drv_init.c 		priv->wmi->multi_rmw_idx = 0;
wmi               419 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	mutex_unlock(&priv->wmi->multi_rmw_mutex);
wmi               433 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	atomic_dec(&priv->wmi->m_rmw_cnt);
wmi               435 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	mutex_lock(&priv->wmi->multi_rmw_mutex);
wmi               437 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	if (priv->wmi->multi_rmw_idx) {
wmi               438 drivers/net/wireless/ath/ath9k/htc_drv_init.c 		r = ath9k_wmi_cmd(priv->wmi, WMI_REG_RMW_CMDID,
wmi               439 drivers/net/wireless/ath/ath9k/htc_drv_init.c 			  (u8 *) &priv->wmi->multi_rmw,
wmi               440 drivers/net/wireless/ath/ath9k/htc_drv_init.c 			  sizeof(struct register_rmw) * priv->wmi->multi_rmw_idx,
wmi               446 drivers/net/wireless/ath/ath9k/htc_drv_init.c 				priv->wmi->multi_rmw_idx);
wmi               448 drivers/net/wireless/ath/ath9k/htc_drv_init.c 		priv->wmi->multi_rmw_idx = 0;
wmi               451 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	mutex_unlock(&priv->wmi->multi_rmw_mutex);
wmi               463 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	atomic_inc(&priv->wmi->m_rmw_cnt);
wmi               479 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	ret = ath9k_wmi_cmd(priv->wmi, WMI_REG_RMW_CMDID,
wmi               506 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	if (atomic_read(&priv->wmi->m_rmw_cnt))
wmi               954 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	priv->wmi = ath9k_init_wmi(priv);
wmi               955 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	if (!priv->wmi) {
wmi               547 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	tasklet_kill(&priv->wmi->wmi_event_tasklet);
wmi               561 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	spin_lock_bh(&priv->wmi->event_lock);
wmi               562 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	list_for_each_entry_safe(event, tmp, &priv->wmi->pending_tx_events, list) {
wmi               566 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	spin_unlock_bh(&priv->wmi->event_lock);
wmi               669 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 			spin_lock(&priv->wmi->event_lock);
wmi               671 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 				      &priv->wmi->pending_tx_events);
wmi               672 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 			spin_unlock(&priv->wmi->event_lock);
wmi               762 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	spin_lock(&priv->wmi->event_lock);
wmi               763 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	list_for_each_entry_safe(event, tmp, &priv->wmi->pending_tx_events, list) {
wmi               783 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	spin_unlock(&priv->wmi->event_lock);
wmi                91 drivers/net/wireless/ath/ath9k/wmi.c struct wmi *ath9k_init_wmi(struct ath9k_htc_priv *priv)
wmi                93 drivers/net/wireless/ath/ath9k/wmi.c 	struct wmi *wmi;
wmi                95 drivers/net/wireless/ath/ath9k/wmi.c 	wmi = kzalloc(sizeof(struct wmi), GFP_KERNEL);
wmi                96 drivers/net/wireless/ath/ath9k/wmi.c 	if (!wmi)
wmi                99 drivers/net/wireless/ath/ath9k/wmi.c 	wmi->drv_priv = priv;
wmi               100 drivers/net/wireless/ath/ath9k/wmi.c 	wmi->stopped = false;
wmi               101 drivers/net/wireless/ath/ath9k/wmi.c 	skb_queue_head_init(&wmi->wmi_event_queue);
wmi               102 drivers/net/wireless/ath/ath9k/wmi.c 	spin_lock_init(&wmi->wmi_lock);
wmi               103 drivers/net/wireless/ath/ath9k/wmi.c 	spin_lock_init(&wmi->event_lock);
wmi               104 drivers/net/wireless/ath/ath9k/wmi.c 	mutex_init(&wmi->op_mutex);
wmi               105 drivers/net/wireless/ath/ath9k/wmi.c 	mutex_init(&wmi->multi_write_mutex);
wmi               106 drivers/net/wireless/ath/ath9k/wmi.c 	mutex_init(&wmi->multi_rmw_mutex);
wmi               107 drivers/net/wireless/ath/ath9k/wmi.c 	init_completion(&wmi->cmd_wait);
wmi               108 drivers/net/wireless/ath/ath9k/wmi.c 	INIT_LIST_HEAD(&wmi->pending_tx_events);
wmi               109 drivers/net/wireless/ath/ath9k/wmi.c 	tasklet_init(&wmi->wmi_event_tasklet, ath9k_wmi_event_tasklet,
wmi               110 drivers/net/wireless/ath/ath9k/wmi.c 		     (unsigned long)wmi);
wmi               112 drivers/net/wireless/ath/ath9k/wmi.c 	return wmi;
wmi               117 drivers/net/wireless/ath/ath9k/wmi.c 	struct wmi *wmi = priv->wmi;
wmi               119 drivers/net/wireless/ath/ath9k/wmi.c 	mutex_lock(&wmi->op_mutex);
wmi               120 drivers/net/wireless/ath/ath9k/wmi.c 	wmi->stopped = true;
wmi               121 drivers/net/wireless/ath/ath9k/wmi.c 	mutex_unlock(&wmi->op_mutex);
wmi               126 drivers/net/wireless/ath/ath9k/wmi.c 	kfree(priv->wmi);
wmi               133 drivers/net/wireless/ath/ath9k/wmi.c 	tasklet_kill(&priv->wmi->wmi_event_tasklet);
wmi               134 drivers/net/wireless/ath/ath9k/wmi.c 	spin_lock_irqsave(&priv->wmi->wmi_lock, flags);
wmi               135 drivers/net/wireless/ath/ath9k/wmi.c 	__skb_queue_purge(&priv->wmi->wmi_event_queue);
wmi               136 drivers/net/wireless/ath/ath9k/wmi.c 	spin_unlock_irqrestore(&priv->wmi->wmi_lock, flags);
wmi               141 drivers/net/wireless/ath/ath9k/wmi.c 	struct wmi *wmi = (struct wmi *)data;
wmi               142 drivers/net/wireless/ath/ath9k/wmi.c 	struct ath9k_htc_priv *priv = wmi->drv_priv;
wmi               151 drivers/net/wireless/ath/ath9k/wmi.c 		spin_lock_irqsave(&wmi->wmi_lock, flags);
wmi               152 drivers/net/wireless/ath/ath9k/wmi.c 		skb = __skb_dequeue(&wmi->wmi_event_queue);
wmi               154 drivers/net/wireless/ath/ath9k/wmi.c 			spin_unlock_irqrestore(&wmi->wmi_lock, flags);
wmi               157 drivers/net/wireless/ath/ath9k/wmi.c 		spin_unlock_irqrestore(&wmi->wmi_lock, flags);
wmi               169 drivers/net/wireless/ath/ath9k/wmi.c 			ieee80211_queue_work(wmi->drv_priv->hw,
wmi               170 drivers/net/wireless/ath/ath9k/wmi.c 					     &wmi->drv_priv->fatal_work);
wmi               200 drivers/net/wireless/ath/ath9k/wmi.c static void ath9k_wmi_rsp_callback(struct wmi *wmi, struct sk_buff *skb)
wmi               204 drivers/net/wireless/ath/ath9k/wmi.c 	if (wmi->cmd_rsp_buf != NULL && wmi->cmd_rsp_len != 0)
wmi               205 drivers/net/wireless/ath/ath9k/wmi.c 		memcpy(wmi->cmd_rsp_buf, skb->data, wmi->cmd_rsp_len);
wmi               207 drivers/net/wireless/ath/ath9k/wmi.c 	complete(&wmi->cmd_wait);
wmi               213 drivers/net/wireless/ath/ath9k/wmi.c 	struct wmi *wmi = priv;
wmi               218 drivers/net/wireless/ath/ath9k/wmi.c 	if (unlikely(wmi->stopped))
wmi               225 drivers/net/wireless/ath/ath9k/wmi.c 		spin_lock_irqsave(&wmi->wmi_lock, flags);
wmi               226 drivers/net/wireless/ath/ath9k/wmi.c 		__skb_queue_tail(&wmi->wmi_event_queue, skb);
wmi               227 drivers/net/wireless/ath/ath9k/wmi.c 		spin_unlock_irqrestore(&wmi->wmi_lock, flags);
wmi               228 drivers/net/wireless/ath/ath9k/wmi.c 		tasklet_schedule(&wmi->wmi_event_tasklet);
wmi               233 drivers/net/wireless/ath/ath9k/wmi.c 	spin_lock_irqsave(&wmi->wmi_lock, flags);
wmi               234 drivers/net/wireless/ath/ath9k/wmi.c 	if (be16_to_cpu(hdr->seq_no) != wmi->last_seq_id) {
wmi               235 drivers/net/wireless/ath/ath9k/wmi.c 		spin_unlock_irqrestore(&wmi->wmi_lock, flags);
wmi               238 drivers/net/wireless/ath/ath9k/wmi.c 	spin_unlock_irqrestore(&wmi->wmi_lock, flags);
wmi               241 drivers/net/wireless/ath/ath9k/wmi.c 	ath9k_wmi_rsp_callback(wmi, skb);
wmi               253 drivers/net/wireless/ath/ath9k/wmi.c int ath9k_wmi_connect(struct htc_target *htc, struct wmi *wmi,
wmi               259 drivers/net/wireless/ath/ath9k/wmi.c 	wmi->htc = htc;
wmi               263 drivers/net/wireless/ath/ath9k/wmi.c 	connect.ep_callbacks.priv = wmi;
wmi               268 drivers/net/wireless/ath/ath9k/wmi.c 	ret = htc_connect_service(htc, &connect, &wmi->ctrl_epid);
wmi               272 drivers/net/wireless/ath/ath9k/wmi.c 	*wmi_ctrl_epid = wmi->ctrl_epid;
wmi               277 drivers/net/wireless/ath/ath9k/wmi.c static int ath9k_wmi_cmd_issue(struct wmi *wmi,
wmi               286 drivers/net/wireless/ath/ath9k/wmi.c 	hdr->seq_no = cpu_to_be16(++wmi->tx_seq_id);
wmi               288 drivers/net/wireless/ath/ath9k/wmi.c 	spin_lock_irqsave(&wmi->wmi_lock, flags);
wmi               289 drivers/net/wireless/ath/ath9k/wmi.c 	wmi->last_seq_id = wmi->tx_seq_id;
wmi               290 drivers/net/wireless/ath/ath9k/wmi.c 	spin_unlock_irqrestore(&wmi->wmi_lock, flags);
wmi               292 drivers/net/wireless/ath/ath9k/wmi.c 	return htc_send_epid(wmi->htc, skb, wmi->ctrl_epid);
wmi               295 drivers/net/wireless/ath/ath9k/wmi.c int ath9k_wmi_cmd(struct wmi *wmi, enum wmi_cmd_id cmd_id,
wmi               300 drivers/net/wireless/ath/ath9k/wmi.c 	struct ath_hw *ah = wmi->drv_priv->ah;
wmi               321 drivers/net/wireless/ath/ath9k/wmi.c 	mutex_lock(&wmi->op_mutex);
wmi               324 drivers/net/wireless/ath/ath9k/wmi.c 	if (unlikely(wmi->stopped)) {
wmi               330 drivers/net/wireless/ath/ath9k/wmi.c 	wmi->cmd_rsp_buf = rsp_buf;
wmi               331 drivers/net/wireless/ath/ath9k/wmi.c 	wmi->cmd_rsp_len = rsp_len;
wmi               333 drivers/net/wireless/ath/ath9k/wmi.c 	ret = ath9k_wmi_cmd_issue(wmi, skb, cmd_id, cmd_len);
wmi               337 drivers/net/wireless/ath/ath9k/wmi.c 	time_left = wait_for_completion_timeout(&wmi->cmd_wait, timeout);
wmi               341 drivers/net/wireless/ath/ath9k/wmi.c 		mutex_unlock(&wmi->op_mutex);
wmi               345 drivers/net/wireless/ath/ath9k/wmi.c 	mutex_unlock(&wmi->op_mutex);
wmi               351 drivers/net/wireless/ath/ath9k/wmi.c 	mutex_unlock(&wmi->op_mutex);
wmi               181 drivers/net/wireless/ath/ath9k/wmi.h struct wmi *ath9k_init_wmi(struct ath9k_htc_priv *priv);
wmi               182 drivers/net/wireless/ath/ath9k/wmi.h int ath9k_wmi_connect(struct htc_target *htc, struct wmi *wmi,
wmi               184 drivers/net/wireless/ath/ath9k/wmi.h int ath9k_wmi_cmd(struct wmi *wmi, enum wmi_cmd_id cmd_id,
wmi               196 drivers/net/wireless/ath/ath9k/wmi.h 		ret = ath9k_wmi_cmd(priv->wmi, _wmi_cmd, NULL, 0,	\
wmi               203 drivers/net/wireless/ath/ath9k/wmi.h 		ret = ath9k_wmi_cmd(priv->wmi, _wmi_cmd,		\
wmi               342 drivers/net/wireless/ath/wil6210/cfg80211.c 		enum wmi_network_type wmi;
wmi               355 drivers/net/wireless/ath/wil6210/cfg80211.c 			return __nl2wmi[i].wmi;
wmi               450 drivers/net/wireless/ath/wil6210/cfg80211.c 		struct wmi_cmd_hdr wmi;
wmi              2834 drivers/net/wireless/ath/wil6210/cfg80211.c 		struct wmi_cmd_hdr wmi;
wmi              2956 drivers/net/wireless/ath/wil6210/cfg80211.c 		struct wmi_cmd_hdr wmi;
wmi              3066 drivers/net/wireless/ath/wil6210/cfg80211.c 		struct wmi_cmd_hdr wmi;
wmi              3148 drivers/net/wireless/ath/wil6210/cfg80211.c 		struct wmi_cmd_hdr wmi;
wmi              1020 drivers/net/wireless/ath/wil6210/debugfs.c 	struct wmi_cmd_hdr *wmi;
wmi              1029 drivers/net/wireless/ath/wil6210/debugfs.c 	wmi = kmalloc(len, GFP_KERNEL);
wmi              1030 drivers/net/wireless/ath/wil6210/debugfs.c 	if (!wmi)
wmi              1033 drivers/net/wireless/ath/wil6210/debugfs.c 	rc = simple_write_to_buffer(wmi, len, ppos, buf, len);
wmi              1035 drivers/net/wireless/ath/wil6210/debugfs.c 		kfree(wmi);
wmi              1039 drivers/net/wireless/ath/wil6210/debugfs.c 	cmd = (cmdlen > 0) ? &wmi[1] : NULL;
wmi              1040 drivers/net/wireless/ath/wil6210/debugfs.c 	cmdid = le16_to_cpu(wmi->command_id);
wmi              1043 drivers/net/wireless/ath/wil6210/debugfs.c 	kfree(wmi);
wmi              1300 drivers/net/wireless/ath/wil6210/debugfs.c 		struct wmi_cmd_hdr wmi;
wmi               479 drivers/net/wireless/ath/wil6210/main.c 		struct wmi_cmd_hdr wmi;
wmi                41 drivers/net/wireless/ath/wil6210/trace.h 	TP_PROTO(struct wmi_cmd_hdr *wmi, void *buf, u16 buf_len),
wmi                43 drivers/net/wireless/ath/wil6210/trace.h 	TP_ARGS(wmi, buf, buf_len),
wmi                54 drivers/net/wireless/ath/wil6210/trace.h 		__entry->mid = wmi->mid;
wmi                55 drivers/net/wireless/ath/wil6210/trace.h 		__entry->command_id = le16_to_cpu(wmi->command_id);
wmi                56 drivers/net/wireless/ath/wil6210/trace.h 		__entry->fw_timestamp = le32_to_cpu(wmi->fw_timestamp);
wmi                69 drivers/net/wireless/ath/wil6210/trace.h 	TP_PROTO(struct wmi_cmd_hdr *wmi, void *buf, u16 buf_len),
wmi                70 drivers/net/wireless/ath/wil6210/trace.h 	TP_ARGS(wmi, buf, buf_len)
wmi                74 drivers/net/wireless/ath/wil6210/trace.h 	TP_PROTO(struct wmi_cmd_hdr *wmi, void *buf, u16 buf_len),
wmi                75 drivers/net/wireless/ath/wil6210/trace.h 	TP_ARGS(wmi, buf, buf_len)
wmi              1191 drivers/net/wireless/ath/wil6210/txrx.c 		struct wmi_cmd_hdr wmi;
wmi              1294 drivers/net/wireless/ath/wil6210/txrx.c 		struct wmi_cmd_hdr wmi;
wmi              1368 drivers/net/wireless/ath/wil6210/txrx.c 		struct wmi_cmd_hdr wmi;
wmi               501 drivers/net/wireless/ath/wil6210/wil6210.h 		struct wmi_cmd_hdr wmi;
wmi               648 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi               653 drivers/net/wireless/ath/wil6210/wmi.c 			.len = cpu_to_le16(sizeof(cmd.wmi) + len),
wmi               655 drivers/net/wireless/ath/wil6210/wmi.c 		.wmi = {
wmi               754 drivers/net/wireless/ath/wil6210/wmi.c 	trace_wil6210_wmi_cmd(&cmd.wmi, buf, len);
wmi              1948 drivers/net/wireless/ath/wil6210/wmi.c 					     event.wmi) + len, 4),
wmi              1954 drivers/net/wireless/ath/wil6210/wmi.c 		cmd = (void *)&evt->event.wmi;
wmi              1962 drivers/net/wireless/ath/wil6210/wmi.c 			struct wmi_cmd_hdr *wmi = &evt->event.wmi;
wmi              1963 drivers/net/wireless/ath/wil6210/wmi.c 			u16 id = le16_to_cpu(wmi->command_id);
wmi              1964 drivers/net/wireless/ath/wil6210/wmi.c 			u8 mid = wmi->mid;
wmi              1965 drivers/net/wireless/ath/wil6210/wmi.c 			u32 tstamp = le32_to_cpu(wmi->fw_timestamp);
wmi              1979 drivers/net/wireless/ath/wil6210/wmi.c 					memcpy(wil->reply_buf, wmi,
wmi              1992 drivers/net/wireless/ath/wil6210/wmi.c 				    eventid2name(id), id, wmi->mid, tstamp);
wmi              1993 drivers/net/wireless/ath/wil6210/wmi.c 			trace_wil6210_wmi_event(wmi, &wmi[1],
wmi              1994 drivers/net/wireless/ath/wil6210/wmi.c 						len - sizeof(*wmi));
wmi              2119 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi              2164 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi              2206 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi              2282 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi              2321 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi              2351 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi              2374 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi              2398 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi              2570 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi              2613 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi              2670 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi              2702 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi              2740 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi              2839 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi              2895 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi              2930 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi              2965 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi              2997 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi              3091 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi              3178 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi              3208 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi              3261 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi              3309 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr *wmi = (void *)(&hdr[1]);
wmi              3310 drivers/net/wireless/ath/wil6210/wmi.c 		void *evt_data = (void *)(&wmi[1]);
wmi              3311 drivers/net/wireless/ath/wil6210/wmi.c 		u16 id = le16_to_cpu(wmi->command_id);
wmi              3312 drivers/net/wireless/ath/wil6210/wmi.c 		u8 mid = wmi->mid;
wmi              3349 drivers/net/wireless/ath/wil6210/wmi.c 					     len - sizeof(*wmi));
wmi              3358 drivers/net/wireless/ath/wil6210/wmi.c 					  len - sizeof(*wmi))) {
wmi              3534 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi              3575 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi              3606 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi              3655 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi              3972 drivers/net/wireless/ath/wil6210/wmi.c 		struct wmi_cmd_hdr wmi;
wmi               564 drivers/platform/x86/dell-smbios-base.c 	int ret, wmi, smm;
wmi               588 drivers/platform/x86/dell-smbios-base.c 	wmi = init_dell_smbios_wmi();
wmi               589 drivers/platform/x86/dell-smbios-base.c 	if (wmi)
wmi               590 drivers/platform/x86/dell-smbios-base.c 		pr_debug("Failed to initialize WMI backend: %d\n", wmi);
wmi               594 drivers/platform/x86/dell-smbios-base.c 	if (wmi && smm) {
wmi               596 drivers/platform/x86/dell-smbios-base.c 			wmi, smm);
wmi               277 drivers/platform/x86/dell-smbios-wmi.c MODULE_DEVICE_TABLE(wmi, dell_smbios_wmi_id_table);
wmi               203 drivers/platform/x86/dell-wmi-descriptor.c MODULE_DEVICE_TABLE(wmi, dell_wmi_descriptor_id_table);
wmi               732 drivers/platform/x86/dell-wmi.c MODULE_DEVICE_TABLE(wmi, dell_wmi_id_table);
wmi               204 drivers/platform/x86/huawei-wmi.c MODULE_DEVICE_TABLE(wmi, huawei_wmi_id_table);
wmi                92 drivers/platform/x86/intel-wmi-thunderbolt.c MODULE_DEVICE_TABLE(wmi, intel_wmi_thunderbolt_id_table);
wmi               114 drivers/platform/x86/wmi-bmof.c MODULE_DEVICE_TABLE(wmi, wmi_bmof_id_table);
wmi               717 drivers/platform/x86/wmi.c ATTRIBUTE_GROUPS(wmi);
wmi                89 drivers/platform/x86/xiaomi-wmi.c MODULE_DEVICE_TABLE(wmi, xiaomi_wmi_id_table);