Lines Matching refs:ev

402 	wmi_ctrl_path_stats_event_fixed_param *ev;  in wmi_stats_handler()  local
413 ev = (wmi_ctrl_path_stats_event_fixed_param *)param_buf->fixed_param; in wmi_stats_handler()
415 curr_tlv_tag = WMITLV_GET_TLVTAG(ev->tlv_header); in wmi_stats_handler()
416 curr_tlv_len = WMITLV_GET_TLVLEN(ev->tlv_header); in wmi_stats_handler()
418 wmi_debug("Fixed param more %d req_id %d status %d", ev->more, in wmi_stats_handler()
419 ev->request_id, ev->status); in wmi_stats_handler()
420 params->request_id = ev->request_id; in wmi_stats_handler()
421 params->status = ev->status; in wmi_stats_handler()
759 wmi_stats_event_fixed_param *ev; in extract_all_stats_counts_tlv() local
767 ev = (wmi_stats_event_fixed_param *) param_buf->fixed_param; in extract_all_stats_counts_tlv()
769 if (!ev) { in extract_all_stats_counts_tlv()
774 if (param_buf->num_data > WMI_SVC_MSG_MAX_SIZE - sizeof(*ev)) { in extract_all_stats_counts_tlv()
780 switch (ev->stats_id & i) { in extract_all_stats_counts_tlv()
844 (((uint64_t)ev->num_pdev_stats) * sizeof(wmi_pdev_stats)) + in extract_all_stats_counts_tlv()
845 (((uint64_t)ev->num_vdev_stats) * sizeof(wmi_vdev_stats)) + in extract_all_stats_counts_tlv()
846 (((uint64_t)ev->num_peer_stats) * sizeof(wmi_peer_stats)) + in extract_all_stats_counts_tlv()
847 (((uint64_t)ev->num_bcnflt_stats) * in extract_all_stats_counts_tlv()
849 (((uint64_t)ev->num_chan_stats) * sizeof(wmi_chan_stats)) + in extract_all_stats_counts_tlv()
850 (((uint64_t)ev->num_mib_stats) * sizeof(wmi_mib_stats)) + in extract_all_stats_counts_tlv()
851 (((uint64_t)ev->num_bcn_stats) * sizeof(wmi_bcn_stats)) + in extract_all_stats_counts_tlv()
852 (((uint64_t)ev->num_peer_extd_stats) * in extract_all_stats_counts_tlv()
854 (((uint64_t)ev->num_mib_extd_stats) * in extract_all_stats_counts_tlv()
862 stats_param->last_event = ev->last_event; in extract_all_stats_counts_tlv()
863 stats_param->num_pdev_stats = ev->num_pdev_stats; in extract_all_stats_counts_tlv()
865 stats_param->num_vdev_stats = ev->num_vdev_stats; in extract_all_stats_counts_tlv()
866 stats_param->num_peer_stats = ev->num_peer_stats; in extract_all_stats_counts_tlv()
867 stats_param->num_peer_extd_stats = ev->num_peer_extd_stats; in extract_all_stats_counts_tlv()
868 stats_param->num_bcnflt_stats = ev->num_bcnflt_stats; in extract_all_stats_counts_tlv()
869 stats_param->num_chan_stats = ev->num_chan_stats; in extract_all_stats_counts_tlv()
870 stats_param->num_mib_stats = ev->num_mib_stats; in extract_all_stats_counts_tlv()
871 stats_param->num_mib_extd_stats = ev->num_mib_extd_stats; in extract_all_stats_counts_tlv()
872 stats_param->num_bcn_stats = ev->num_bcn_stats; in extract_all_stats_counts_tlv()
875 ev->pdev_id); in extract_all_stats_counts_tlv()
999 wmi_pdev_stats *ev = (wmi_pdev_stats *) ((data) + in extract_pdev_stats_tlv() local
1002 pdev_stats->chan_nf = ev->chan_nf; in extract_pdev_stats_tlv()
1003 pdev_stats->tx_frame_count = ev->tx_frame_count; in extract_pdev_stats_tlv()
1004 pdev_stats->rx_frame_count = ev->rx_frame_count; in extract_pdev_stats_tlv()
1005 pdev_stats->rx_clear_count = ev->rx_clear_count; in extract_pdev_stats_tlv()
1006 pdev_stats->cycle_count = ev->cycle_count; in extract_pdev_stats_tlv()
1007 pdev_stats->phy_err_count = ev->phy_err_count; in extract_pdev_stats_tlv()
1008 pdev_stats->chan_tx_pwr = ev->chan_tx_pwr; in extract_pdev_stats_tlv()
1011 &(ev->pdev_stats.tx)); in extract_pdev_stats_tlv()
1013 &(ev->pdev_stats.rx)); in extract_pdev_stats_tlv()
1040 wmi_vdev_stats *ev = (wmi_vdev_stats *) ((data) + in extract_vdev_stats_tlv() local
1045 vdev_stats->vdev_id = ev->vdev_id; in extract_vdev_stats_tlv()
1046 vdev_stats->vdev_snr.bcn_snr = ev->vdev_snr.bcn_snr; in extract_vdev_stats_tlv()
1047 vdev_stats->vdev_snr.dat_snr = ev->vdev_snr.dat_snr; in extract_vdev_stats_tlv()
1049 OS_MEMCPY(vdev_stats->tx_frm_cnt, ev->tx_frm_cnt, in extract_vdev_stats_tlv()
1050 sizeof(ev->tx_frm_cnt)); in extract_vdev_stats_tlv()
1051 vdev_stats->rx_frm_cnt = ev->rx_frm_cnt; in extract_vdev_stats_tlv()
1053 ev->multiple_retry_cnt, in extract_vdev_stats_tlv()
1054 sizeof(ev->multiple_retry_cnt)); in extract_vdev_stats_tlv()
1055 OS_MEMCPY(vdev_stats->fail_cnt, ev->fail_cnt, in extract_vdev_stats_tlv()
1056 sizeof(ev->fail_cnt)); in extract_vdev_stats_tlv()
1057 vdev_stats->rts_fail_cnt = ev->rts_fail_cnt; in extract_vdev_stats_tlv()
1058 vdev_stats->rts_succ_cnt = ev->rts_succ_cnt; in extract_vdev_stats_tlv()
1059 vdev_stats->rx_err_cnt = ev->rx_err_cnt; in extract_vdev_stats_tlv()
1060 vdev_stats->rx_discard_cnt = ev->rx_discard_cnt; in extract_vdev_stats_tlv()
1061 vdev_stats->ack_fail_cnt = ev->ack_fail_cnt; in extract_vdev_stats_tlv()
1062 OS_MEMCPY(vdev_stats->tx_rate_history, ev->tx_rate_history, in extract_vdev_stats_tlv()
1063 sizeof(ev->tx_rate_history)); in extract_vdev_stats_tlv()
1064 OS_MEMCPY(vdev_stats->bcn_rssi_history, ev->bcn_rssi_history, in extract_vdev_stats_tlv()
1065 sizeof(ev->bcn_rssi_history)); in extract_vdev_stats_tlv()
1094 wmi_peer_stats *ev = (wmi_peer_stats *) ((data) + in extract_peer_stats_tlv() local
1102 &(ev->peer_macaddr), sizeof(wmi_mac_addr)); in extract_peer_stats_tlv()
1104 peer_stats->peer_rssi = ev->peer_rssi; in extract_peer_stats_tlv()
1105 peer_stats->peer_tx_rate = ev->peer_tx_rate; in extract_peer_stats_tlv()
1106 peer_stats->peer_rx_rate = ev->peer_rx_rate; in extract_peer_stats_tlv()
1137 wmi_peer_extd_stats *ev = (wmi_peer_extd_stats *) (data + in extract_peer_extd_stats_tlv() local
1149 qdf_mem_copy(&peer_extd_stats->peer_macaddr, &ev->peer_macaddr, in extract_peer_extd_stats_tlv()
1152 peer_extd_stats->rx_mc_bc_cnt = ev->rx_mc_bc_cnt; in extract_peer_extd_stats_tlv()