Home
last modified time | relevance | path

Searched refs:peer_stats (Results 1 – 25 of 35) sorted by relevance

12

/wlan-driver/qca-wifi-host-cmn/dp/cmn_dp_api/
H A Ddp_cal_client_api.c133 void dp_cal_client_update_peer_stats(struct cdp_peer_stats *peer_stats) in dp_cal_client_update_peer_stats() argument
135 uint32_t temp_rx_bytes = peer_stats->rx.to_stack.bytes; in dp_cal_client_update_peer_stats()
136 uint32_t temp_rx_data = peer_stats->rx.to_stack.num; in dp_cal_client_update_peer_stats()
137 uint32_t temp_tx_bytes = peer_stats->tx.tx_success.bytes; in dp_cal_client_update_peer_stats()
138 uint32_t temp_tx_data = peer_stats->tx.tx_success.num; in dp_cal_client_update_peer_stats()
139 uint32_t temp_tx_ucast_pkts = peer_stats->tx.ucast.num; in dp_cal_client_update_peer_stats()
141 peer_stats->rx.rx_byte_rate = temp_rx_bytes - in dp_cal_client_update_peer_stats()
142 peer_stats->rx.rx_bytes_success_last; in dp_cal_client_update_peer_stats()
143 peer_stats->rx.rx_data_rate = temp_rx_data - in dp_cal_client_update_peer_stats()
144 peer_stats->rx.rx_data_success_last; in dp_cal_client_update_peer_stats()
[all …]
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/
H A Ddp_stats.c7103 void dp_print_peer_txrx_stats_be(struct cdp_peer_stats *peer_stats, in dp_print_peer_txrx_stats_be() argument
7110 peer_stats->tx.bw[CMN_BW_20MHZ], in dp_print_peer_txrx_stats_be()
7111 peer_stats->tx.bw[CMN_BW_40MHZ], in dp_print_peer_txrx_stats_be()
7112 peer_stats->tx.bw[CMN_BW_80MHZ], in dp_print_peer_txrx_stats_be()
7113 peer_stats->tx.bw[CMN_BW_160MHZ], in dp_print_peer_txrx_stats_be()
7114 peer_stats->tx.bw[CMN_BW_320MHZ]); in dp_print_peer_txrx_stats_be()
7116 peer_stats->tx.punc_bw[NO_PUNCTURE], in dp_print_peer_txrx_stats_be()
7117 peer_stats->tx.punc_bw[PUNCTURED_20MHZ], in dp_print_peer_txrx_stats_be()
7118 peer_stats->tx.punc_bw[PUNCTURED_40MHZ], in dp_print_peer_txrx_stats_be()
7119 peer_stats->tx.punc_bw[PUNCTURED_80MHZ], in dp_print_peer_txrx_stats_be()
[all …]
H A Ddp_cal_client_api.h48 void dp_cal_client_update_peer_stats(struct cdp_peer_stats *peer_stats);
75 void dp_cal_client_update_peer_stats(struct cdp_peer_stats *peer_stats) in dp_cal_client_update_peer_stats() argument
H A Ddp_main.c7382 struct cdp_peer_stats *peer_stats) in dp_get_peer_calibr_stats() argument
7390 peer_stats->tx.last_per = tgt_peer->stats.tx.last_per; in dp_get_peer_calibr_stats()
7391 peer_stats->tx.tx_bytes_success_last = in dp_get_peer_calibr_stats()
7393 peer_stats->tx.tx_data_success_last = in dp_get_peer_calibr_stats()
7395 peer_stats->tx.tx_byte_rate = tgt_peer->stats.tx.tx_byte_rate; in dp_get_peer_calibr_stats()
7396 peer_stats->tx.tx_data_rate = tgt_peer->stats.tx.tx_data_rate; in dp_get_peer_calibr_stats()
7397 peer_stats->tx.tx_data_ucast_last = in dp_get_peer_calibr_stats()
7399 peer_stats->tx.tx_data_ucast_rate = in dp_get_peer_calibr_stats()
7401 peer_stats->tx.inactive_time = tgt_peer->stats.tx.inactive_time; in dp_get_peer_calibr_stats()
7402 peer_stats->rx.rx_bytes_success_last = in dp_get_peer_calibr_stats()
[all …]
H A Ddp_ipa.c4260 struct cdp_peer_stats *peer_stats)
4263 dp_get_peer_stats(peer, peer_stats);
4265 peer_stats->tx.tx_success.num =
4266 peer_stats->tx.tx_ucast_success.num;
4267 peer_stats->tx.tx_success.bytes =
4268 peer_stats->tx.tx_ucast_success.bytes;
4269 peer_stats->tx.ucast.num =
4270 peer_stats->tx.tx_ucast_total.num;
4271 peer_stats->tx.ucast.bytes =
4272 peer_stats->tx.tx_ucast_total.bytes;
[all …]
H A Ddp_ipa.h583 struct cdp_peer_stats *peer_stats);
H A Ddp_types.h2489 void (*txrx_print_peer_stats)(struct cdp_peer_stats *peer_stats,
5381 void dp_print_peer_txrx_stats_be(struct cdp_peer_stats *peer_stats,
5383 void dp_print_peer_txrx_stats_li(struct cdp_peer_stats *peer_stats,
5386 void dp_print_peer_txrx_stats_rh(struct cdp_peer_stats *peer_stats,
/wlan-driver/qcacld-3.0/components/cp_stats/dispatcher/src/
H A Dwlan_cp_stats_mc_tgt_api.c50 is_last_event = !!ev->peer_stats; in tgt_mc_cp_stats_is_last_event()
209 peer_mc_stats = peer_cp_stats_priv->peer_stats; in peer_rssi_iterator()
211 ev->peer_stats[ev->num_peer_stats] = *peer_mc_stats; in peer_rssi_iterator()
252 ev.peer_stats = qdf_mem_malloc(sizeof(*ev.peer_stats) * in tgt_mc_cp_stats_prepare_raw_peer_rssi()
254 if (!ev.peer_stats) in tgt_mc_cp_stats_prepare_raw_peer_rssi()
281 ev.peer_stats = qdf_mem_malloc(sizeof(*ev.peer_stats)); in tgt_mc_cp_stats_prepare_raw_peer_rssi()
282 if (!ev.peer_stats) in tgt_mc_cp_stats_prepare_raw_peer_rssi()
295 peer_mc_stats = peer_cp_stats_priv->peer_stats; in tgt_mc_cp_stats_prepare_raw_peer_rssi()
296 *ev.peer_stats = *peer_mc_stats; in tgt_mc_cp_stats_prepare_raw_peer_rssi()
343 peer_mc_stats = peer_cp_stats_priv->peer_stats; in tgt_mc_cp_stats_update_peer_adv_stats()
[all …]
H A Dwlan_cp_stats_mc_ucfg_api.c130 peer_mc_stats = peer_cp_stats_priv->peer_stats; in ucfg_twt_get_single_peer_session_params()
243 mc_cp_stats = cp_stats_peer_obj->peer_stats; in ucfg_twt_get_all_peer_session_params()
398 peer_cs->peer_stats = peer_mc_stats; in wlan_cp_stats_peer_cs_init()
405 struct peer_mc_cp_stats *peer_mc_stats = peer_cs->peer_stats; in wlan_cp_stats_peer_cs_deinit()
411 qdf_mem_free(peer_cs->peer_stats); in wlan_cp_stats_peer_cs_deinit()
412 peer_cs->peer_stats = NULL; in wlan_cp_stats_peer_cs_deinit()
987 qdf_mem_free(ev->peer_stats); in ucfg_mc_cp_stats_free_stats_resources()
/wlan-driver/qcacld-3.0/components/target_if/cp_stats/src/
H A Dtarget_if_mc_cp_stats.c133 mc_cp_stats = cp_stats_peer_obj->peer_stats; in target_if_obtain_mc_cp_stat_obj()
372 qdf_mem_free(ev->peer_stats); in target_if_cp_stats_free_stats_event()
373 ev->peer_stats = NULL; in target_if_cp_stats_free_stats_event()
540 struct cdp_peer_stats *peer_stats; in target_if_cp_stats_extract_peer_extd_stats() local
566 peer_stats = qdf_mem_malloc(sizeof(*peer_stats)); in target_if_cp_stats_extract_peer_extd_stats()
567 if (!peer_stats) in target_if_cp_stats_extract_peer_extd_stats()
572 peer_stats); in target_if_cp_stats_extract_peer_extd_stats()
575 peer_stats->rx.multicast.num + in target_if_cp_stats_extract_peer_extd_stats()
576 peer_stats->rx.bcast.num; in target_if_cp_stats_extract_peer_extd_stats()
578 qdf_mem_free(peer_stats); in target_if_cp_stats_extract_peer_extd_stats()
[all …]
/wlan-driver/qcacld-3.0/core/wma/src/
H A Dwma_utils.c1191 struct sir_wifi_ll_ext_peer_stats *peer_stats; in wma_fill_tx_stats() local
1267 peer_stats = ll_stats->peer_stats; in wma_fill_tx_stats()
1268 if (!wmi_peer_tx || !wmi_tx || !peer_stats) { in wma_fill_tx_stats()
1270 wmi_peer_tx, wmi_tx, peer_stats); in wma_fill_tx_stats()
1286 peer_stats += j; in wma_fill_tx_stats()
1287 if (peer_stats->peer_id == WIFI_INVALID_PEER_ID || in wma_fill_tx_stats()
1288 peer_stats->peer_id == peer_id) in wma_fill_tx_stats()
1293 peer_stats->peer_id = wmi_peer_tx[i].peer_id; in wma_fill_tx_stats()
1294 peer_stats->vdev_id = wmi_peer_tx[i].vdev_id; in wma_fill_tx_stats()
1312 peer_stats->ac_stats[k].tx_stats = ac; in wma_fill_tx_stats()
[all …]
H A Dwma_features.c268 struct cdp_peer_stats *peer_stats; in wma_get_rx_retry_cnt() local
271 peer_stats = qdf_mem_malloc(sizeof(*peer_stats)); in wma_get_rx_retry_cnt()
272 if (!peer_stats) in wma_get_rx_retry_cnt()
276 vdev_id, mac_addr, peer_stats); in wma_get_rx_retry_cnt()
283 mac->rx_retry_cnt = peer_stats->rx.rx_retries; in wma_get_rx_retry_cnt()
288 qdf_mem_free(peer_stats); in wma_get_rx_retry_cnt()
/wlan-driver/qca-wifi-host-cmn/wmi/src/
H A Dwmi_unified_cp_stats_api.c115 uint32_t index, wmi_host_peer_stats *peer_stats) in wmi_extract_peer_stats() argument
119 evt_buf, index, peer_stats); in wmi_extract_peer_stats()
H A Dwmi_unified_cp_stats_tlv.c1083 wmi_host_peer_stats *peer_stats) in extract_peer_stats_tlv() argument
1099 OS_MEMSET(peer_stats, 0, sizeof(wmi_host_peer_stats)); in extract_peer_stats_tlv()
1101 OS_MEMCPY(&(peer_stats->peer_macaddr), 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()
/wlan-driver/qcacld-3.0/os_if/cp_stats/src/
H A Dwlan_cfg80211_mc_cp_stats.c159 qdf_mem_free(stats->peer_stats); in wlan_cfg80211_mc_cp_stats_dealloc()
456 if (!ev->peer_stats) { in get_peer_rssi_cb()
462 rssi_size = sizeof(*ev->peer_stats) * ev->num_peer_stats; in get_peer_rssi_cb()
468 priv->peer_stats = qdf_mem_malloc(rssi_size); in get_peer_rssi_cb()
469 if (!priv->peer_stats) in get_peer_rssi_cb()
473 qdf_mem_copy(priv->peer_stats, ev->peer_stats, rssi_size); in get_peer_rssi_cb()
531 if (!priv->peer_stats || priv->num_peer_stats == 0) { in wlan_cfg80211_mc_cp_stats_get_peer_rssi()
533 priv->num_peer_stats, priv->peer_stats); in wlan_cfg80211_mc_cp_stats_get_peer_rssi()
538 out->peer_stats = priv->peer_stats; in wlan_cfg80211_mc_cp_stats_get_peer_rssi()
539 priv->peer_stats = NULL; in wlan_cfg80211_mc_cp_stats_get_peer_rssi()
[all …]
/wlan-driver/qcacld-3.0/core/hdd/src/
H A Dwlan_hdd_station_info.c1793 struct cdp_peer_stats *peer_stats; in hdd_get_peer_stats() local
1799 peer_stats = qdf_mem_malloc(sizeof(*peer_stats)); in hdd_get_peer_stats()
1800 if (!peer_stats) in hdd_get_peer_stats()
1804 stainfo->sta_mac.bytes, peer_stats); in hdd_get_peer_stats()
1807 qdf_mem_free(peer_stats); in hdd_get_peer_stats()
1811 stainfo->rx_retry_cnt = peer_stats->rx.rx_retries; in hdd_get_peer_stats()
1813 stainfo->rx_mc_bc_cnt = peer_stats->rx.multicast.num + in hdd_get_peer_stats()
1814 peer_stats->rx.bcast.num; in hdd_get_peer_stats()
1816 stainfo->rx_mc_bc_cnt += peer_stats->rx.multicast.num + in hdd_get_peer_stats()
1817 peer_stats->rx.bcast.num; in hdd_get_peer_stats()
[all …]
H A Dwlan_hdd_stats.c281 hdd_stats->peer_stats.rx_count = stats->peer_adv_stats->rx_count; in copy_station_stats_to_adapter()
282 hdd_stats->peer_stats.rx_bytes = stats->peer_adv_stats->rx_bytes; in copy_station_stats_to_adapter()
283 hdd_stats->peer_stats.fcs_count = stats->peer_adv_stats->fcs_count; in copy_station_stats_to_adapter()
4460 if (hdd_populate_wifi_ll_ext_peer_info(&stats->peer_stats[i], in hdd_populate_wifi_ll_ext_stats()
4493 struct wifi_peer_stat *peer_stats; in wlan_hdd_cfg80211_link_layer_stats_ext_callback() local
4530 peer_stats = (struct wifi_peer_stat *)results; in wlan_hdd_cfg80211_link_layer_stats_ext_callback()
4531 status = hdd_populate_wifi_peer_ps_info(peer_stats, skb); in wlan_hdd_cfg80211_link_layer_stats_ext_callback()
5748 struct cdp_peer_stats *peer_stats; in wlan_hdd_fill_per_link_summary_stats() local
5757 peer_stats = qdf_mem_malloc(sizeof(*peer_stats)); in wlan_hdd_fill_per_link_summary_stats()
5758 if (!peer_stats) in wlan_hdd_fill_per_link_summary_stats()
[all …]
H A Dwlan_hdd_son.c2631 stats->ns_rssi = stats_info->peer_stats[0].peer_rssi; in hdd_son_get_sta_stats()
2632 stats->ns_last_tx_rate = stats_info->peer_stats[0].tx_rate; in hdd_son_get_sta_stats()
2633 stats->ns_last_rx_rate = stats_info->peer_stats[0].rx_rate; in hdd_son_get_sta_stats()
/wlan-driver/qca-wifi-host-cmn/dp/inc/
H A Dcdp_txrx_host_stats.h528 struct cdp_peer_stats *peer_stats) in cdp_host_get_peer_stats() argument
542 peer_stats); in cdp_host_get_peer_stats()
560 struct cdp_peer_stats *peer_stats, in cdp_host_get_peer_stats_based_on_peer_type() argument
576 peer_stats, in cdp_host_get_peer_stats_based_on_peer_type()
597 struct cdp_peer_stats *peer_stats, in cdp_host_get_per_link_peer_stats() argument
613 peer_stats, in cdp_host_get_per_link_peer_stats()
/wlan-driver/qcacld-3.0/components/dp/core/src/
H A Dwlan_dp_bus_bandwidth.c1776 struct cdp_peer_stats *peer_stats; in dp_link_monitoring() local
1820 peer_stats = qdf_mem_malloc(sizeof(*peer_stats)); in dp_link_monitoring()
1821 if (!peer_stats) in dp_link_monitoring()
1831 qdf_mem_free(peer_stats); in dp_link_monitoring()
1837 peer_stats); in dp_link_monitoring()
1839 qdf_mem_free(peer_stats); in dp_link_monitoring()
1843 link_speed = peer_stats->rx.last_rx_rate / 1000; in dp_link_monitoring()
1869 qdf_mem_free(peer_stats); in dp_link_monitoring()
/wlan-driver/qca-wifi-host-cmn/wmi/inc/
H A Dwmi_unified_cp_stats_api.h154 uint32_t index, wmi_host_peer_stats *peer_stats);
/wlan-driver/qca-wifi-host-cmn/umac/cp_stats/core/src/
H A Dwlan_cp_stats_defs.h120 peer_ext_cp_stats_t *peer_stats; member
/wlan-driver/qcacld-3.0/components/cp_stats/dispatcher/inc/
H A Dwlan_cp_stats_mc_defs.h793 struct peer_mc_cp_stats *peer_stats; member
/wlan-driver/qcacld-3.0/components/dp/dispatcher/inc/
H A Dwlan_dp_ucfg_api.h1614 struct cdp_peer_stats *peer_stats,
/wlan-driver/qcacld-3.0/os_if/tdls/src/
H A Dwlan_cfg80211_tdls.c1000 ucfg_tdls_set_rssi(vdev, rssi_info->peer_stats[i].peer_macaddr, in wlan_cfg80211_update_tdls_peers_rssi()
1001 rssi_info->peer_stats[i].peer_rssi); in wlan_cfg80211_update_tdls_peers_rssi()

12