Lines Matching refs:peer_stats_intf
1445 struct cdp_interface_peer_stats *peer_stats_intf) in dp_peer_get_tx_rx_stats() argument
1452 peer_stats_intf->rx_byte_count += in dp_peer_get_tx_rx_stats()
1454 peer_stats_intf->rx_packet_count += in dp_peer_get_tx_rx_stats()
1457 peer_stats_intf->tx_packet_count = in dp_peer_get_tx_rx_stats()
1459 peer_stats_intf->tx_byte_count = in dp_peer_get_tx_rx_stats()
1465 struct cdp_interface_peer_stats *peer_stats_intf) in dp_peer_get_tx_rx_stats() argument
1474 peer_stats_intf->rx_packet_count = txrx_peer->to_stack.num; in dp_peer_get_tx_rx_stats()
1475 peer_stats_intf->rx_byte_count = txrx_peer->to_stack.bytes; in dp_peer_get_tx_rx_stats()
1479 peer_stats_intf->tx_packet_count += in dp_peer_get_tx_rx_stats()
1481 peer_stats_intf->tx_byte_count += in dp_peer_get_tx_rx_stats()
1489 struct cdp_interface_peer_stats peer_stats_intf = {0}; in dp_peer_stats_notify() local
1508 peer_stats_intf.rssi_changed = true; in dp_peer_stats_notify()
1510 if ((mon_peer_stats->rx.snr && peer_stats_intf.rssi_changed) || in dp_peer_stats_notify()
1513 qdf_mem_copy(peer_stats_intf.peer_mac, peer->mac_addr.raw, in dp_peer_stats_notify()
1515 peer_stats_intf.vdev_id = peer->vdev->vdev_id; in dp_peer_stats_notify()
1516 peer_stats_intf.last_peer_tx_rate = in dp_peer_stats_notify()
1518 peer_stats_intf.peer_tx_rate = mon_peer_stats->tx.tx_rate; in dp_peer_stats_notify()
1519 peer_stats_intf.peer_rssi = mon_peer_stats->rx.snr; in dp_peer_stats_notify()
1520 peer_stats_intf.ack_rssi = mon_peer_stats->tx.last_ack_rssi; in dp_peer_stats_notify()
1521 dp_peer_get_tx_rx_stats(peer, &peer_stats_intf); in dp_peer_stats_notify()
1522 peer_stats_intf.per = tgt_peer->stats.tx.last_per; in dp_peer_stats_notify()
1523 peer_stats_intf.free_buff = INVALID_FREE_BUFF; in dp_peer_stats_notify()
1525 (void *)&peer_stats_intf, 0, in dp_peer_stats_notify()
2273 struct cdp_calibr_stats_intf peer_stats_intf = {0}; in dp_peer_cal_clients_stats_update() local
2285 peer_stats_intf.to_stack = txrx_peer->to_stack; in dp_peer_cal_clients_stats_update()
2286 peer_stats_intf.tx_success = in dp_peer_cal_clients_stats_update()
2288 peer_stats_intf.tx_ucast = in dp_peer_cal_clients_stats_update()
2291 dp_cal_client_update_peer_stats_wifi3(&peer_stats_intf, in dp_peer_cal_clients_stats_update()
2301 struct cdp_calibr_stats_intf peer_stats_intf = {0}; in dp_peer_cal_clients_stats_update() local
2315 peer_stats_intf.to_stack = txrx_peer->to_stack; in dp_peer_cal_clients_stats_update()
2319 peer_stats_intf.tx_success.num += in dp_peer_cal_clients_stats_update()
2321 peer_stats_intf.tx_success.bytes += in dp_peer_cal_clients_stats_update()
2323 peer_stats_intf.tx_ucast.num += in dp_peer_cal_clients_stats_update()
2325 peer_stats_intf.tx_ucast.bytes += in dp_peer_cal_clients_stats_update()
2329 dp_cal_client_update_peer_stats_wifi3(&peer_stats_intf, in dp_peer_cal_clients_stats_update()
2657 struct cdp_interface_peer_stats peer_stats_intf = {0}; in dp_send_stats_event() local
2667 peer_stats_intf.rx_avg_snr = mon_peer->stats.rx.avg_snr; in dp_send_stats_event()
2672 peer_stats_intf.rx_byte_count = txrx_peer->to_stack.bytes; in dp_send_stats_event()
2674 peer_stats_intf.tx_byte_count += in dp_send_stats_event()
2679 &peer_stats_intf, peer_id, in dp_send_stats_event()