Lines Matching defs:src
6293 static void ath11k_wmi_pull_pdev_stats_base(const struct wmi_pdev_stats_base *src,
6296 dst->ch_noise_floor = src->chan_nf;
6297 dst->tx_frame_count = src->tx_frame_count;
6298 dst->rx_frame_count = src->rx_frame_count;
6299 dst->rx_clear_count = src->rx_clear_count;
6300 dst->cycle_count = src->cycle_count;
6301 dst->phy_err_count = src->phy_err_count;
6302 dst->chan_tx_power = src->chan_tx_pwr;
6306 ath11k_wmi_pull_pdev_stats_tx(const struct wmi_pdev_stats_tx *src,
6309 dst->comp_queued = src->comp_queued;
6310 dst->comp_delivered = src->comp_delivered;
6311 dst->msdu_enqued = src->msdu_enqued;
6312 dst->mpdu_enqued = src->mpdu_enqued;
6313 dst->wmm_drop = src->wmm_drop;
6314 dst->local_enqued = src->local_enqued;
6315 dst->local_freed = src->local_freed;
6316 dst->hw_queued = src->hw_queued;
6317 dst->hw_reaped = src->hw_reaped;
6318 dst->underrun = src->underrun;
6319 dst->hw_paused = src->hw_paused;
6320 dst->tx_abort = src->tx_abort;
6321 dst->mpdus_requeued = src->mpdus_requeued;
6322 dst->tx_ko = src->tx_ko;
6323 dst->tx_xretry = src->tx_xretry;
6324 dst->data_rc = src->data_rc;
6325 dst->self_triggers = src->self_triggers;
6326 dst->sw_retry_failure = src->sw_retry_failure;
6327 dst->illgl_rate_phy_err = src->illgl_rate_phy_err;
6328 dst->pdev_cont_xretry = src->pdev_cont_xretry;
6329 dst->pdev_tx_timeout = src->pdev_tx_timeout;
6330 dst->pdev_resets = src->pdev_resets;
6331 dst->stateless_tid_alloc_failure = src->stateless_tid_alloc_failure;
6332 dst->phy_underrun = src->phy_underrun;
6333 dst->txop_ovf = src->txop_ovf;
6334 dst->seq_posted = src->seq_posted;
6335 dst->seq_failed_queueing = src->seq_failed_queueing;
6336 dst->seq_completed = src->seq_completed;
6337 dst->seq_restarted = src->seq_restarted;
6338 dst->mu_seq_posted = src->mu_seq_posted;
6339 dst->mpdus_sw_flush = src->mpdus_sw_flush;
6340 dst->mpdus_hw_filter = src->mpdus_hw_filter;
6341 dst->mpdus_truncated = src->mpdus_truncated;
6342 dst->mpdus_ack_failed = src->mpdus_ack_failed;
6343 dst->mpdus_expired = src->mpdus_expired;
6346 static void ath11k_wmi_pull_pdev_stats_rx(const struct wmi_pdev_stats_rx *src,
6349 dst->mid_ppdu_route_change = src->mid_ppdu_route_change;
6350 dst->status_rcvd = src->status_rcvd;
6351 dst->r0_frags = src->r0_frags;
6352 dst->r1_frags = src->r1_frags;
6353 dst->r2_frags = src->r2_frags;
6354 dst->r3_frags = src->r3_frags;
6355 dst->htt_msdus = src->htt_msdus;
6356 dst->htt_mpdus = src->htt_mpdus;
6357 dst->loc_msdus = src->loc_msdus;
6358 dst->loc_mpdus = src->loc_mpdus;
6359 dst->oversize_amsdu = src->oversize_amsdu;
6360 dst->phy_errs = src->phy_errs;
6361 dst->phy_err_drop = src->phy_err_drop;
6362 dst->mpdu_errs = src->mpdu_errs;
6363 dst->rx_ovfl_errs = src->rx_ovfl_errs;
6367 ath11k_wmi_pull_vdev_stats(const struct wmi_vdev_stats *src,
6372 dst->vdev_id = src->vdev_id;
6373 dst->beacon_snr = src->beacon_snr;
6374 dst->data_snr = src->data_snr;
6375 dst->num_rx_frames = src->num_rx_frames;
6376 dst->num_rts_fail = src->num_rts_fail;
6377 dst->num_rts_success = src->num_rts_success;
6378 dst->num_rx_err = src->num_rx_err;
6379 dst->num_rx_discard = src->num_rx_discard;
6380 dst->num_tx_not_acked = src->num_tx_not_acked;
6382 for (i = 0; i < ARRAY_SIZE(src->num_tx_frames); i++)
6383 dst->num_tx_frames[i] = src->num_tx_frames[i];
6385 for (i = 0; i < ARRAY_SIZE(src->num_tx_frames_retries); i++)
6386 dst->num_tx_frames_retries[i] = src->num_tx_frames_retries[i];
6388 for (i = 0; i < ARRAY_SIZE(src->num_tx_frames_failures); i++)
6389 dst->num_tx_frames_failures[i] = src->num_tx_frames_failures[i];
6391 for (i = 0; i < ARRAY_SIZE(src->tx_rate_history); i++)
6392 dst->tx_rate_history[i] = src->tx_rate_history[i];
6394 for (i = 0; i < ARRAY_SIZE(src->beacon_rssi_history); i++)
6395 dst->beacon_rssi_history[i] = src->beacon_rssi_history[i];
6399 ath11k_wmi_pull_bcn_stats(const struct wmi_bcn_stats *src,
6402 dst->vdev_id = src->vdev_id;
6403 dst->tx_bcn_succ_cnt = src->tx_bcn_succ_cnt;
6404 dst->tx_bcn_outage_cnt = src->tx_bcn_outage_cnt;
6501 const struct wmi_pdev_stats *src;
6504 src = data;
6505 if (len < sizeof(*src)) {
6512 data += sizeof(*src);
6513 len -= sizeof(*src);
6519 ath11k_wmi_pull_pdev_stats_base(&src->base, dst);
6520 ath11k_wmi_pull_pdev_stats_tx(&src->tx, dst);
6521 ath11k_wmi_pull_pdev_stats_rx(&src->rx, dst);
6526 const struct wmi_vdev_stats *src;
6529 src = data;
6530 if (len < sizeof(*src)) {
6537 arvif = ath11k_mac_get_arvif(ar, src->vdev_id);
6544 arsta->rssi_beacon = src->beacon_snr;
6547 src->vdev_id, src->beacon_snr);
6555 data += sizeof(*src);
6556 len -= sizeof(*src);
6562 ath11k_wmi_pull_vdev_stats(src, dst);
6567 const struct wmi_bcn_stats *src;
6570 src = data;
6571 if (len < sizeof(*src)) {
6578 data += sizeof(*src);
6579 len -= sizeof(*src);
6585 ath11k_wmi_pull_bcn_stats(src, dst);