/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/monitor/2.0/ |
H A D | dp_rx_mon_2.0.h | 108 QDF_STATUS dp_rx_mon_pdev_rings_alloc_2_0(struct dp_pdev *pdev, int lmac_id); 109 void dp_rx_mon_pdev_rings_free_2_0(struct dp_pdev *pdev, int lmac_id); 110 QDF_STATUS dp_rx_mon_pdev_rings_init_2_0(struct dp_pdev *pdev, int lmac_id); 111 void dp_rx_mon_pdev_rings_deinit_2_0(struct dp_pdev *pdev, int lmac_id); 204 QDF_STATUS dp_rx_mon_soc_attach_2_0(struct dp_soc *soc, int lmac_id); 205 void dp_rx_mon_soc_detach_2_0(struct dp_soc *soc, int lmac_id); 206 void dp_rx_mon_soc_deinit_2_0(struct dp_soc *soc, uint32_t lmac_id); 393 QDF_STATUS dp_rx_mon_pdev_rings_alloc_2_0(struct dp_pdev *pdev, int lmac_id) in dp_rx_mon_pdev_rings_alloc_2_0() argument 399 void dp_rx_mon_pdev_rings_free_2_0(struct dp_pdev *pdev, int lmac_id) in dp_rx_mon_pdev_rings_free_2_0() argument 404 QDF_STATUS dp_rx_mon_pdev_rings_init_2_0(struct dp_pdev *pdev, int lmac_id) in dp_rx_mon_pdev_rings_init_2_0() argument [all …]
|
H A D | dp_tx_mon_2.0.h | 709 QDF_STATUS dp_tx_mon_pdev_rings_alloc_2_0(struct dp_pdev *pdev, uint32_t lmac_id); 710 void dp_tx_mon_pdev_rings_free_2_0(struct dp_pdev *pdev, uint32_t lmac_id); 711 QDF_STATUS dp_tx_mon_pdev_rings_init_2_0(struct dp_pdev *pdev, uint32_t lmac_id); 712 void dp_tx_mon_pdev_rings_deinit_2_0(struct dp_pdev *pdev, uint32_t lmac_id); 714 QDF_STATUS dp_tx_mon_soc_attach_2_0(struct dp_soc *soc, uint32_t lmac_id); 715 QDF_STATUS dp_tx_mon_soc_detach_2_0(struct dp_soc *soc, uint32_t lmac_id); 716 void dp_tx_mon_soc_deinit_2_0(struct dp_soc *soc, uint32_t lmac_id); 749 QDF_STATUS dp_tx_mon_pdev_rings_alloc_2_0(struct dp_pdev *pdev, uint32_t lmac_id) in dp_tx_mon_pdev_rings_alloc_2_0() argument 755 void dp_tx_mon_pdev_rings_free_2_0(struct dp_pdev *pdev, uint32_t lmac_id) in dp_tx_mon_pdev_rings_free_2_0() argument 760 QDF_STATUS dp_tx_mon_pdev_rings_init_2_0(struct dp_pdev *pdev, uint32_t lmac_id) in dp_tx_mon_pdev_rings_init_2_0() argument [all …]
|
H A D | dp_tx_mon_2.0.c | 315 int lmac_id; in dp_tx_mon_print_ring_stat_2_0() local 317 lmac_id = dp_get_lmac_id_for_pdev_id(soc, 0, pdev->pdev_id); in dp_tx_mon_print_ring_stat_2_0() 320 dp_print_ring_stat_from_hal(soc, &mon_soc_be->tx_mon_dst_ring[lmac_id], in dp_tx_mon_print_ring_stat_2_0() 381 void dp_tx_mon_soc_deinit_2_0(struct dp_soc *soc, uint32_t lmac_id) in dp_tx_mon_soc_deinit_2_0() argument 1572 QDF_STATUS dp_tx_mon_pdev_rings_alloc_2_0(struct dp_pdev *pdev, uint32_t lmac_id) in dp_tx_mon_pdev_rings_alloc_2_0() argument 1583 return dp_srng_alloc(soc, &mon_soc_be->tx_mon_dst_ring[lmac_id], in dp_tx_mon_pdev_rings_alloc_2_0() 1587 void dp_tx_mon_pdev_rings_free_2_0(struct dp_pdev *pdev, uint32_t lmac_id) in dp_tx_mon_pdev_rings_free_2_0() argument 1593 dp_srng_free(soc, &mon_soc_be->tx_mon_dst_ring[lmac_id]); in dp_tx_mon_pdev_rings_free_2_0() 1596 QDF_STATUS dp_tx_mon_pdev_rings_init_2_0(struct dp_pdev *pdev, uint32_t lmac_id) in dp_tx_mon_pdev_rings_init_2_0() argument 1602 return dp_srng_init(soc, &mon_soc_be->tx_mon_dst_ring[lmac_id], in dp_tx_mon_pdev_rings_init_2_0() [all …]
|
H A D | dp_mon_2.0.c | 754 int lmac_id = dp_get_lmac_id_for_pdev_id(soc, mac_id, in dp_pdev_mon_rings_deinit_2_0() local 757 dp_rx_mon_pdev_rings_deinit_2_0(pdev, lmac_id); in dp_pdev_mon_rings_deinit_2_0() 758 dp_tx_mon_pdev_rings_deinit_2_0(pdev, lmac_id); in dp_pdev_mon_rings_deinit_2_0() 769 int lmac_id = dp_get_lmac_id_for_pdev_id(soc, mac_id, in dp_pdev_mon_rings_init_2_0() local 772 status = dp_rx_mon_pdev_rings_init_2_0(pdev, lmac_id); in dp_pdev_mon_rings_init_2_0() 778 status = dp_tx_mon_pdev_rings_init_2_0(pdev, lmac_id); in dp_pdev_mon_rings_init_2_0() 797 int lmac_id = dp_get_lmac_id_for_pdev_id(soc, mac_id, in dp_pdev_mon_rings_free_2_0() local 800 dp_rx_mon_pdev_rings_free_2_0(pdev, lmac_id); in dp_pdev_mon_rings_free_2_0() 801 dp_tx_mon_pdev_rings_free_2_0(pdev, lmac_id); in dp_pdev_mon_rings_free_2_0() 812 int lmac_id = in dp_pdev_mon_rings_alloc_2_0() local [all …]
|
H A D | dp_rx_mon_2.0.c | 2270 pdev->lmac_id); in dp_rx_mon_update_peer_id() 2791 void dp_rx_mon_soc_detach_2_0(struct dp_soc *soc, int lmac_id) in dp_rx_mon_soc_detach_2_0() argument 2794 dp_srng_free(soc, &soc->rxdma_mon_buf_ring[lmac_id]); in dp_rx_mon_soc_detach_2_0() 2797 void dp_rx_mon_soc_deinit_2_0(struct dp_soc *soc, uint32_t lmac_id) in dp_rx_mon_soc_deinit_2_0() argument 2801 dp_srng_deinit(soc, &soc->rxdma_mon_buf_ring[lmac_id], in dp_rx_mon_soc_deinit_2_0() 2903 QDF_STATUS dp_rx_mon_pdev_rings_alloc_2_0(struct dp_pdev *pdev, int lmac_id) in dp_rx_mon_pdev_rings_alloc_2_0() argument 2912 return dp_srng_alloc(soc, &soc->rxdma_mon_dst_ring[lmac_id], in dp_rx_mon_pdev_rings_alloc_2_0() 2916 void dp_rx_mon_pdev_rings_free_2_0(struct dp_pdev *pdev, int lmac_id) in dp_rx_mon_pdev_rings_free_2_0() argument 2920 dp_srng_free(soc, &soc->rxdma_mon_dst_ring[lmac_id]); in dp_rx_mon_pdev_rings_free_2_0() 2923 QDF_STATUS dp_rx_mon_pdev_rings_init_2_0(struct dp_pdev *pdev, int lmac_id) in dp_rx_mon_pdev_rings_init_2_0() argument [all …]
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/monitor/1.0/ |
H A D | dp_mon_1.0.c | 179 uint32_t lmac_id; in dp_flush_monitor_rings() local 199 lmac_id = pdev->ch_band_lmac_id_mapping[mon_pdev->mon_chan_band]; in dp_flush_monitor_rings() 200 if (qdf_unlikely(lmac_id == DP_MON_INVALID_LMAC_ID)) in dp_flush_monitor_rings() 203 mon_dst_srng = dp_rxdma_get_mon_dst_ring(pdev, lmac_id); in dp_flush_monitor_rings() 211 dp_mon_drop_packets_for_mac(pdev, lmac_id, budget, true); in dp_flush_monitor_rings() 225 int lmac_id = dp_get_lmac_id_for_pdev_id(soc, mac_id, in dp_mon_rings_deinit_1_0() local 228 dp_srng_deinit(soc, &soc->rxdma_mon_status_ring[lmac_id], in dp_mon_rings_deinit_1_0() 230 dp_srng_deinit(soc, &soc->sw2rxdma_link_ring[lmac_id], in dp_mon_rings_deinit_1_0() 233 dp_mon_dest_rings_deinit(pdev, lmac_id); in dp_mon_rings_deinit_1_0() 246 int lmac_id = dp_get_lmac_id_for_pdev_id(soc, mac_id, in dp_mon_rings_free_1_0() local [all …]
|
H A D | dp_rx_mon_dest_1.0.c | 611 uint32_t lmac_id = DP_MON_INVALID_LMAC_ID; in dp_rx_mon_check_n_drop_mpdu() local 618 lmac_id = pdev->ch_band_lmac_id_mapping[mon_pdev->mon_chan_band]; in dp_rx_mon_check_n_drop_mpdu() 626 if (src_link_id == lmac_id) in dp_rx_mon_check_n_drop_mpdu() 2615 void dp_mon_dest_rings_deinit(struct dp_pdev *pdev, int lmac_id) in dp_mon_dest_rings_deinit() argument 2620 dp_srng_deinit(soc, &soc->rxdma_mon_buf_ring[lmac_id], in dp_mon_dest_rings_deinit() 2622 dp_srng_deinit(soc, &soc->rxdma_mon_dst_ring[lmac_id], in dp_mon_dest_rings_deinit() 2624 dp_srng_deinit(soc, &soc->rxdma_mon_desc_ring[lmac_id], in dp_mon_dest_rings_deinit() 2629 void dp_mon_dest_rings_free(struct dp_pdev *pdev, int lmac_id) in dp_mon_dest_rings_free() argument 2634 dp_srng_free(soc, &soc->rxdma_mon_buf_ring[lmac_id]); in dp_mon_dest_rings_free() 2635 dp_srng_free(soc, &soc->rxdma_mon_dst_ring[lmac_id]); in dp_mon_dest_rings_free() [all …]
|
H A D | dp_rx_mon_1.0.h | 1057 void dp_mon_dest_rings_deinit(struct dp_pdev *pdev, int lmac_id); 1066 void dp_mon_dest_rings_free(struct dp_pdev *pdev, int lmac_id); 1075 QDF_STATUS dp_mon_dest_rings_init(struct dp_pdev *pdev, int lmac_id); 1084 QDF_STATUS dp_mon_dest_rings_alloc(struct dp_pdev *pdev, int lmac_id); 1095 static void dp_mon_dest_rings_deinit(struct dp_pdev *pdev, int lmac_id) in dp_mon_dest_rings_deinit() argument 1099 static void dp_mon_dest_rings_free(struct dp_pdev *pdev, int lmac_id) in dp_mon_dest_rings_free() argument 1104 QDF_STATUS dp_mon_dest_rings_init(struct dp_pdev *pdev, int lmac_id) in dp_mon_dest_rings_init() argument 1110 QDF_STATUS dp_mon_dest_rings_alloc(struct dp_pdev *pdev, int lmac_id) in dp_mon_dest_rings_alloc() argument
|
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/wcn6450/ |
H A D | hal_wcn6450_tx.h | 43 static void hal_tx_desc_set_lmac_id_6450(void *desc, uint8_t lmac_id) in hal_tx_desc_set_lmac_id_6450() argument 46 HAL_TX_SM(TCL_DATA_CMD_4, LMAC_ID, lmac_id); in hal_tx_desc_set_lmac_id_6450()
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/rh/ |
H A D | dp_rh.c | 526 int lmac_id = 0; in dp_soc_interrupt_attach_rh() local 580 soc->mon_intr_id_lmac_map[lmac_id] = i; in dp_soc_interrupt_attach_rh() 581 lmac_id++; in dp_soc_interrupt_attach_rh() 593 uint32_t lmac_id = 0; in dp_soc_attach_poll_rh() local 606 soc->mon_intr_id_lmac_map[lmac_id] = i; in dp_soc_attach_poll_rh() 607 lmac_id++; in dp_soc_attach_poll_rh() 786 int lmac_id = in dp_rxdma_ring_sel_cfg_rh() local 790 rx_mac_srng = dp_get_rxdma_ring(pdev, lmac_id); in dp_rxdma_ring_sel_cfg_rh() 874 int lmac_id = in dp_rxdma_ring_sel_cfg_rh() local 878 rx_mac_srng = dp_get_rxdma_ring(pdev, lmac_id); in dp_rxdma_ring_sel_cfg_rh()
|
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qca6290/ |
H A D | hal_6290_tx.h | 248 static void hal_tx_desc_set_lmac_id_6290(void *desc, uint8_t lmac_id) in hal_tx_desc_set_lmac_id_6290() argument 251 HAL_TX_SM(TCL_DATA_CMD_4, LMAC_ID, lmac_id); in hal_tx_desc_set_lmac_id_6290() 254 static void hal_tx_desc_set_lmac_id_6290(void *desc, uint8_t lmac_id) in hal_tx_desc_set_lmac_id_6290() argument
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/ |
H A D | dp_rings.h | 460 int lmac_id); 731 int lmac_id) in dp_htt_setup_rxdma_err_dst_ring() argument 735 soc->rxdma_err_dst_ring[lmac_id].hal_srng) in dp_htt_setup_rxdma_err_dst_ring() 737 soc->rxdma_err_dst_ring[lmac_id].hal_srng, in dp_htt_setup_rxdma_err_dst_ring()
|
H A D | dp_main.c | 1990 &soc->rx_refill_buf_ring[pdev->lmac_id]; in dp_process_lmac_rings() 2450 uint32_t lmac_id = DP_MON_INVALID_LMAC_ID; in dp_interrupt_timer() local 2479 lmac_id = pdev->ch_band_lmac_id_mapping[mon_band]; in dp_interrupt_timer() 2480 if (qdf_likely(lmac_id != DP_MON_INVALID_LMAC_ID)) { in dp_interrupt_timer() 2481 dp_intr_id = soc->mon_intr_id_lmac_map[lmac_id]; in dp_interrupt_timer() 2491 if (lmac_iter == lmac_id) in dp_interrupt_timer() 2523 if (lmac_id != DP_MON_INVALID_LMAC_ID) in dp_interrupt_timer() 3628 pdev->lmac_id = wlan_cfg_get_hw_mac_idx(soc->wlan_cfg_ctx, pdev_id); in dp_pdev_attach_wifi3() 4150 int lmac_id = dp_get_lmac_id_for_pdev_id(soc, 0, i); in dp_rxdma_ring_config() local 4153 soc->rx_refill_buf_ring[lmac_id] in dp_rxdma_ring_config() [all …]
|
H A D | dp_rings_main.c | 755 int lmac_id = 0; in dp_soc_attach_poll() local 782 soc->mon_intr_id_lmac_map[lmac_id] = i; in dp_soc_attach_poll() 783 lmac_id++; in dp_soc_attach_poll() 884 int lmac_id = 0; in dp_soc_interrupt_attach() local 994 soc->mon_intr_id_lmac_map[lmac_id] = i; in dp_soc_interrupt_attach() 995 lmac_id++; in dp_soc_interrupt_attach() 1624 int lmac_id = wlan_cfg_get_hw_mac_idx(soc->wlan_cfg_ctx, j); in dp_soc_reset_intr_mask() local 1633 group_number = dp_srng_find_ring_in_mask(lmac_id, grp_mask); in dp_soc_reset_intr_mask() 1636 soc, REO_DST, lmac_id); in dp_soc_reset_intr_mask() 1643 mask &= (~(1 << lmac_id)); in dp_soc_reset_intr_mask() [all …]
|
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qca6390/ |
H A D | hal_6390_tx.h | 159 static void hal_tx_desc_set_lmac_id_6390(void *desc, uint8_t lmac_id) in hal_tx_desc_set_lmac_id_6390() argument 162 HAL_TX_SM(TCL_DATA_CMD_4, LMAC_ID, lmac_id); in hal_tx_desc_set_lmac_id_6390()
|
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qca6490/ |
H A D | hal_6490_tx.h | 163 static void hal_tx_desc_set_lmac_id_6490(void *desc, uint8_t lmac_id) in hal_tx_desc_set_lmac_id_6490() argument 166 HAL_TX_SM(TCL_DATA_CMD_4, LMAC_ID, lmac_id); in hal_tx_desc_set_lmac_id_6490()
|
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qca6750/ |
H A D | hal_6750_tx.h | 166 static void hal_tx_desc_set_lmac_id_6750(void *desc, uint8_t lmac_id) in hal_tx_desc_set_lmac_id_6750() argument 169 HAL_TX_SM(TCL_DATA_CMD_4, LMAC_ID, lmac_id); in hal_tx_desc_set_lmac_id_6750()
|
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qca5018/ |
H A D | hal_5018_tx.h | 206 static void hal_tx_desc_set_lmac_id_5018(void *desc, uint8_t lmac_id) in hal_tx_desc_set_lmac_id_5018() argument 209 HAL_TX_SM(TCL_DATA_CMD_4, LMAC_ID, lmac_id); in hal_tx_desc_set_lmac_id_5018()
|
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/rh/ |
H A D | hal_rh_tx.h | 78 void *desc, uint8_t lmac_id) in hal_tx_desc_set_lmac_id() argument 82 hal_soc->ops->hal_tx_desc_set_lmac_id(desc, lmac_id); in hal_tx_desc_set_lmac_id()
|
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qcn9000/ |
H A D | hal_9000_tx.h | 206 static void hal_tx_desc_set_lmac_id_9000(void *desc, uint8_t lmac_id) in hal_tx_desc_set_lmac_id_9000() argument 209 HAL_TX_SM(TCL_DATA_CMD_4, LMAC_ID, lmac_id); in hal_tx_desc_set_lmac_id_9000()
|
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qcn6122/ |
H A D | hal_qcn6122_tx.h | 205 static void hal_tx_desc_set_lmac_id_6122(void *desc, uint8_t lmac_id) in hal_tx_desc_set_lmac_id_6122() argument 208 HAL_TX_SM(TCL_DATA_CMD_4, LMAC_ID, lmac_id); in hal_tx_desc_set_lmac_id_6122()
|
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qca8074v2/ |
H A D | hal_8074v2_tx.h | 208 static void hal_tx_desc_set_lmac_id_8074v2(void *desc, uint8_t lmac_id) in hal_tx_desc_set_lmac_id_8074v2() argument 211 HAL_TX_SM(TCL_DATA_CMD_4, LMAC_ID, lmac_id); in hal_tx_desc_set_lmac_id_8074v2()
|
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/li/ |
H A D | hal_li_tx.h | 79 void *desc, uint8_t lmac_id) in hal_tx_desc_set_lmac_id_li() argument 83 hal_soc->ops->hal_tx_desc_set_lmac_id(desc, lmac_id); in hal_tx_desc_set_lmac_id_li()
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/monitor/ |
H A D | dp_mon_filter.c | 358 int lmac_id = dp_get_lmac_id_for_pdev_id(soc, mac_id, pdev->pdev_id); in dp_mon_ht2_rx_ring_cfg() local 366 soc->rx_refill_buf_ring[lmac_id].hal_srng; in dp_mon_ht2_rx_ring_cfg() 370 pdev->rx_mac_buf_ring[lmac_id].hal_srng; in dp_mon_ht2_rx_ring_cfg() 392 soc->rxdma_mon_status_ring[lmac_id].hal_srng; in dp_mon_ht2_rx_ring_cfg() 399 soc->rxdma_mon_buf_ring[lmac_id].hal_srng; in dp_mon_ht2_rx_ring_cfg() 406 soc->rxdma_mon_dst_ring[lmac_id].hal_srng; in dp_mon_ht2_rx_ring_cfg()
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/li/ |
H A D | dp_li.c | 326 int lmac_id = in dp_rxdma_ring_sel_cfg_li() local 330 rx_mac_srng = dp_get_rxdma_ring(pdev, lmac_id); in dp_rxdma_ring_sel_cfg_li() 414 int lmac_id = in dp_rxdma_ring_sel_cfg_li() local 418 rx_mac_srng = dp_get_rxdma_ring(pdev, lmac_id); in dp_rxdma_ring_sel_cfg_li()
|