Lines Matching refs:ev
6500 wmi_ctrl_path_stats_event_fixed_param *ev; in extract_cp_stats_more_pending_tlv() local
6507 ev = (wmi_ctrl_path_stats_event_fixed_param *)param_buf->fixed_param; in extract_cp_stats_more_pending_tlv()
6509 *more_flag = ev->more; in extract_cp_stats_more_pending_tlv()
6527 wmi_halphy_ctrl_path_stats_event_fixed_param *ev; in extract_halphy_stats_end_of_event_tlv() local
6534 ev = (wmi_halphy_ctrl_path_stats_event_fixed_param *) in extract_halphy_stats_end_of_event_tlv()
6537 *end_of_event_flag = ev->end_of_event; in extract_halphy_stats_end_of_event_tlv()
6555 wmi_halphy_ctrl_path_stats_event_fixed_param *ev; in extract_halphy_stats_event_count_tlv() local
6562 ev = (wmi_halphy_ctrl_path_stats_event_fixed_param *) in extract_halphy_stats_event_count_tlv()
6565 *event_count_flag = ev->event_count; in extract_halphy_stats_event_count_tlv()
8928 wmi_pdev_sscan_fw_cmd_fixed_param *ev; in extract_pdev_sscan_fw_cmd_fixed_param_tlv() local
8949 ev = param_buf->fixed_param; in extract_pdev_sscan_fw_cmd_fixed_param_tlv()
8950 if (!ev) in extract_pdev_sscan_fw_cmd_fixed_param_tlv()
8955 ev->pdev_id); in extract_pdev_sscan_fw_cmd_fixed_param_tlv()
8956 param->smode = ev->spectral_scan_mode; in extract_pdev_sscan_fw_cmd_fixed_param_tlv()
8961 ev->pdev_id, ev->spectral_scan_mode, in extract_pdev_sscan_fw_cmd_fixed_param_tlv()
8973 wmi_pdev_sscan_fft_bin_index *ev; in extract_pdev_sscan_fft_bin_index_tlv() local
8979 ev = param_buf->fft_bin_index; in extract_pdev_sscan_fft_bin_index_tlv()
8980 if (!ev) in extract_pdev_sscan_fft_bin_index_tlv()
8983 param->start_pri80 = WMI_SSCAN_PRI80_START_BIN_GET(ev->pri80_bins); in extract_pdev_sscan_fft_bin_index_tlv()
8984 param->num_pri80 = WMI_SSCAN_PRI80_END_BIN_GET(ev->pri80_bins) - in extract_pdev_sscan_fft_bin_index_tlv()
8986 param->start_sec80 = WMI_SSCAN_SEC80_START_BIN_GET(ev->sec80_bins); in extract_pdev_sscan_fft_bin_index_tlv()
8987 param->num_sec80 = WMI_SSCAN_SEC80_END_BIN_GET(ev->sec80_bins) - in extract_pdev_sscan_fft_bin_index_tlv()
8989 param->start_5mhz = WMI_SSCAN_MID_5MHZ_START_BIN_GET(ev->mid_5mhz_bins); in extract_pdev_sscan_fft_bin_index_tlv()
8990 param->num_5mhz = WMI_SSCAN_MID_5MHZ_END_BIN_GET(ev->mid_5mhz_bins) - in extract_pdev_sscan_fft_bin_index_tlv()
10481 wmi_service_ready_event_fixed_param *ev; in save_fw_version_cmd_tlv() local
10486 ev = (wmi_service_ready_event_fixed_param *) param_buf->fixed_param; in save_fw_version_cmd_tlv()
10487 if (!ev) in save_fw_version_cmd_tlv()
10492 qdf_mem_copy(&wmi_handle->fw_abi_version, &ev->fw_abi_vers, in save_fw_version_cmd_tlv()
10512 wmi_ready_event_fixed_param *ev = NULL; in check_and_update_fw_version_cmd_tlv() local
10515 ev = param_buf->fixed_param; in check_and_update_fw_version_cmd_tlv()
10518 &ev->fw_abi_vers)) { in check_and_update_fw_version_cmd_tlv()
10533 WMI_VER_GET_MAJOR(ev->fw_abi_vers.abi_version_0), in check_and_update_fw_version_cmd_tlv()
10534 WMI_VER_GET_MINOR(ev->fw_abi_vers.abi_version_0), in check_and_update_fw_version_cmd_tlv()
10535 ev->fw_abi_vers.abi_version_ns_0, in check_and_update_fw_version_cmd_tlv()
10536 ev->fw_abi_vers.abi_version_ns_1, in check_and_update_fw_version_cmd_tlv()
10537 ev->fw_abi_vers.abi_version_ns_2, in check_and_update_fw_version_cmd_tlv()
10538 ev->fw_abi_vers.abi_version_ns_3); in check_and_update_fw_version_cmd_tlv()
10542 qdf_mem_copy(&wmi_handle->final_abi_vers, &ev->fw_abi_vers, in check_and_update_fw_version_cmd_tlv()
10544 qdf_mem_copy(&wmi_handle->fw_abi_version, &ev->fw_abi_vers, in check_and_update_fw_version_cmd_tlv()
12893 wmi_service_available_event_fixed_param *ev; in save_ext_service_bitmap_tlv() local
12899 ev = param_buf->fixed_param; in save_ext_service_bitmap_tlv()
12912 ev->wmi_service_segment_bitmap, in save_ext_service_bitmap_tlv()
12994 wmi_service_ready_event_fixed_param *ev; in extract_service_ready_tlv() local
12999 ev = (wmi_service_ready_event_fixed_param *) param_buf->fixed_param; in extract_service_ready_tlv()
13000 if (!ev) { in extract_service_ready_tlv()
13005 cap->phy_capability = ev->phy_capability; in extract_service_ready_tlv()
13006 cap->max_frag_entry = ev->max_frag_entry; in extract_service_ready_tlv()
13007 cap->num_rf_chains = ev->num_rf_chains; in extract_service_ready_tlv()
13008 copy_ht_cap_info(ev->ht_cap_info, cap); in extract_service_ready_tlv()
13009 cap->vht_cap_info = ev->vht_cap_info; in extract_service_ready_tlv()
13010 cap->vht_supp_mcs = ev->vht_supp_mcs; in extract_service_ready_tlv()
13011 cap->hw_min_tx_power = ev->hw_min_tx_power; in extract_service_ready_tlv()
13012 cap->hw_max_tx_power = ev->hw_max_tx_power; in extract_service_ready_tlv()
13013 cap->sys_cap_info = ev->sys_cap_info; in extract_service_ready_tlv()
13014 cap->min_pkt_size_enable = ev->min_pkt_size_enable; in extract_service_ready_tlv()
13015 cap->max_bcn_ie_size = ev->max_bcn_ie_size; in extract_service_ready_tlv()
13016 cap->max_num_scan_channels = ev->max_num_scan_channels; in extract_service_ready_tlv()
13017 cap->max_supported_macs = ev->max_supported_macs; in extract_service_ready_tlv()
13018 cap->wmi_fw_sub_feat_caps = ev->wmi_fw_sub_feat_caps; in extract_service_ready_tlv()
13019 cap->txrx_chainmask = ev->txrx_chainmask; in extract_service_ready_tlv()
13020 cap->default_dbs_hw_mode_index = ev->default_dbs_hw_mode_index; in extract_service_ready_tlv()
13021 cap->num_msdu_desc = ev->num_msdu_desc; in extract_service_ready_tlv()
13022 cap->fw_version = ev->fw_build_vers; in extract_service_ready_tlv()
13346 wmi_service_ready_event_fixed_param *ev; in extract_num_mem_reqs_tlv() local
13350 ev = (wmi_service_ready_event_fixed_param *) param_buf->fixed_param; in extract_num_mem_reqs_tlv()
13351 if (!ev) { in extract_num_mem_reqs_tlv()
13356 if (ev->num_mem_reqs > param_buf->num_mem_reqs) { in extract_num_mem_reqs_tlv()
13358 ev->num_mem_reqs, param_buf->num_mem_reqs); in extract_num_mem_reqs_tlv()
13362 return ev->num_mem_reqs; in extract_num_mem_reqs_tlv()
13458 wmi_service_ready_event_fixed_param *ev; in save_fw_version_in_service_ready_tlv() local
13463 ev = (wmi_service_ready_event_fixed_param *) param_buf->fixed_param; in save_fw_version_in_service_ready_tlv()
13464 if (!ev) { in save_fw_version_in_service_ready_tlv()
13471 qdf_mem_copy(&wmi_handle->fw_abi_version, &ev->fw_abi_vers, in save_fw_version_in_service_ready_tlv()
13488 wmi_ready_event_fixed_param *ev = NULL; in ready_extract_init_status_tlv() local
13491 ev = param_buf->fixed_param; in ready_extract_init_status_tlv()
13493 wmi_info("%s:%d", __func__, ev->status); in ready_extract_init_status_tlv()
13495 return ev->status; in ready_extract_init_status_tlv()
13510 wmi_ready_event_fixed_param *ev = NULL; in ready_extract_mac_addr_tlv() local
13514 ev = param_buf->fixed_param; in ready_extract_mac_addr_tlv()
13516 WMI_MAC_ADDR_TO_CHAR_ARRAY(&ev->mac_addr, macaddr); in ready_extract_mac_addr_tlv()
13534 wmi_ready_event_fixed_param *ev = NULL; in ready_extract_mac_addr_list_tlv() local
13537 ev = param_buf->fixed_param; in ready_extract_mac_addr_list_tlv()
13539 *num_mac = ev->num_extra_mac_addr; in ready_extract_mac_addr_list_tlv()
13557 wmi_ready_event_fixed_param *ev = NULL; in extract_ready_event_params_tlv() local
13560 ev = param_buf->fixed_param; in extract_ready_event_params_tlv()
13562 ev_param->status = ev->status; in extract_ready_event_params_tlv()
13563 ev_param->num_dscp_table = ev->num_dscp_table; in extract_ready_event_params_tlv()
13564 ev_param->num_extra_mac_addr = ev->num_extra_mac_addr; in extract_ready_event_params_tlv()
13565 ev_param->num_total_peer = ev->num_total_peers; in extract_ready_event_params_tlv()
13566 ev_param->num_extra_peer = ev->num_extra_peers; in extract_ready_event_params_tlv()
13570 ev_param->max_ast_index = ev->max_ast_index; in extract_ready_event_params_tlv()
13571 ev_param->pktlog_defs_checksum = ev->pktlog_defs_checksum; in extract_ready_event_params_tlv()
13573 ev_param->num_max_active_vdevs = ev->num_max_active_vdevs; in extract_ready_event_params_tlv()
14208 wmi_pdev_extd_stats *ev; in extract_pdev_ext_stats_tlv() local
14217 ev = param_buf->pdev_extd_stats + index; in extract_pdev_ext_stats_tlv()
14222 ev->pdev_id); in extract_pdev_ext_stats_tlv()
14223 pdev_ext_stats->my_rx_count = ev->my_rx_count; in extract_pdev_ext_stats_tlv()
14224 pdev_ext_stats->rx_matched_11ax_msdu_cnt = ev->rx_matched_11ax_msdu_cnt; in extract_pdev_ext_stats_tlv()
14225 pdev_ext_stats->rx_other_11ax_msdu_cnt = ev->rx_other_11ax_msdu_cnt; in extract_pdev_ext_stats_tlv()
14251 wmi_bcn_stats *ev = (wmi_bcn_stats *) ((data) + in extract_bcn_stats_tlv() local
14259 bcn_stats->vdev_id = ev->vdev_id; in extract_bcn_stats_tlv()
14260 bcn_stats->tx_bcn_succ_cnt = ev->tx_bcn_succ_cnt; in extract_bcn_stats_tlv()
14261 bcn_stats->tx_bcn_outage_cnt = ev->tx_bcn_outage_cnt; in extract_bcn_stats_tlv()
14285 wmi_vdev_extd_stats *ev, in extract_mlo_vdev_status_info() argument
14293 vdev_stats->is_mlo_vdev_active = wmi_is_mlo_vdev_active(ev->flags); in extract_mlo_vdev_status_info()
14299 wmi_vdev_extd_stats *ev, in extract_mlo_vdev_status_info() argument
14322 wmi_vdev_extd_stats *ev; in extract_vdev_prb_fils_stats_tlv() local
14328 ev = (wmi_vdev_extd_stats *)(param_buf->vdev_extd_stats + in extract_vdev_prb_fils_stats_tlv()
14330 vdev_stats->vdev_id = ev->vdev_id; in extract_vdev_prb_fils_stats_tlv()
14331 vdev_stats->fd_succ_cnt = ev->fd_succ_cnt; in extract_vdev_prb_fils_stats_tlv()
14332 vdev_stats->fd_fail_cnt = ev->fd_fail_cnt; in extract_vdev_prb_fils_stats_tlv()
14334 ev->unsolicited_prb_succ_cnt; in extract_vdev_prb_fils_stats_tlv()
14336 ev->unsolicited_prb_fail_cnt; in extract_vdev_prb_fils_stats_tlv()
14337 status = extract_mlo_vdev_status_info(param_buf, ev, in extract_vdev_prb_fils_stats_tlv()
14339 vdev_stats->vdev_tx_power = ev->vdev_tx_power; in extract_vdev_prb_fils_stats_tlv()
14341 ev->vdev_id, ev->fd_succ_cnt, ev->fd_fail_cnt, in extract_vdev_prb_fils_stats_tlv()
14342 ev->unsolicited_prb_succ_cnt, in extract_vdev_prb_fils_stats_tlv()
14343 ev->unsolicited_prb_fail_cnt); in extract_vdev_prb_fils_stats_tlv()
14344 wmi_debug("vdev txpwr: %d", ev->vdev_tx_power); in extract_vdev_prb_fils_stats_tlv()
14386 wmi_chan_stats *ev = (wmi_chan_stats *) ((data) + in extract_chan_stats_tlv() local
14394 chan_stats->chan_mhz = ev->chan_mhz; in extract_chan_stats_tlv()
14395 chan_stats->sampling_period_us = ev->sampling_period_us; in extract_chan_stats_tlv()
14396 chan_stats->rx_clear_count = ev->rx_clear_count; in extract_chan_stats_tlv()
14397 chan_stats->tx_duration_us = ev->tx_duration_us; in extract_chan_stats_tlv()
14398 chan_stats->rx_duration_us = ev->rx_duration_us; in extract_chan_stats_tlv()
14417 wmi_wlan_profile_ctx_t *ev; in extract_profile_ctx_tlv() local
14425 ev = param_buf->profile_ctx; in extract_profile_ctx_tlv()
14427 profile_ctx->tot = ev->tot; in extract_profile_ctx_tlv()
14428 profile_ctx->tx_msdu_cnt = ev->tx_msdu_cnt; in extract_profile_ctx_tlv()
14429 profile_ctx->tx_mpdu_cnt = ev->tx_mpdu_cnt; in extract_profile_ctx_tlv()
14430 profile_ctx->tx_ppdu_cnt = ev->tx_ppdu_cnt; in extract_profile_ctx_tlv()
14431 profile_ctx->rx_msdu_cnt = ev->rx_msdu_cnt; in extract_profile_ctx_tlv()
14432 profile_ctx->rx_mpdu_cnt = ev->rx_mpdu_cnt; in extract_profile_ctx_tlv()
14433 profile_ctx->bin_count = ev->bin_count; in extract_profile_ctx_tlv()
14451 wmi_wlan_profile_t *ev; in extract_profile_data_tlv() local
14459 ev = ¶m_buf->profile_data[idx]; in extract_profile_data_tlv()
14460 profile_data->id = ev->id; in extract_profile_data_tlv()
14461 profile_data->cnt = ev->cnt; in extract_profile_data_tlv()
14462 profile_data->tot = ev->tot; in extract_profile_data_tlv()
14463 profile_data->min = ev->min; in extract_profile_data_tlv()
14464 profile_data->max = ev->max; in extract_profile_data_tlv()
14465 profile_data->hist_intvl = ev->hist_intvl; in extract_profile_data_tlv()
14466 qdf_mem_copy(profile_data->hist, ev->hist, sizeof(profile_data->hist)); in extract_profile_data_tlv()
14731 wmi_service_ready_ext_event_fixed_param *ev; in extract_service_ready_ext_tlv() local
14741 ev = param_buf->fixed_param; in extract_service_ready_ext_tlv()
14742 if (!ev) in extract_service_ready_ext_tlv()
14747 ev->default_conc_scan_config_bits; in extract_service_ready_ext_tlv()
14748 param->default_fw_config_bits = ev->default_fw_config_bits; in extract_service_ready_ext_tlv()
14749 param->he_cap_info = ev->he_cap_info; in extract_service_ready_ext_tlv()
14750 param->mpdu_density = ev->mpdu_density; in extract_service_ready_ext_tlv()
14751 param->max_bssid_rx_filters = ev->max_bssid_rx_filters; in extract_service_ready_ext_tlv()
14752 param->fw_build_vers_ext = ev->fw_build_vers_ext; in extract_service_ready_ext_tlv()
14755 param->max_bssid_indicator = ev->max_bssid_indicator; in extract_service_ready_ext_tlv()
14756 qdf_mem_copy(¶m->ppet, &ev->ppet, sizeof(param->ppet)); in extract_service_ready_ext_tlv()
14818 extract_svc_rdy_ext2_afc_tlv(wmi_service_ready_ext2_event_fixed_param *ev, in extract_svc_rdy_ext2_afc_tlv() argument
14824 tgt_afc_dev_type = ev->afc_deployment_type; in extract_svc_rdy_ext2_afc_tlv()
14842 wmi_debug("afc dev type:%d", ev->afc_deployment_type); in extract_svc_rdy_ext2_afc_tlv()
14846 extract_svc_rdy_ext2_afc_tlv(wmi_service_ready_ext2_event_fixed_param *ev, in extract_svc_rdy_ext2_afc_tlv() argument
14880 extract_hw_bdf_status(wmi_service_ready_ext2_event_fixed_param *ev) in extract_hw_bdf_status() argument
14884 hw_bdf_s = ev->hw_bd_status; in extract_hw_bdf_status()
14934 extract_num_max_mlo_link(wmi_service_ready_ext2_event_fixed_param *ev, in extract_num_max_mlo_link() argument
14938 ev->num_max_mlo_link_per_ml_bss_supp; in extract_num_max_mlo_link()
14945 extract_num_max_mlo_link(wmi_service_ready_ext2_event_fixed_param *ev, in extract_num_max_mlo_link() argument
14965 wmi_service_ready_ext2_event_fixed_param *ev; in extract_service_ready_ext2_tlv() local
14971 ev = param_buf->fixed_param; in extract_service_ready_ext2_tlv()
14972 if (!ev) in extract_service_ready_ext2_tlv()
14977 ev->reg_db_version); in extract_service_ready_ext2_tlv()
14980 ev->reg_db_version); in extract_service_ready_ext2_tlv()
14983 ev->reg_db_version); in extract_service_ready_ext2_tlv()
14986 ev->reg_db_version); in extract_service_ready_ext2_tlv()
14987 param->chwidth_num_peer_caps = ev->chwidth_num_peer_caps; in extract_service_ready_ext2_tlv()
15004 param->preamble_puncture_bw_cap = ev->preamble_puncture_bw; in extract_service_ready_ext2_tlv()
15007 ev->max_user_per_ppdu_ofdma); in extract_service_ready_ext2_tlv()
15009 ev->max_user_per_ppdu_ofdma); in extract_service_ready_ext2_tlv()
15011 ev->max_user_per_ppdu_mumimo); in extract_service_ready_ext2_tlv()
15013 ev->max_user_per_ppdu_mumimo); in extract_service_ready_ext2_tlv()
15014 param->target_cap_flags = ev->target_cap_flags; in extract_service_ready_ext2_tlv()
15018 ev->target_cap_flags); in extract_service_ready_ext2_tlv()
15020 extract_multipass_sap_cap(param, ev->target_cap_flags); in extract_service_ready_ext2_tlv()
15023 wmi_debug("htt peer data :%d", ev->target_cap_flags); in extract_service_ready_ext2_tlv()
15025 extract_svc_rdy_ext2_afc_tlv(ev, param); in extract_service_ready_ext2_tlv()
15027 extract_hw_bdf_status(ev); in extract_service_ready_ext2_tlv()
15029 extract_num_max_mlo_link(ev, param); in extract_service_ready_ext2_tlv()
18538 wmi_single_phyerr_rx_event *ev; in extract_single_phyerr_tlv() local
18543 if ((datalen - n) < sizeof(ev->hdr)) { in extract_single_phyerr_tlv()
18545 datalen, n, sizeof(ev->hdr)); in extract_single_phyerr_tlv()
18553 ev = (wmi_single_phyerr_rx_event *)&data[n]; in extract_single_phyerr_tlv()
18566 if (ev->hdr.buf_len > PHYERROR_MAX_BUFFER_LENGTH) { in extract_single_phyerr_tlv()
18567 wmi_debug("buf_len is garbage 0x%x", ev->hdr.buf_len); in extract_single_phyerr_tlv()
18571 if ((n + ev->hdr.buf_len) > datalen) { in extract_single_phyerr_tlv()
18573 n, ev->hdr.buf_len, datalen); in extract_single_phyerr_tlv()
18577 phyerr->phy_err_code = WMI_UNIFIED_PHYERRCODE_GET(&ev->hdr); in extract_single_phyerr_tlv()
18578 phyerr->tsf_timestamp = ev->hdr.tsf_timestamp; in extract_single_phyerr_tlv()
18579 phyerr->bufp = &ev->bufp[0]; in extract_single_phyerr_tlv()
18580 phyerr->buf_len = ev->hdr.buf_len; in extract_single_phyerr_tlv()
18581 phyerr->rf_info.rssi_comb = WMI_UNIFIED_RSSI_COMB_GET(&ev->hdr); in extract_single_phyerr_tlv()
18588 n += sizeof(*ev) + ev->hdr.buf_len; in extract_single_phyerr_tlv()
21386 wmi_pdev_telemetry_stats *ev; in extract_pdev_telemetry_stats_tlv() local
21391 ev = (wmi_pdev_telemetry_stats *)(param_buf->pdev_telemetry_stats); in extract_pdev_telemetry_stats_tlv()
21393 ev->avg_chan_lat_per_ac, in extract_pdev_telemetry_stats_tlv()
21394 sizeof(ev->avg_chan_lat_per_ac)); in extract_pdev_telemetry_stats_tlv()
21396 ev->estimated_air_time_per_ac; in extract_pdev_telemetry_stats_tlv()