Lines Matching defs:stats

82 	struct ath11k_fw_stats *stats;
1644 "cmd request stats 0x%x vdev id %d pdev id %d\n",
6532 struct ath11k_fw_stats *stats = parse->stats;
6546 stats->stats_id = WMI_REQUEST_RSSI_PER_CHAIN_STAT;
6549 "stats vdev id %d mac %pM\n",
6561 "stats bssid %pM vif %p\n",
6582 "stats beacon rssi[%d] %d data rssi[%d] %d\n",
6599 struct ath11k_fw_stats *stats = parse->stats;
6609 ath11k_warn(ab, "failed to fetch update stats ev");
6613 stats->stats_id = 0;
6629 stats->stats_id = WMI_REQUEST_PDEV_STAT;
6641 list_add_tail(&dst->list, &stats->pdevs);
6654 stats->stats_id = WMI_REQUEST_VDEV_STAT;
6665 "stats vdev id %d snr %d\n",
6682 list_add_tail(&dst->list, &stats->vdevs);
6695 stats->stats_id = WMI_REQUEST_BCN_STAT;
6705 list_add_tail(&dst->list, &stats->bcn);
6723 parse->stats->pdev_id = parse->ev->pdev_id;
6735 "stats id 0x%x num chain %d\n",
6759 struct ath11k_fw_stats *stats)
6763 stats->stats_id = 0;
6764 parse.stats = stats;
6780 "ath11k PDEV stats");
6810 "ath11k PDEV TX stats");
6898 "ath11k PDEV RX stats");
6947 /* VDEV stats has all the active VDEVs of other PDEVs as well,
7021 ath11k_warn(ar->ab, "invalid vdev id %d in bcn stats",
7060 ath11k_warn(ar->ab, "failed to get pdev stats\n");
7072 "ath11k VDEV stats");
7085 "ath11k Beacon stats", num_bcn);
8157 struct ath11k_fw_stats stats = {};
8161 INIT_LIST_HEAD(&stats.pdevs);
8162 INIT_LIST_HEAD(&stats.vdevs);
8163 INIT_LIST_HEAD(&stats.bcn);
8165 ret = ath11k_wmi_pull_fw_stats(ab, skb, &stats);
8167 ath11k_warn(ab, "failed to pull fw stats: %d\n", ret);
8171 ath11k_dbg(ab, ATH11K_DBG_WMI, "event update stats");
8174 ar = ath11k_mac_get_ar_by_pdev_id(ab, stats.pdev_id);
8178 stats.pdev_id, ret);
8185 * debugfs fw stats. Therefore, processing it separately.
8187 if (stats.stats_id == WMI_REQUEST_PDEV_STAT) {
8188 list_splice_tail_init(&stats.pdevs, &ar->fw_stats.pdevs);
8194 * are currently requested only via debugfs fw stats. Hence, processing these
8197 ath11k_debugfs_fw_stats_process(ar, &stats);
8204 /* Since the stats's pdev, vdev and beacon list are spliced and reinitialised
8210 ath11k_fw_stats_free(&stats);