Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 25 of 174) sorted by relevance

1234567

/wlan-driver/qca-wifi-host-cmn/umac/mlme/mlme_utils/
Dwlan_vdev_mlme_ser_if.c36 wlan_vdev_mlme_ser_start_bss(struct wlan_serialization_command *cmd) in wlan_vdev_mlme_ser_start_bss() argument
40 if (!cmd || !cmd->vdev) { in wlan_vdev_mlme_ser_start_bss()
45 if (!wlan_ser_is_vdev_queue_enabled(cmd->vdev)) in wlan_vdev_mlme_ser_start_bss()
57 cmd->vdev, in wlan_vdev_mlme_ser_start_bss()
61 if (wlan_serialization_is_cmd_present_in_active_queue(NULL, cmd)) { in wlan_vdev_mlme_ser_start_bss()
62 vdev_mlme = wlan_vdev_mlme_get_cmpt_obj(cmd->vdev); in wlan_vdev_mlme_ser_start_bss()
70 return wlan_serialization_request(cmd); in wlan_vdev_mlme_ser_start_bss()
74 wlan_vdev_mlme_ser_stop_bss(struct wlan_serialization_command *cmd) in wlan_vdev_mlme_ser_stop_bss() argument
79 if (!cmd || !cmd->vdev) { in wlan_vdev_mlme_ser_stop_bss()
84 if (!wlan_ser_is_vdev_queue_enabled(cmd->vdev)) in wlan_vdev_mlme_ser_stop_bss()
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/serialization/src/
Dwlan_serialization_internal.c40 struct wlan_serialization_command *cmd, in wlan_serialization_is_cmd_present_queue() argument
50 if (!cmd) { in wlan_serialization_is_cmd_present_queue()
55 cmd_type = cmd->cmd_type; in wlan_serialization_is_cmd_present_queue()
58 wlan_serialization_get_pdev_from_cmd(cmd)); in wlan_serialization_is_cmd_present_queue()
66 wlan_serialization_get_vdev_from_cmd(cmd)); in wlan_serialization_is_cmd_present_queue()
82 status = wlan_serialization_is_cmd_present_in_given_queue(queue, cmd, in wlan_serialization_is_cmd_present_queue()
90 wlan_serialization_enqueue_cmd(struct wlan_serialization_command *cmd, in wlan_serialization_enqueue_cmd() argument
130 if (!cmd) { in wlan_serialization_enqueue_cmd()
135 if (!cmd->cmd_cb) { in wlan_serialization_enqueue_cmd()
137 cmd->cmd_type, in wlan_serialization_enqueue_cmd()
[all …]
Dwlan_serialization_utf.c55 wlan_ser_utf_add_cmd(struct wlan_serialization_command *cmd) in wlan_ser_utf_add_cmd() argument
58 struct wlan_ser_utf_data *data = cmd->umac_cmd; in wlan_ser_utf_add_cmd()
60 cmd->cmd_timeout_duration = WLAN_SER_UTF_TEST_CMD_TIMEOUT_MS; in wlan_ser_utf_add_cmd()
61 cmd->source = WLAN_UMAC_COMP_SERIALIZATION; in wlan_ser_utf_add_cmd()
62 cmd->cmd_cb = wlan_ser_utf_cb; in wlan_ser_utf_add_cmd()
64 status = wlan_serialization_request(cmd); in wlan_ser_utf_add_cmd()
66 cmd->cmd_type, SER_UTF_BLOCK_STR(cmd->is_blocking), data->str, in wlan_ser_utf_add_cmd()
77 struct wlan_serialization_command cmd; in wlan_ser_utf_add_scan_cmd() local
79 cmd.vdev = vdev; in wlan_ser_utf_add_scan_cmd()
80 cmd.cmd_id = cmd_id; in wlan_ser_utf_add_scan_cmd()
[all …]
Dwlan_serialization_non_scan.c35 struct wlan_serialization_command *cmd) in wlan_serialization_is_non_scan_pending_queue_empty() argument
42 vdev = wlan_serialization_get_vdev_from_cmd(cmd); in wlan_serialization_is_non_scan_pending_queue_empty()
61 struct wlan_serialization_command *cmd) in wlan_serialization_is_active_non_scan_cmd_allowed() argument
72 wlan_serialization_get_pdev_from_cmd(cmd)); in wlan_serialization_is_active_non_scan_cmd_allowed()
75 cmd->cmd_type); in wlan_serialization_is_active_non_scan_cmd_allowed()
85 if (cmd->is_blocking) { in wlan_serialization_is_active_non_scan_cmd_allowed()
111 vdev_id = wlan_vdev_get_id(cmd->vdev); in wlan_serialization_is_active_non_scan_cmd_allowed()
140 cmd_list->cmd.cmd_type, cmd_list->cmd.cmd_id); in wlan_ser_add_non_scan_cmd()
148 cmd_list->cmd.cmd_type, cmd_list->cmd.cmd_id); in wlan_ser_add_non_scan_cmd()
155 cmd_list->cmd.cmd_type, cmd_list->cmd.cmd_id); in wlan_ser_add_non_scan_cmd()
[all …]
Dwlan_serialization_api.c38 struct wlan_serialization_command *cmd) in wlan_serialization_is_cmd_present_in_pending_queue() argument
45 if (!cmd) { in wlan_serialization_is_cmd_present_in_pending_queue()
50 pdev = wlan_serialization_get_pdev_from_cmd(cmd); in wlan_serialization_is_cmd_present_in_pending_queue()
63 cmd->cmd_type); in wlan_serialization_is_cmd_present_in_pending_queue()
71 status = wlan_serialization_is_cmd_present_queue(cmd, false); in wlan_serialization_is_cmd_present_in_pending_queue()
137 struct wlan_serialization_command *cmd) in wlan_serialization_is_cmd_present_in_active_queue() argument
144 if (!cmd) { in wlan_serialization_is_cmd_present_in_active_queue()
149 pdev = wlan_serialization_get_pdev_from_cmd(cmd); in wlan_serialization_is_cmd_present_in_active_queue()
162 cmd->cmd_type); in wlan_serialization_is_cmd_present_in_active_queue()
170 status = wlan_serialization_is_cmd_present_queue(cmd, true); in wlan_serialization_is_cmd_present_in_active_queue()
[all …]
Dwlan_serialization_utils.c37 struct wlan_serialization_command *cmd, in wlan_ser_update_cmd_history() argument
44 wlan_serialization_get_pdev_from_cmd(struct wlan_serialization_command *cmd) in wlan_serialization_get_pdev_from_cmd() argument
48 if (!cmd) { in wlan_serialization_get_pdev_from_cmd()
52 if (!cmd->vdev) { in wlan_serialization_get_pdev_from_cmd()
56 pdev = wlan_vdev_get_pdev(cmd->vdev); in wlan_serialization_get_pdev_from_cmd()
62 wlan_serialization_get_psoc_from_cmd(struct wlan_serialization_command *cmd) in wlan_serialization_get_psoc_from_cmd() argument
66 if (!cmd) { in wlan_serialization_get_psoc_from_cmd()
70 if (!cmd->vdev) { in wlan_serialization_get_psoc_from_cmd()
74 psoc = wlan_vdev_get_psoc(cmd->vdev); in wlan_serialization_get_psoc_from_cmd()
80 wlan_serialization_get_vdev_from_cmd(struct wlan_serialization_command *cmd) in wlan_serialization_get_vdev_from_cmd() argument
[all …]
Dwlan_serialization_scan.c58 struct wlan_serialization_command *cmd) in wlan_serialization_is_scan_pending_queue_empty() argument
65 pdev = wlan_serialization_get_pdev_from_cmd(cmd); in wlan_serialization_is_scan_pending_queue_empty()
78 struct wlan_serialization_command *cmd) in wlan_serialization_is_active_scan_cmd_allowed() argument
85 pdev = wlan_serialization_get_pdev_from_cmd(cmd); in wlan_serialization_is_active_scan_cmd_allowed()
110 struct wlan_serialization_command **cmd, in wlan_ser_match_cmd_scan_id() argument
119 if ((cmd_list->cmd.cmd_id == scan_id) && in wlan_ser_match_cmd_scan_id()
120 (cmd_list->cmd.vdev == vdev)) { in wlan_ser_match_cmd_scan_id()
121 *cmd = &cmd_list->cmd; in wlan_ser_match_cmd_scan_id()
149 struct wlan_serialization_command *cmd, in wlan_ser_remove_scan_cmd() argument
155 ser_pdev_obj, pcmd_list, cmd, is_active_cmd); in wlan_ser_remove_scan_cmd()
[all …]
/wlan-driver/qca-wifi-host-cmn/wmi/src/
Dwmi_unified_pmo_tlv.c36 wmi_d0_wow_enable_disable_cmd_fixed_param *cmd; in send_d0wow_enable_cmd_tlv() local
47 cmd = (wmi_d0_wow_enable_disable_cmd_fixed_param *) wmi_buf_data(buf); in send_d0wow_enable_cmd_tlv()
48 WMITLV_SET_HDR(&cmd->tlv_header, in send_d0wow_enable_cmd_tlv()
53 cmd->enable = true; in send_d0wow_enable_cmd_tlv()
74 wmi_d0_wow_enable_disable_cmd_fixed_param *cmd; in send_d0wow_disable_cmd_tlv() local
85 cmd = (wmi_d0_wow_enable_disable_cmd_fixed_param *) wmi_buf_data(buf); in send_d0wow_disable_cmd_tlv()
86 WMITLV_SET_HDR(&cmd->tlv_header, in send_d0wow_disable_cmd_tlv()
91 cmd->enable = false; in send_d0wow_disable_cmd_tlv()
125 WMI_WOW_ADD_DEL_EVT_CMD_fixed_param *cmd; in send_add_wow_wakeup_event_cmd_tlv() local
135 cmd = (WMI_WOW_ADD_DEL_EVT_CMD_fixed_param *) wmi_buf_data(buf); in send_add_wow_wakeup_event_cmd_tlv()
[all …]
Dwmi_unified_extscan_tlv.c38 wmi_passpoint_config_cmd_fixed_param *cmd; in send_reset_passpoint_network_list_cmd_tlv() local
43 len = sizeof(*cmd); in send_reset_passpoint_network_list_cmd_tlv()
50 cmd = (wmi_passpoint_config_cmd_fixed_param *) wmi_buf_data(buf); in send_reset_passpoint_network_list_cmd_tlv()
52 WMITLV_SET_HDR(&cmd->tlv_header, in send_reset_passpoint_network_list_cmd_tlv()
56 cmd->id = WMI_PASSPOINT_NETWORK_ID_WILDCARD; in send_reset_passpoint_network_list_cmd_tlv()
83 wmi_passpoint_config_cmd_fixed_param *cmd; in send_set_passpoint_network_list_cmd_tlv() local
89 len = sizeof(*cmd); in send_set_passpoint_network_list_cmd_tlv()
97 cmd = (wmi_passpoint_config_cmd_fixed_param *) in send_set_passpoint_network_list_cmd_tlv()
100 WMITLV_SET_HDR(&cmd->tlv_header, in send_set_passpoint_network_list_cmd_tlv()
104 cmd->id = req->networks[i].id; in send_set_passpoint_network_list_cmd_tlv()
[all …]
Dwmi_unified_sta_tlv.c46 WMI_PMF_OFFLOAD_SET_SA_QUERY_CMD_fixed_param *cmd; in send_set_sta_sa_query_param_cmd_tlv() local
49 len = sizeof(*cmd); in send_set_sta_sa_query_param_cmd_tlv()
55 cmd = (WMI_PMF_OFFLOAD_SET_SA_QUERY_CMD_fixed_param *)wmi_buf_data(buf); in send_set_sta_sa_query_param_cmd_tlv()
56 WMITLV_SET_HDR(&cmd->tlv_header, in send_set_sta_sa_query_param_cmd_tlv()
61 cmd->vdev_id = vdev_id; in send_set_sta_sa_query_param_cmd_tlv()
62 cmd->sa_query_max_retry_count = max_retries; in send_set_sta_sa_query_param_cmd_tlv()
63 cmd->sa_query_retry_interval = retry_interval; in send_set_sta_sa_query_param_cmd_tlv()
68 wmi_mtrace(WMI_PMF_OFFLOAD_SET_SA_QUERY_CMDID, cmd->vdev_id, 0); in send_set_sta_sa_query_param_cmd_tlv()
94 WMI_STA_KEEPALIVE_CMD_fixed_param *cmd; in send_set_sta_keep_alive_cmd_tlv() local
102 len = sizeof(*cmd) + sizeof(*arp_rsp); in send_set_sta_keep_alive_cmd_tlv()
[all …]
Dwmi_unified_twt_tlv.c30 wmi_twt_enable_cmd_fixed_param *cmd; in send_twt_enable_cmd_tlv() local
34 buf = wmi_buf_alloc(wmi_handle, sizeof(*cmd)); in send_twt_enable_cmd_tlv()
40 cmd = (wmi_twt_enable_cmd_fixed_param *)wmi_buf_data(buf); in send_twt_enable_cmd_tlv()
41 WMITLV_SET_HDR(&cmd->tlv_header, in send_twt_enable_cmd_tlv()
46 cmd->pdev_id = in send_twt_enable_cmd_tlv()
50 cmd->sta_cong_timer_ms = params->sta_cong_timer_ms; in send_twt_enable_cmd_tlv()
51 cmd->mbss_support = params->mbss_support; in send_twt_enable_cmd_tlv()
52 cmd->default_slot_size = params->default_slot_size; in send_twt_enable_cmd_tlv()
53 cmd->congestion_thresh_setup = params->congestion_thresh_setup; in send_twt_enable_cmd_tlv()
54 cmd->congestion_thresh_teardown = params->congestion_thresh_teardown; in send_twt_enable_cmd_tlv()
[all …]
Dwmi_unified_vdev_tlv.c31 wmi_vdev_config_ratemask_cmd_fixed_param *cmd; in send_vdev_config_ratemask_cmd_tlv() local
33 int32_t len = sizeof(*cmd); in send_vdev_config_ratemask_cmd_tlv()
40 cmd = (wmi_vdev_config_ratemask_cmd_fixed_param *)wmi_buf_data(buf); in send_vdev_config_ratemask_cmd_tlv()
41 WMITLV_SET_HDR(&cmd->tlv_header, in send_vdev_config_ratemask_cmd_tlv()
45 cmd->vdev_id = param->vdev_id; in send_vdev_config_ratemask_cmd_tlv()
46 cmd->type = param->type; in send_vdev_config_ratemask_cmd_tlv()
47 cmd->mask_lower32 = param->lower32; in send_vdev_config_ratemask_cmd_tlv()
48 cmd->mask_higher32 = param->higher32; in send_vdev_config_ratemask_cmd_tlv()
49 cmd->mask_lower32_2 = param->lower32_2; in send_vdev_config_ratemask_cmd_tlv()
50 cmd->mask_higher32_2 = param->higher32_2; in send_vdev_config_ratemask_cmd_tlv()
[all …]
Dwmi_unified_apf_tlv.c35 wmi_bpf_set_vdev_active_mode_cmd_fixed_param *cmd; in wmi_send_set_active_apf_mode_cmd_tlv() local
42 buf = wmi_buf_alloc(wmi_handle, sizeof(*cmd)); in wmi_send_set_active_apf_mode_cmd_tlv()
49 cmd = (wmi_bpf_set_vdev_active_mode_cmd_fixed_param *)wmi_buf_data(buf); in wmi_send_set_active_apf_mode_cmd_tlv()
50 WMITLV_SET_HDR(&cmd->tlv_header, tag_id, tlv_len); in wmi_send_set_active_apf_mode_cmd_tlv()
53 cmd->vdev_id = vdev_id; in wmi_send_set_active_apf_mode_cmd_tlv()
54 cmd->uc_mode = ucast_mode; in wmi_send_set_active_apf_mode_cmd_tlv()
55 cmd->mcbc_mode = mcast_bcast_mode; in wmi_send_set_active_apf_mode_cmd_tlv()
58 status = wmi_unified_cmd_send(wmi_handle, buf, sizeof(*cmd), in wmi_send_set_active_apf_mode_cmd_tlv()
74 wmi_bpf_set_vdev_enable_cmd_fixed_param *cmd; in wmi_send_apf_enable_cmd_tlv() local
77 buf = wmi_buf_alloc(wmi_handle, sizeof(*cmd)); in wmi_send_apf_enable_cmd_tlv()
[all …]
Dwmi_unified_gpio_tlv.c134 wmi_gpio_config_cmd_fixed_param *cmd; in send_gpio_config_cmd_tlv() local
139 len = sizeof(*cmd); in send_gpio_config_cmd_tlv()
152 cmd = (wmi_gpio_config_cmd_fixed_param *)wmi_buf_data(buf); in send_gpio_config_cmd_tlv()
153 WMITLV_SET_HDR(&cmd->tlv_header, in send_gpio_config_cmd_tlv()
157 cmd->gpio_num = param->pin_num; in send_gpio_config_cmd_tlv()
158 cmd->input = convert_gpio_direction(param->pin_dir); in send_gpio_config_cmd_tlv()
159 cmd->pull_type = convert_gpio_pull_type(param->pin_pull_type); in send_gpio_config_cmd_tlv()
160 cmd->intr_mode = convert_gpio_interrupt_mode(param->pin_intr_mode); in send_gpio_config_cmd_tlv()
161 cmd->mux_config_val = param->mux_config_val; in send_gpio_config_cmd_tlv()
162 cmd->drive = param->drive; in send_gpio_config_cmd_tlv()
[all …]
Dwmi_unified_fwol_tlv.c41 wmi_set_elna_bypass_cmd_fixed_param *cmd; in send_set_elna_bypass_cmd_tlv() local
42 uint16_t len = sizeof(*cmd); in send_set_elna_bypass_cmd_tlv()
51 cmd = (wmi_set_elna_bypass_cmd_fixed_param *)wmi_buf_data(buf); in send_set_elna_bypass_cmd_tlv()
52 WMITLV_SET_HDR(&cmd->tlv_header, in send_set_elna_bypass_cmd_tlv()
56 cmd->vdev_id = req->vdev_id; in send_set_elna_bypass_cmd_tlv()
57 cmd->en_dis = req->elna_mode; in send_set_elna_bypass_cmd_tlv()
83 wmi_get_elna_bypass_cmd_fixed_param *cmd; in send_get_elna_bypass_cmd_tlv() local
84 uint16_t len = sizeof(*cmd); in send_get_elna_bypass_cmd_tlv()
93 cmd = (wmi_get_elna_bypass_cmd_fixed_param *)wmi_buf_data(buf); in send_get_elna_bypass_cmd_tlv()
94 WMITLV_SET_HDR(&cmd->tlv_header, in send_get_elna_bypass_cmd_tlv()
[all …]
Dwmi_unified_wds_tlv.c35 wmi_peer_add_wds_entry_cmd_fixed_param *cmd; in send_peer_add_wds_entry_cmd_tlv() local
37 int len = sizeof(*cmd); in send_peer_add_wds_entry_cmd_tlv()
44 cmd = (wmi_peer_add_wds_entry_cmd_fixed_param *)wmi_buf_data(buf); in send_peer_add_wds_entry_cmd_tlv()
45 WMITLV_SET_HDR(&cmd->tlv_header, in send_peer_add_wds_entry_cmd_tlv()
49 WMI_CHAR_ARRAY_TO_MAC_ADDR(param->dest_addr, &cmd->wds_macaddr); in send_peer_add_wds_entry_cmd_tlv()
50 WMI_CHAR_ARRAY_TO_MAC_ADDR(param->peer_addr, &cmd->peer_macaddr); in send_peer_add_wds_entry_cmd_tlv()
52 cmd->flags = (param->flags & WMI_HOST_WDS_FLAG_STATIC) ? in send_peer_add_wds_entry_cmd_tlv()
54 cmd->vdev_id = param->vdev_id; in send_peer_add_wds_entry_cmd_tlv()
56 wmi_mtrace(WMI_PEER_ADD_WDS_ENTRY_CMDID, cmd->vdev_id, 0); in send_peer_add_wds_entry_cmd_tlv()
76 wmi_peer_remove_wds_entry_cmd_fixed_param *cmd; in send_peer_del_wds_entry_cmd_tlv() local
[all …]
Dwmi_unified_tlv.c950 wmi_vdev_create_cmd_fixed_param * cmd, in copy_vdev_create_pdev_id() argument
953 cmd->pdev_id = wmi_handle->ops->convert_pdev_id_host_to_target( in copy_vdev_create_pdev_id()
1006 wmi_vdev_create_cmd_fixed_param *cmd; in send_vdev_create_cmd_tlv() local
1008 int32_t len = sizeof(*cmd); in send_vdev_create_cmd_tlv()
1021 cmd = (wmi_vdev_create_cmd_fixed_param *) wmi_buf_data(buf); in send_vdev_create_cmd_tlv()
1022 WMITLV_SET_HDR(&cmd->tlv_header, in send_vdev_create_cmd_tlv()
1026 cmd->vdev_id = param->vdev_id; in send_vdev_create_cmd_tlv()
1027 cmd->vdev_type = param->type; in send_vdev_create_cmd_tlv()
1028 cmd->vdev_subtype = param->subtype; in send_vdev_create_cmd_tlv()
1029 cmd->flags = param->mbssid_flags; in send_vdev_create_cmd_tlv()
[all …]
Dwmi_unified_p2p_tlv.c35 wmi_p2p_set_noa_cmd_fixed_param *cmd; in send_set_p2pgo_noa_req_cmd_tlv() local
43 len = sizeof(*cmd) + WMI_TLV_HDR_SIZE + sizeof(*noa_discriptor); in send_set_p2pgo_noa_req_cmd_tlv()
51 cmd = (wmi_p2p_set_noa_cmd_fixed_param *)buf_ptr; in send_set_p2pgo_noa_req_cmd_tlv()
52 WMITLV_SET_HDR(&cmd->tlv_header, in send_set_p2pgo_noa_req_cmd_tlv()
57 cmd->vdev_id = noa->session_id; in send_set_p2pgo_noa_req_cmd_tlv()
58 cmd->enable = (duration) ? true : false; in send_set_p2pgo_noa_req_cmd_tlv()
59 cmd->num_noa = 1; in send_set_p2pgo_noa_req_cmd_tlv()
76 cmd->vdev_id, noa->count, noa_discriptor->duration, in send_set_p2pgo_noa_req_cmd_tlv()
78 wmi_mtrace(WMI_FWTEST_P2P_SET_NOA_PARAM_CMDID, cmd->vdev_id, 0); in send_set_p2pgo_noa_req_cmd_tlv()
100 wmi_p2p_set_oppps_cmd_fixed_param *cmd; in send_set_p2pgo_oppps_req_cmd_tlv() local
[all …]
Dwmi_unified_ocb_tlv.c37 wmi_ocb_set_utc_time_cmd_fixed_param *cmd; in send_ocb_set_utc_time_cmd_tlv() local
42 len = sizeof(*cmd); in send_ocb_set_utc_time_cmd_tlv()
49 cmd = (wmi_ocb_set_utc_time_cmd_fixed_param *)buf_ptr; in send_ocb_set_utc_time_cmd_tlv()
50 WMITLV_SET_HDR(&cmd->tlv_header, in send_ocb_set_utc_time_cmd_tlv()
53 cmd->vdev_id = utc->vdev_id; in send_ocb_set_utc_time_cmd_tlv()
56 WMI_UTC_TIME_SET(cmd, i, utc->utc_time[i]); in send_ocb_set_utc_time_cmd_tlv()
59 WMI_TIME_ERROR_SET(cmd, i, utc->time_error[i]); in send_ocb_set_utc_time_cmd_tlv()
61 wmi_mtrace(WMI_OCB_SET_UTC_TIME_CMDID, cmd->vdev_id, 0); in send_ocb_set_utc_time_cmd_tlv()
84 wmi_ocb_start_timing_advert_cmd_fixed_param *cmd; in send_ocb_start_timing_advert_cmd_tlv() local
89 len = sizeof(*cmd) + in send_ocb_start_timing_advert_cmd_tlv()
[all …]
Dwmi_unified_dbr_tlv.c37 wmi_dma_ring_cfg_req_fixed_param *cmd; in send_dbr_cfg_cmd_tlv() local
39 int32_t len = sizeof(*cmd); in send_dbr_cfg_cmd_tlv()
41 buf = wmi_buf_alloc(wmi_handle, sizeof(*cmd)); in send_dbr_cfg_cmd_tlv()
47 cmd = (wmi_dma_ring_cfg_req_fixed_param *)wmi_buf_data(buf); in send_dbr_cfg_cmd_tlv()
49 WMITLV_SET_HDR(&cmd->tlv_header, in send_dbr_cfg_cmd_tlv()
53 cmd->pdev_id = wmi_handle->ops->convert_host_pdev_id_to_target( in send_dbr_cfg_cmd_tlv()
56 cmd->mod_id = cfg->mod_id; in send_dbr_cfg_cmd_tlv()
57 cmd->base_paddr_lo = cfg->base_paddr_lo; in send_dbr_cfg_cmd_tlv()
58 cmd->base_paddr_hi = cfg->base_paddr_hi; in send_dbr_cfg_cmd_tlv()
59 cmd->head_idx_paddr_lo = cfg->head_idx_paddr_lo; in send_dbr_cfg_cmd_tlv()
[all …]
Dwmi_unified_nan_tlv.c124 wmi_nan_cmd_param *cmd; in send_nan_disable_req_cmd_tlv() local
128 uint16_t len = sizeof(*cmd) + sizeof(*cfg) + 2 * WMI_TLV_HDR_SIZE; in send_nan_disable_req_cmd_tlv()
186 cmd = (wmi_nan_cmd_param *)buf_ptr; in send_nan_disable_req_cmd_tlv()
187 WMITLV_SET_HDR(&cmd->tlv_header, in send_nan_disable_req_cmd_tlv()
191 cmd->data_len = nan_data_len; in send_nan_disable_req_cmd_tlv()
200 cmd->data_len); in send_nan_disable_req_cmd_tlv()
237 wmi_nan_cmd_param *cmd; in send_nan_req_cmd_tlv() local
240 uint16_t len = sizeof(*cmd) + sizeof(*cfg) + 2 * WMI_TLV_HDR_SIZE; in send_nan_req_cmd_tlv()
278 cmd = (wmi_nan_cmd_param *)buf_ptr; in send_nan_req_cmd_tlv()
279 WMITLV_SET_HDR(&cmd->tlv_header, in send_nan_req_cmd_tlv()
[all …]
Dwmi_unified_bcn_tlv.c34 wmi_bcn_send_from_host_cmd_fixed_param *cmd; in send_bcn_buf_ll_cmd_tlv() local
38 wmi_buf = wmi_buf_alloc(wmi_handle, sizeof(*cmd)); in send_bcn_buf_ll_cmd_tlv()
42 cmd = (wmi_bcn_send_from_host_cmd_fixed_param *)wmi_buf_data(wmi_buf); in send_bcn_buf_ll_cmd_tlv()
43 WMITLV_SET_HDR(&cmd->tlv_header, in send_bcn_buf_ll_cmd_tlv()
47 cmd->vdev_id = param->vdev_id; in send_bcn_buf_ll_cmd_tlv()
48 cmd->data_len = param->data_len; in send_bcn_buf_ll_cmd_tlv()
49 cmd->frame_ctrl = param->frame_ctrl; in send_bcn_buf_ll_cmd_tlv()
50 cmd->frag_ptr = param->frag_ptr; in send_bcn_buf_ll_cmd_tlv()
51 cmd->dtim_flag = param->dtim_flag; in send_bcn_buf_ll_cmd_tlv()
53 wmi_mtrace(WMI_PDEV_SEND_BCN_CMDID, cmd->vdev_id, 0); in send_bcn_buf_ll_cmd_tlv()
[all …]
Dwmi_unified_cfr_tlv.c152 wmi_cfr_capture_filter_cmd_fixed_param *cmd; in send_cfr_rcc_cmd_tlv() local
160 len = sizeof(*cmd) + WMI_TLV_HDR_SIZE; in send_cfr_rcc_cmd_tlv()
170 cmd = (wmi_cfr_capture_filter_cmd_fixed_param *)buf_ptr; in send_cfr_rcc_cmd_tlv()
172 WMITLV_SET_HDR(&cmd->tlv_header, in send_cfr_rcc_cmd_tlv()
176 cmd->pdev_id = ops->convert_host_pdev_id_to_target(wmi_handle, in send_cfr_rcc_cmd_tlv()
178 WMI_CFR_CAPTURE_INTERVAL_SET(cmd->capture_interval, in send_cfr_rcc_cmd_tlv()
180 WMI_CFR_CAPTURE_DURATION_SET(cmd->capture_duration, in send_cfr_rcc_cmd_tlv()
182 WMI_CFR_CAPTURE_COUNT_SET(cmd->capture_count, rcc->capture_count); in send_cfr_rcc_cmd_tlv()
183 WMI_CFR_CAPTURE_INTERVAL_MODE_SEL_SET(cmd->capture_count, in send_cfr_rcc_cmd_tlv()
185 WMI_CFR_FILTER_GROUP_BITMAP_SET(cmd->filter_group_bitmap, in send_cfr_rcc_cmd_tlv()
[all …]
/wlan-driver/qcacld-3.0/components/wmi/src/
Dwmi_unified_coap_tlv.c36 WMI_WOW_COAP_ADD_PATTERN_CMD_fixed_param *cmd; in send_coap_add_pattern_cmd_tlv() local
60 len = sizeof(*cmd) + WMI_TLV_HDR_SIZE + coapmsg_len_align + in send_coap_add_pattern_cmd_tlv()
67 cmd = (WMI_WOW_COAP_ADD_PATTERN_CMD_fixed_param *)buf_ptr; in send_coap_add_pattern_cmd_tlv()
69 WMITLV_SET_HDR(&cmd->tlv_header, in send_coap_add_pattern_cmd_tlv()
74 cmd->vdev_id = param->vdev_id; in send_coap_add_pattern_cmd_tlv()
75 cmd->pattern_id = param->pattern_id; in send_coap_add_pattern_cmd_tlv()
76 cmd->timeout = param->cache_timeout; in send_coap_add_pattern_cmd_tlv()
77 WMI_COAP_IPV6_SET(cmd->pattern_type, 0); in send_coap_add_pattern_cmd_tlv()
78 WMI_COAP_ADDR_TYPE_SET(cmd->pattern_type, in send_coap_add_pattern_cmd_tlv()
80 qdf_mem_copy(cmd->match_udp_ip.ipv4_addr, &param->dest_ip_v4, in send_coap_add_pattern_cmd_tlv()
[all …]
/wlan-driver/qcacld-3.0/components/pmo/core/src/
Dwlan_pmo_static_config.c447 struct pmo_action_wakeup_set_params *cmd; in pmo_register_action_frame_patterns() local
455 cmd = qdf_mem_malloc(sizeof(*cmd)); in pmo_register_action_frame_patterns()
456 if (!cmd) { in pmo_register_action_frame_patterns()
461 cmd->vdev_id = pmo_vdev_get_id(vdev); in pmo_register_action_frame_patterns()
462 cmd->operation = pmo_action_wakeup_set; in pmo_register_action_frame_patterns()
465 cmd->action_category_map[i++] = in pmo_register_action_frame_patterns()
468 cmd->action_category_map[i++] = in pmo_register_action_frame_patterns()
471 cmd->action_category_map[i++] = ALLOWED_ACTION_FRAMES_BITMAP1; in pmo_register_action_frame_patterns()
472 cmd->action_category_map[i++] = ALLOWED_ACTION_FRAMES_BITMAP2; in pmo_register_action_frame_patterns()
473 cmd->action_category_map[i++] = ALLOWED_ACTION_FRAMES_BITMAP3; in pmo_register_action_frame_patterns()
[all …]

1234567