Lines Matching refs:len
47 int len; in send_set_sta_sa_query_param_cmd_tlv() local
49 len = sizeof(*cmd); in send_set_sta_sa_query_param_cmd_tlv()
50 buf = wmi_buf_alloc(wmi_handle, len); in send_set_sta_sa_query_param_cmd_tlv()
69 if (wmi_unified_cmd_send(wmi_handle, buf, len, in send_set_sta_sa_query_param_cmd_tlv()
97 int len; in send_set_sta_keep_alive_cmd_tlv() local
102 len = sizeof(*cmd) + sizeof(*arp_rsp); in send_set_sta_keep_alive_cmd_tlv()
103 buf = wmi_buf_alloc(wmi_handle, len); in send_set_sta_keep_alive_cmd_tlv()
141 ret = wmi_unified_cmd_send(wmi_handle, buf, len, in send_set_sta_keep_alive_cmd_tlv()
168 int len = sizeof(wmi_vdev_set_gtx_params_cmd_fixed_param); in send_vdev_set_gtx_cfg_cmd_tlv() local
170 buf = wmi_buf_alloc(wmi_handle, len); in send_vdev_set_gtx_cfg_cmd_tlv()
197 ret = wmi_unified_cmd_send(wmi_handle, buf, len, in send_vdev_set_gtx_cfg_cmd_tlv()
220 int len = sizeof(wmi_peer_set_param_cmd_fixed_param); in send_process_dhcp_ind_cmd_tlv() local
222 buf = wmi_buf_alloc(wmi_handle, len); in send_process_dhcp_ind_cmd_tlv()
244 len, WMI_PEER_SET_PARAM_CMDID); in send_process_dhcp_ind_cmd_tlv()
266 uint32_t len; in send_get_link_speed_cmd_tlv() local
269 len = sizeof(wmi_peer_get_estimated_linkspeed_cmd_fixed_param); in send_get_link_speed_cmd_tlv()
270 wmi_buf = wmi_buf_alloc(wmi_handle, len); in send_get_link_speed_cmd_tlv()
288 if (wmi_unified_cmd_send(wmi_handle, wmi_buf, len, in send_get_link_speed_cmd_tlv()
310 int32_t len = 0; in send_fw_profiling_cmd_tlv() local
319 len = sizeof(wmi_wlan_profile_trigger_cmd_fixed_param); in send_fw_profiling_cmd_tlv()
320 buf = wmi_buf_alloc(wmi_handle, len); in send_fw_profiling_cmd_tlv()
333 ret = wmi_unified_cmd_send(wmi_handle, buf, len, in send_fw_profiling_cmd_tlv()
344 len = sizeof(wmi_wlan_profile_get_prof_data_cmd_fixed_param); in send_fw_profiling_cmd_tlv()
345 buf = wmi_buf_alloc(wmi_handle, len); in send_fw_profiling_cmd_tlv()
358 ret = wmi_unified_cmd_send(wmi_handle, buf, len, in send_fw_profiling_cmd_tlv()
369 len = sizeof(wmi_wlan_profile_set_hist_intvl_cmd_fixed_param); in send_fw_profiling_cmd_tlv()
370 buf = wmi_buf_alloc(wmi_handle, len); in send_fw_profiling_cmd_tlv()
385 ret = wmi_unified_cmd_send(wmi_handle, buf, len, in send_fw_profiling_cmd_tlv()
396 len = in send_fw_profiling_cmd_tlv()
398 buf = wmi_buf_alloc(wmi_handle, len); in send_fw_profiling_cmd_tlv()
413 ret = wmi_unified_cmd_send(wmi_handle, buf, len, in send_fw_profiling_cmd_tlv()
442 int32_t len = sizeof(*cmd); in send_nat_keepalive_en_cmd_tlv() local
445 buf = wmi_buf_alloc(wmi_handle, len); in send_nat_keepalive_en_cmd_tlv()
458 if (wmi_unified_cmd_send(wmi_handle, buf, len, in send_nat_keepalive_en_cmd_tlv()
496 uint32_t len = sizeof(*cmd); in send_wlm_latency_level_cmd_tlv() local
499 buf = wmi_buf_alloc(wmi_handle, len); in send_wlm_latency_level_cmd_tlv()
516 if (wmi_unified_cmd_send(wmi_handle, buf, len, in send_wlm_latency_level_cmd_tlv()
609 u_int16_t len = sizeof(wmi_tdls_set_offchan_mode_cmd_fixed_param); in send_set_tdls_offchan_mode_cmd_tlv() local
611 len += WMI_TLV_HDR_SIZE + in send_set_tdls_offchan_mode_cmd_tlv()
614 wmi_buf = wmi_buf_alloc(wmi_handle, len); in send_set_tdls_offchan_mode_cmd_tlv()
688 if (wmi_unified_cmd_send(wmi_handle, wmi_buf, len, in send_set_tdls_offchan_mode_cmd_tlv()
714 uint16_t len = sizeof(wmi_tdls_set_state_cmd_fixed_param); in send_update_fw_tdls_state_cmd_tlv() local
716 wmi_buf = wmi_buf_alloc(wmi_handle, len); in send_update_fw_tdls_state_cmd_tlv()
780 if (wmi_unified_cmd_send(wmi_handle, wmi_buf, len, in send_update_fw_tdls_state_cmd_tlv()
811 int32_t len = sizeof(wmi_tdls_peer_update_cmd_fixed_param) + in send_update_tdls_peer_state_cmd_tlv() local
815 len += WMI_TLV_HDR_SIZE + in send_update_tdls_peer_state_cmd_tlv()
818 wmi_buf = wmi_buf_alloc(wmi_handle, len); in send_update_tdls_peer_state_cmd_tlv()
940 if (wmi_unified_cmd_send(wmi_handle, wmi_buf, len, in send_update_tdls_peer_state_cmd_tlv()
1081 uint32_t len, ie_len_aligned; in send_process_set_ie_info_cmd_tlv() local
1086 len = sizeof(*cmd) + WMI_TLV_HDR_SIZE + ie_len_aligned; in send_process_set_ie_info_cmd_tlv()
1088 buf = wmi_buf_alloc(wmi_handle, len); in send_process_set_ie_info_cmd_tlv()
1094 qdf_mem_zero(buf_ptr, len); in send_process_set_ie_info_cmd_tlv()
1118 ret = wmi_unified_cmd_send(wmi_handle, buf, len, in send_process_set_ie_info_cmd_tlv()
1231 uint32_t len, list_tlv_len; in send_reject_ap_list_cmd_tlv() local
1241 len = sizeof(*chan_list_fp) + list_tlv_len + WMI_TLV_HDR_SIZE; in send_reject_ap_list_cmd_tlv()
1242 buf = wmi_buf_alloc(wmi_handle, len); in send_reject_ap_list_cmd_tlv()
1283 len, WMI_PDEV_DSM_FILTER_CMDID); in send_reject_ap_list_cmd_tlv()
1321 uint32_t len = sizeof(*cmd) + WMI_TLV_HDR_SIZE; in send_sar_limit_cmd_tlv() local
1323 len += sizeof(wmi_sar_limit_cmd_row) * sar_limit_params->num_limit_rows; in send_sar_limit_cmd_tlv()
1324 buf = wmi_buf_alloc(wmi_handle, len); in send_sar_limit_cmd_tlv()
1341 sar_limit_params->num_limit_rows, len); in send_sar_limit_cmd_tlv()
1374 qdf_status = wmi_unified_cmd_send(wmi_handle, buf, len, in send_sar_limit_cmd_tlv()
1390 uint32_t len; in get_sar_limit_cmd_tlv() local
1395 len = sizeof(*cmd); in get_sar_limit_cmd_tlv()
1396 wmi_buf = wmi_buf_alloc(wmi_handle, len); in get_sar_limit_cmd_tlv()
1411 status = wmi_unified_cmd_send(wmi_handle, wmi_buf, len, in get_sar_limit_cmd_tlv()
1455 uint32_t len) in extract_sar2_result_event_tlv() argument
1556 uint32_t len = sizeof(*cmd); in send_set_del_pmkid_cache_cmd_tlv() local
1562 len += WMI_TLV_HDR_SIZE + sizeof(*pmksa); in send_set_del_pmkid_cache_cmd_tlv()
1564 buf = wmi_buf_alloc(wmi_handle, len); in send_set_del_pmkid_cache_cmd_tlv()
1611 status = wmi_unified_cmd_send(wmi_handle, buf, len, in send_set_del_pmkid_cache_cmd_tlv()
1635 int32_t len = sizeof(*cmd); in send_del_ts_cmd_tlv() local
1637 buf = wmi_buf_alloc(wmi_handle, len); in send_del_ts_cmd_tlv()
1651 if (wmi_unified_cmd_send(wmi_handle, buf, len, in send_del_ts_cmd_tlv()
1678 int32_t len = sizeof(*cmd); in send_aggr_qos_cmd_tlv() local
1691 buf = wmi_buf_alloc(wmi_handle, len); in send_aggr_qos_cmd_tlv()
1712 if (wmi_unified_cmd_send(wmi_handle, buf, len, in send_aggr_qos_cmd_tlv()
1738 int32_t len = sizeof(*cmd); in send_add_ts_cmd_tlv() local
1742 buf = wmi_buf_alloc(wmi_handle, len); in send_add_ts_cmd_tlv()
1759 if (wmi_unified_cmd_send(wmi_handle, buf, len, in send_add_ts_cmd_tlv()
1785 uint32_t len; in send_process_add_periodic_tx_ptrn_cmd_tlv() local
1792 len = sizeof(WMI_ADD_PROACTIVE_ARP_RSP_PATTERN_CMD_fixed_param) + in send_process_add_periodic_tx_ptrn_cmd_tlv()
1795 wmi_buf = wmi_buf_alloc(wmi_handle, len); in send_process_add_periodic_tx_ptrn_cmd_tlv()
1826 if (wmi_unified_cmd_send(wmi_handle, wmi_buf, len, in send_process_add_periodic_tx_ptrn_cmd_tlv()
1850 uint32_t len = in send_process_del_periodic_tx_ptrn_cmd_tlv() local
1853 wmi_buf = wmi_buf_alloc(wmi_handle, len); in send_process_del_periodic_tx_ptrn_cmd_tlv()
1872 if (wmi_unified_cmd_send(wmi_handle, wmi_buf, len, in send_process_del_periodic_tx_ptrn_cmd_tlv()
1895 int len = sizeof(wmi_host_auto_shutdown_cfg_cmd_fixed_param); in send_set_auto_shutdown_timer_cmd_tlv() local
1900 buf = wmi_buf_alloc(wmi_handle, len); in send_set_auto_shutdown_timer_cmd_tlv()
1917 len, WMI_HOST_AUTO_SHUTDOWN_CFG_CMDID); in send_set_auto_shutdown_timer_cmd_tlv()
1940 int32_t len = sizeof(wmi_set_led_flashing_cmd_fixed_param); in send_set_led_flashing_cmd_tlv() local
1942 buf = wmi_buf_alloc(wmi_handle, len); in send_set_led_flashing_cmd_tlv()
1957 status = wmi_unified_cmd_send(wmi_handle, buf, len, in send_set_led_flashing_cmd_tlv()
1980 int len = sizeof(wmi_chan_avoid_update_cmd_param); in send_process_ch_avoid_update_cmd_tlv() local
1982 buf = wmi_buf_alloc(wmi_handle, len); in send_process_ch_avoid_update_cmd_tlv()
1996 len, WMI_CHAN_AVOID_UPDATE_CMDID); in send_process_ch_avoid_update_cmd_tlv()
2032 uint32_t *cmd_args, i, len; in send_pdev_set_pcl_cmd_tlv() local
2037 len = sizeof(*cmd) + in send_pdev_set_pcl_cmd_tlv()
2040 buf = wmi_buf_alloc(wmi_handle, len); in send_pdev_set_pcl_cmd_tlv()
2062 if (wmi_unified_cmd_send(wmi_handle, buf, len, in send_pdev_set_pcl_cmd_tlv()
2087 uint32_t len; in send_pdev_set_dual_mac_config_cmd_tlv() local
2089 len = sizeof(*cmd); in send_pdev_set_dual_mac_config_cmd_tlv()
2091 buf = wmi_buf_alloc(wmi_handle, len); in send_pdev_set_dual_mac_config_cmd_tlv()
2111 if (wmi_unified_cmd_send(wmi_handle, buf, len, in send_pdev_set_dual_mac_config_cmd_tlv()
2146 int len; in send_adapt_dwelltime_params_cmd_tlv() local
2148 len = sizeof(wmi_scan_adaptive_dwell_config_fixed_param); in send_adapt_dwelltime_params_cmd_tlv()
2149 len += WMI_TLV_HDR_SIZE; /* TLV for ext_thresholds*/ in send_adapt_dwelltime_params_cmd_tlv()
2150 len += sizeof(wmi_scan_adaptive_dwell_parameters_tlv); in send_adapt_dwelltime_params_cmd_tlv()
2151 buf = wmi_buf_alloc(wmi_handle, len); in send_adapt_dwelltime_params_cmd_tlv()
2181 len, WMI_SCAN_ADAPTIVE_DWELL_CONFIG_CMDID); in send_adapt_dwelltime_params_cmd_tlv()
2208 int len; in send_dbs_scan_sel_params_cmd_tlv() local
2210 len = sizeof(*dbs_scan_param); in send_dbs_scan_sel_params_cmd_tlv()
2211 len += WMI_TLV_HDR_SIZE; in send_dbs_scan_sel_params_cmd_tlv()
2212 len += dbs_scan_params->num_clients * sizeof(*cmd); in send_dbs_scan_sel_params_cmd_tlv()
2214 buf = wmi_buf_alloc(wmi_handle, len); in send_dbs_scan_sel_params_cmd_tlv()
2247 len, WMI_SET_SCAN_DBS_DUTY_CYCLE_CMDID); in send_dbs_scan_sel_params_cmd_tlv()
2269 int len; in send_set_arp_stats_req_cmd_tlv() local
2273 len = sizeof(wmi_vdev_set_arp_stats_cmd_fixed_param); in send_set_arp_stats_req_cmd_tlv()
2275 len += WMI_TLV_HDR_SIZE; in send_set_arp_stats_req_cmd_tlv()
2276 len += sizeof(wmi_vdev_set_connectivity_check_stats); in send_set_arp_stats_req_cmd_tlv()
2278 buf = wmi_buf_alloc(wmi_handle, len); in send_set_arp_stats_req_cmd_tlv()
2336 len, WMI_VDEV_SET_ARP_STAT_CMDID); in send_set_arp_stats_req_cmd_tlv()
2363 int len; in send_get_arp_stats_req_cmd_tlv() local
2367 len = sizeof(wmi_vdev_get_arp_stats_cmd_fixed_param); in send_get_arp_stats_req_cmd_tlv()
2368 buf = wmi_buf_alloc(wmi_handle, len); in send_get_arp_stats_req_cmd_tlv()
2388 len, WMI_VDEV_GET_ARP_STAT_CMDID); in send_get_arp_stats_req_cmd_tlv()
2421 uint32_t len = sizeof(*cmd); in send_peer_unmap_conf_cmd_tlv() local
2427 len += WMI_TLV_HDR_SIZE; in send_peer_unmap_conf_cmd_tlv()
2431 len += peer_id_list_len; in send_peer_unmap_conf_cmd_tlv()
2433 buf = wmi_buf_alloc(wmi, len); in send_peer_unmap_conf_cmd_tlv()
2460 status = wmi_unified_cmd_send(wmi, buf, len, in send_peer_unmap_conf_cmd_tlv()