Lines Matching defs:stats

134  * @stats: status in mac80211's format
141 struct ieee80211_rx_status *stats,
161 stats->flag |= RX_FLAG_DECRYPTED;
178 stats->flag |= RX_FLAG_DECRYPTED;
187 stats->flag |= RX_FLAG_DECRYPTED;
802 struct iwl_statistics_operational_ntfy *stats)
806 .flags = stats->flags,
807 .per_mac = stats->per_mac,
814 iwl_mvm_handle_per_phy_stats(mvm, stats->per_phy);
819 struct iwl_statistics_operational_ntfy_ver_14 *stats)
829 flags = stats->flags;
831 data.mac_id = stats->mac_id;
833 le32_to_cpu(stats->beacon_filter_average_energy);
835 data.beacon_counter = stats->beacon_counter;
839 le32_to_cpu(stats->beacon_average_energy[i]);
1057 struct iwl_system_statistics_notif_oper *stats;
1064 "Oper stats notif ver %d is not supported\n",
1069 stats = (void *)&pkt->data;
1070 iwl_mvm_stat_iterator_all_links(mvm, stats->per_link);
1074 le32_to_cpu(stats->per_sta[i].average_energy);
1078 iwl_mvm_handle_per_phy_stats(mvm, stats->per_phy);
1094 "Part1 stats notif ver %d is not supported\n",
1127 struct iwl_statistics_operational_ntfy_ver_14 *stats =
1130 if (!iwl_mvm_verify_stats_len(mvm, pkt, sizeof(*stats)))
1133 iwl_mvm_stats_ver_14(mvm, stats);
1135 flags = stats->flags;
1136 mvm->radio_stats.rx_time = le64_to_cpu(stats->rx_time);
1137 mvm->radio_stats.tx_time = le64_to_cpu(stats->tx_time);
1138 mvm->radio_stats.on_time_rf = le64_to_cpu(stats->on_time_rf);
1140 le64_to_cpu(stats->on_time_scan);
1143 average_energy[i] = le32_to_cpu(stats->average_energy[i]);
1146 air_time[i] = stats->air_time[i];
1147 rx_bytes[i] = stats->rx_bytes[i];
1152 struct iwl_statistics_operational_ntfy *stats =
1155 if (!iwl_mvm_verify_stats_len(mvm, pkt, sizeof(*stats)))
1158 iwl_mvm_stats_ver_15(mvm, stats);
1160 flags = stats->flags;
1161 mvm->radio_stats.rx_time = le64_to_cpu(stats->rx_time);
1162 mvm->radio_stats.tx_time = le64_to_cpu(stats->tx_time);
1163 mvm->radio_stats.on_time_rf = le64_to_cpu(stats->on_time_rf);
1165 le64_to_cpu(stats->on_time_scan);
1169 le32_to_cpu(stats->per_sta[i].average_energy);
1172 air_time[i] = stats->per_mac[i].air_time;
1173 rx_bytes[i] = stats->per_mac[i].rx_bytes;
1227 struct iwl_notif_statistics_v11 *stats = (void *)&pkt->data;
1229 data.mac_id = stats->rx.general.mac_id;
1231 stats->general.common.beacon_filter_average_energy;
1233 mvm->rx_stats_v3 = stats->rx;
1236 le64_to_cpu(stats->general.common.rx_time);
1238 le64_to_cpu(stats->general.common.tx_time);
1240 le64_to_cpu(stats->general.common.on_time_rf);
1242 le64_to_cpu(stats->general.common.on_time_scan);
1244 data.beacon_counter = stats->general.beacon_counter;
1246 stats->general.beacon_average_energy;
1247 flags = stats->flag;
1249 struct iwl_notif_statistics *stats = (void *)&pkt->data;
1251 data.mac_id = stats->rx.general.mac_id;
1253 stats->general.common.beacon_filter_average_energy;
1255 mvm->rx_stats = stats->rx;
1258 le64_to_cpu(stats->general.common.rx_time);
1260 le64_to_cpu(stats->general.common.tx_time);
1262 le64_to_cpu(stats->general.common.on_time_rf);
1264 le64_to_cpu(stats->general.common.on_time_scan);
1266 data.beacon_counter = stats->general.beacon_counter;
1268 stats->general.beacon_average_energy;
1269 flags = stats->flag;
1290 struct iwl_notif_statistics *stats = (void *)&pkt->data;
1292 energy = (void *)&stats->load_stats.avg_energy;
1293 bytes = (void *)&stats->load_stats.byte_count;
1294 air_time = (void *)&stats->load_stats.air_time;