/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/monitor/1.0/ |
H A D | dp_mon_filter_1.0.c | 41 struct dp_mon_pdev *mon_pdev = pdev->monitor_pdev; in dp_mon_filter_check_co_exist() local 46 if ((mon_pdev->rx_enh_capture_mode != CDP_RX_ENH_CAPTURE_DISABLED) && in dp_mon_filter_check_co_exist() 47 ((mon_pdev->neighbour_peers_added && mon_pdev->mvdev) || in dp_mon_filter_check_co_exist() 48 mon_pdev->mcopy_mode)) { in dp_mon_filter_check_co_exist() 52 mon_pdev->neighbour_peers_added, in dp_mon_filter_check_co_exist() 53 mon_pdev->mcopy_mode); in dp_mon_filter_check_co_exist() 60 if ((mon_pdev->mvdev && mon_pdev->monitor_configured) && in dp_mon_filter_check_co_exist() 61 (mon_pdev->mcopy_mode || mon_pdev->neighbour_peers_added)) { in dp_mon_filter_check_co_exist() 65 pdev->soc, mon_pdev->mcopy_mode, in dp_mon_filter_check_co_exist() 66 mon_pdev->neighbour_peers_added); in dp_mon_filter_check_co_exist() [all …]
|
H A D | dp_mon_1.0.c | 75 struct dp_mon_pdev *mon_pdev = pdev->monitor_pdev; in is_ppdu_txrx_capture_enabled() local 77 if (!mon_pdev->pktlog_ppdu_stats && !mon_pdev->tx_sniffer_enable && in is_ppdu_txrx_capture_enabled() 78 !mon_pdev->mcopy_mode) in is_ppdu_txrx_capture_enabled() 92 struct dp_mon_pdev *mon_pdev = pdev->monitor_pdev; in dp_mon_tx_enable_enhanced_stats_1_0() local 94 if (is_ppdu_txrx_capture_enabled(pdev) && !mon_pdev->bpr_enable) { in dp_mon_tx_enable_enhanced_stats_1_0() 98 mon_pdev->bpr_enable) { in dp_mon_tx_enable_enhanced_stats_1_0() 113 struct dp_mon_pdev *mon_pdev = pdev->monitor_pdev; in dp_mon_tx_disable_enhanced_stats_1_0() local 115 if (is_ppdu_txrx_capture_enabled(pdev) && !mon_pdev->bpr_enable) { in dp_mon_tx_disable_enhanced_stats_1_0() 117 } else if (is_ppdu_txrx_capture_enabled(pdev) && mon_pdev->bpr_enable) { in dp_mon_tx_disable_enhanced_stats_1_0() 183 struct dp_mon_pdev *mon_pdev = pdev->monitor_pdev; in dp_flush_monitor_rings() local [all …]
|
H A D | dp_rx_mon_status_1.0.c | 74 struct dp_mon_pdev *mon_pdev = pdev->monitor_pdev; in dp_rx_mon_handle_status_buf_done() local 109 mon_pdev->rx_mon_stats.tlv_tag_status_err++; in dp_rx_mon_handle_status_buf_done() 113 mon_pdev->rx_mon_stats.status_buf_done_war++; in dp_rx_mon_handle_status_buf_done() 292 struct dp_mon_pdev *mon_pdev = NULL; in dp_rx_mon_update_scan_spcl_vap_stats() local 297 mon_pdev = pdev->monitor_pdev; in dp_rx_mon_update_scan_spcl_vap_stats() 298 if (!mon_pdev || !mon_pdev->mvdev) in dp_rx_mon_update_scan_spcl_vap_stats() 301 mon_vdev = mon_pdev->mvdev->monitor_vdev; in dp_rx_mon_update_scan_spcl_vap_stats() 437 struct dp_mon_pdev *mon_pdev; in dp_rx_mon_status_process_tlv() local 445 mon_pdev = pdev->monitor_pdev; in dp_rx_mon_status_process_tlv() 446 ppdu_info = &mon_pdev->ppdu_info; in dp_rx_mon_status_process_tlv() [all …]
|
H A D | dp_rx_mon_dest_1.0.c | 59 struct dp_mon_pdev *mon_pdev = pdev->monitor_pdev; in dp_handle_tx_capture() local 60 struct hal_rx_ppdu_info *ppdu_info = &mon_pdev->ppdu_info; in dp_handle_tx_capture() 62 if (mon_pdev->tx_capture_enabled in dp_handle_tx_capture() 77 struct dp_mon_pdev *mon_pdev = dp_pdev->monitor_pdev; in dp_tx_capture_get_user_id() local 79 if (mon_pdev->tx_capture_enabled in dp_tx_capture_get_user_id() 81 mon_pdev->ppdu_info.rx_info.user_id = in dp_tx_capture_get_user_id() 193 struct dp_mon_pdev *mon_pdev; in dp_rx_mon_mpdu_pop() local 200 mon_pdev = dp_pdev->monitor_pdev; in dp_rx_mon_mpdu_pop() 208 rs = &mon_pdev->rx_mon_recv_status; in dp_rx_mon_mpdu_pop() 218 (rxdma_err == HAL_RXDMA_ERR_FCS && mon_pdev->mcopy_mode) || in dp_rx_mon_mpdu_pop() [all …]
|
H A D | dp_mon_1.0.h | 141 struct dp_mon_pdev mon_pdev; member
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/monitor/ |
H A D | dp_mon_filter.c | 74 void dp_mon_filter_show_filter(struct dp_mon_pdev *mon_pdev, in dp_mon_filter_show_filter() argument 163 struct dp_mon_pdev *mon_pdev = pdev->monitor_pdev; in dp_mon_filter_h2t_setup() local 171 &mon_pdev->filter[current_mode][srng_type]; in dp_mon_filter_h2t_setup() 283 dp_mon_filter_show_filter(mon_pdev, 0, filter); in dp_mon_filter_h2t_setup() 754 struct dp_mon_pdev *mon_pdev = pdev->monitor_pdev; in dp_mon_filter_set_mon_cmn() local 770 (mon_pdev->mon_filter_mode & MON_FILTER_PASS) ? 1 : 0; in dp_mon_filter_set_mon_cmn() 772 (mon_pdev->mon_filter_mode & MON_FILTER_OTHER) ? 1 : 0; in dp_mon_filter_set_mon_cmn() 774 filter->tlv_filter.fp_mgmt_filter = mon_pdev->fp_mgmt_filter; in dp_mon_filter_set_mon_cmn() 775 filter->tlv_filter.fp_ctrl_filter = mon_pdev->fp_ctrl_filter; in dp_mon_filter_set_mon_cmn() 776 filter->tlv_filter.fp_data_filter = mon_pdev->fp_data_filter; in dp_mon_filter_set_mon_cmn() [all …]
|
H A D | dp_mon.c | 63 struct dp_mon_pdev *mon_pdev = pdev->monitor_pdev; in dp_pdev_disable_mcopy_code() local 65 mon_pdev->mcopy_mode = M_COPY_DISABLED; in dp_pdev_disable_mcopy_code() 66 mon_pdev->mvdev = NULL; in dp_pdev_disable_mcopy_code() 73 struct dp_mon_pdev *mon_pdev = pdev->monitor_pdev; in dp_reset_mcopy_mode() local 76 if (mon_pdev->mcopy_mode) { in dp_reset_mcopy_mode() 88 mon_pdev->monitor_configured = false; in dp_reset_mcopy_mode() 96 struct dp_mon_pdev *mon_pdev = pdev->monitor_pdev; in dp_config_mcopy_mode() local 100 if (mon_pdev->mvdev) in dp_config_mcopy_mode() 103 mon_pdev->mcopy_mode = val; in dp_config_mcopy_mode() 104 mon_pdev->tx_sniffer_enable = 0; in dp_config_mcopy_mode() [all …]
|
H A D | dp_rx_mon.c | 310 struct dp_mon_pdev *mon_pdev) in dp_rx_mon_rf_index_conv() argument 312 uint32_t xbar_config = mon_pdev->rssi_offsets.xbar_config; in dp_rx_mon_rf_index_conv() 314 if (mon_pdev->rssi_dbm_conv_support && xbar_config) in dp_rx_mon_rf_index_conv() 320 struct dp_mon_pdev *mon_pdev) in dp_rx_mon_rf_index_conv() argument 333 struct dp_mon_pdev *mon_pdev = pdev->monitor_pdev; in dp_rx_populate_rx_rssi_chain() local 337 chain_rf = dp_rx_mon_rf_index_conv(chain, mon_pdev); in dp_rx_populate_rx_rssi_chain() 912 struct dp_mon_pdev *mon_pdev = NULL; in dp_rx_stats_update() local 924 mon_pdev = pdev->monitor_pdev; in dp_rx_stats_update() 936 mon_peer = mon_pdev->invalid_mon_peer; in dp_rx_stats_update() 1102 struct dp_mon_pdev *mon_pdev = pdev->monitor_pdev; in dp_rx_handle_ppdu_stats() local [all …]
|
H A D | dp_mon_filter.h | 414 void dp_mon_filter_dealloc(struct dp_mon_pdev *mon_pdev); 421 struct dp_mon_filter **dp_mon_filter_alloc(struct dp_mon_pdev *mon_pdev); 429 void dp_mon_filter_show_filter(struct dp_mon_pdev *mon_pdev, 474 void dp_mon_filter_set_status_cmn(struct dp_mon_pdev *mon_pdev, 525 void dp_mon_filter_dealloc(struct dp_mon_pdev *mon_pdev); 532 struct dp_mon_filter **dp_mon_filter_alloc(struct dp_mon_pdev *mon_pdev); 591 QDF_STATUS dp_mon_set_local_pkt_capture_running(struct dp_mon_pdev *mon_pdev, 603 QDF_STATUS dp_mon_set_local_pkt_capture_running(struct dp_mon_pdev *mon_pdev, in dp_mon_set_local_pkt_capture_running() argument
|
H A D | dp_mon.h | 1566 struct dp_mon_pdev *mon_pdev; in dp_monitor_check_com_info_ppdu_id() local 1572 mon_pdev = pdev->monitor_pdev; in dp_monitor_check_com_info_ppdu_id() 1573 if (qdf_likely(1 != mon_pdev->ppdu_info.rx_status.rxpcu_filter_pass)) in dp_monitor_check_com_info_ppdu_id() 1581 if (msdu_ppdu_id != mon_pdev->ppdu_info.com_info.ppdu_id) { in dp_monitor_check_com_info_ppdu_id() 1586 mon_pdev->ppdu_info.com_info.ppdu_id); in dp_monitor_check_com_info_ppdu_id() 1741 struct dp_mon_pdev *mon_pdev; in dp_monitor_get_mpdu_status() local 1746 mon_pdev = pdev->monitor_pdev; in dp_monitor_get_mpdu_status() 1748 &mon_pdev->ppdu_info.rx_status); in dp_monitor_get_mpdu_status() 2378 struct dp_mon_pdev *mon_pdev = pdev->monitor_pdev; in dp_monitor_config_undecoded_metadata_phyrx_error_mask() local 2384 if (!mon_pdev) in dp_monitor_config_undecoded_metadata_phyrx_error_mask() [all …]
|
H A D | dp_rx_mon.h | 818 dp_mon_rx_stats_update_rssi_dbm_params(struct dp_mon_pdev *mon_pdev,
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/monitor/2.0/ |
H A D | dp_rx_mon_2.0.c | 285 dp_rx_mon_update_drop_cnt(struct dp_mon_pdev *mon_pdev, in dp_rx_mon_update_drop_cnt() argument 288 mon_pdev->rx_mon_stats.empty_desc_ppdu++; in dp_rx_mon_update_drop_cnt() 289 mon_pdev->rx_mon_stats.ppdu_drop_cnt += in dp_rx_mon_update_drop_cnt() 291 mon_pdev->rx_mon_stats.mpdu_drop_cnt += in dp_rx_mon_update_drop_cnt() 294 mon_pdev->rx_mon_stats.end_of_ppdu_drop_cnt++; in dp_rx_mon_update_drop_cnt() 295 mon_pdev->rx_mon_stats.tlv_drop_cnt += in dp_rx_mon_update_drop_cnt() 513 struct dp_mon_pdev *mon_pdev = pdev->monitor_pdev; in dp_rx_mon_ppdu_info_cache_create() local 515 dp_get_be_mon_pdev_from_dp_mon_pdev(mon_pdev); in dp_rx_mon_ppdu_info_cache_create() 547 struct dp_mon_pdev *mon_pdev = pdev->monitor_pdev; in dp_rx_mon_ppdu_info_cache_destroy() local 549 dp_get_be_mon_pdev_from_dp_mon_pdev(mon_pdev); in dp_rx_mon_ppdu_info_cache_destroy() [all …]
|
H A D | dp_tx_mon_status_2.0.c | 40 struct dp_mon_pdev *mon_pdev; in dp_tx_mon_status_free_packet_buf() local 51 mon_pdev = pdev->monitor_pdev; in dp_tx_mon_status_free_packet_buf() 52 if (qdf_unlikely(!mon_pdev)) in dp_tx_mon_status_free_packet_buf() 55 mon_pdev_be = dp_get_be_mon_pdev_from_dp_mon_pdev(mon_pdev); in dp_tx_mon_status_free_packet_buf() 112 mon_pdev->is_tlv_hdr_64_bit); in dp_tx_mon_status_free_packet_buf() 316 struct dp_mon_pdev *mon_pdev; in dp_tx_mon_generate_cts2self_frm() local 329 mon_pdev = pdev->monitor_pdev; in dp_tx_mon_generate_cts2self_frm() 330 if (qdf_unlikely(!mon_pdev)) in dp_tx_mon_generate_cts2self_frm() 333 mon_pdev_be = dp_get_be_mon_pdev_from_dp_mon_pdev(mon_pdev); in dp_tx_mon_generate_cts2self_frm() 397 struct dp_mon_pdev *mon_pdev; in dp_tx_mon_generate_rts_frm() local [all …]
|
H A D | dp_tx_mon_2.0.c | 107 struct dp_mon_pdev *mon_pdev; in dp_tx_mon_srng_process_2_0() local 122 mon_pdev = pdev->monitor_pdev; in dp_tx_mon_srng_process_2_0() 131 mon_pdev_be = dp_get_be_mon_pdev_from_dp_mon_pdev(mon_pdev); in dp_tx_mon_srng_process_2_0() 140 qdf_spin_lock_bh(&mon_pdev->mon_lock); in dp_tx_mon_srng_process_2_0() 148 qdf_spin_unlock_bh(&mon_pdev->mon_lock); in dp_tx_mon_srng_process_2_0() 247 dp_tx_mon_update_end_reason(mon_pdev, in dp_tx_mon_srng_process_2_0() 286 qdf_spin_unlock_bh(&mon_pdev->mon_lock); in dp_tx_mon_srng_process_2_0() 541 struct dp_mon_pdev *mon_pdev = pdev->monitor_pdev; in dp_tx_mon_get_ppdu_info() local 543 dp_get_be_mon_pdev_from_dp_mon_pdev(mon_pdev); in dp_tx_mon_get_ppdu_info() 595 struct dp_mon_pdev *mon_pdev = pdev->monitor_pdev; in dp_print_pdev_tx_monitor_stats_2_0() local [all …]
|
H A D | dp_rx_mon_status_2.0.c | 38 struct dp_mon_pdev *mon_pdev = pdev->monitor_pdev; in dp_rx_process_pktlog_be() local 42 if (!mon_pdev->dp_peer_based_pktlog && in dp_rx_process_pktlog_be() 43 (mon_pdev->rx_pktlog_mode == DP_RX_PKTLOG_DISABLED)) { in dp_rx_process_pktlog_be() 56 if (mon_pdev->dp_peer_based_pktlog && ppdu_info) { in dp_rx_process_pktlog_be() 60 if (mon_pdev->rx_pktlog_mode == DP_RX_PKTLOG_FULL) in dp_rx_process_pktlog_be() 62 else if (mon_pdev->rx_pktlog_mode == DP_RX_PKTLOG_LITE) in dp_rx_process_pktlog_be()
|
H A D | dp_mon_filter_2.0.c | 44 struct dp_mon_pdev *mon_pdev = NULL; in dp_mon_filter_dealloc_2_0() local 52 mon_pdev = pdev->monitor_pdev; in dp_mon_filter_dealloc_2_0() 53 if (!mon_pdev) { in dp_mon_filter_dealloc_2_0() 58 mon_pdev_be = dp_get_be_mon_pdev_from_dp_mon_pdev(mon_pdev); in dp_mon_filter_dealloc_2_0() 81 struct dp_mon_pdev *mon_pdev = NULL; in dp_mon_filter_alloc_2_0() local 89 mon_pdev = pdev->monitor_pdev; in dp_mon_filter_alloc_2_0() 90 if (!mon_pdev) { in dp_mon_filter_alloc_2_0() 95 mon_pdev_be = dp_get_be_mon_pdev_from_dp_mon_pdev(mon_pdev); in dp_mon_filter_alloc_2_0() 118 dp_mon_filter_dealloc(mon_pdev); in dp_mon_filter_alloc_2_0() 174 struct dp_mon_pdev *mon_pdev; in dp_rx_mon_word_mask_subscribe() local [all …]
|
H A D | dp_rx_mon_2.0.h | 65 dp_rx_mon_get_ppdu_info(struct dp_mon_pdev *mon_pdev); 70 __dp_rx_mon_free_ppdu_info(struct dp_mon_pdev *mon_pdev, 83 dp_rx_mon_get_ppdu_info(struct dp_mon_pdev *mon_pdev) in dp_rx_mon_get_ppdu_info() argument 85 qdf_mem_zero(&mon_pdev->ppdu_info, sizeof(struct hal_rx_ppdu_info)); in dp_rx_mon_get_ppdu_info() 86 return &mon_pdev->ppdu_info; in dp_rx_mon_get_ppdu_info() 96 __dp_rx_mon_free_ppdu_info(struct dp_mon_pdev *mon_pdev, in __dp_rx_mon_free_ppdu_info() argument 307 dp_rx_mon_get_ppdu_info(struct dp_mon_pdev *mon_pdev) in dp_rx_mon_get_ppdu_info() argument 494 void dp_mon_free_parent_nbuf(struct dp_mon_pdev *mon_pdev,
|
H A D | dp_mon_2.0.c | 661 struct dp_mon_pdev *mon_pdev = pdev->monitor_pdev; in dp_mon_pdev_alloc_2_0() local 663 dp_get_be_mon_pdev_from_dp_mon_pdev(mon_pdev); in dp_mon_pdev_alloc_2_0() 1133 struct dp_mon_pdev *mon_pdev = NULL; in dp_mon_pdev_tlv_logger_init() local 1141 mon_pdev = pdev->monitor_pdev; in dp_mon_pdev_tlv_logger_init() 1142 if (!mon_pdev) in dp_mon_pdev_tlv_logger_init() 1145 mon_pdev_be = dp_get_be_mon_pdev_from_dp_mon_pdev(mon_pdev); in dp_mon_pdev_tlv_logger_init() 1196 struct dp_mon_pdev *mon_pdev = NULL; in dp_mon_pdev_tlv_logger_deinit() local 1202 mon_pdev = pdev->monitor_pdev; in dp_mon_pdev_tlv_logger_deinit() 1203 if (!mon_pdev) in dp_mon_pdev_tlv_logger_deinit() 1206 mon_pdev_be = dp_get_be_mon_pdev_from_dp_mon_pdev(mon_pdev); in dp_mon_pdev_tlv_logger_deinit()
|
H A D | dp_mon_2.0.h | 271 struct dp_mon_pdev mon_pdev; member 597 struct dp_mon_pdev_be *dp_get_be_mon_pdev_from_dp_mon_pdev(struct dp_mon_pdev *mon_pdev) in dp_get_be_mon_pdev_from_dp_mon_pdev() argument 599 return (struct dp_mon_pdev_be *)mon_pdev; in dp_get_be_mon_pdev_from_dp_mon_pdev()
|
H A D | dp_tx_mon_2.0.h | 72 void dp_tx_mon_update_end_reason(struct dp_mon_pdev *mon_pdev,
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/rh/ |
H A D | dp_rh.h | 92 struct dp_mon_pdev mon_pdev; member
|