Searched refs:mon_desc (Results 1 – 8 of 8) sorted by relevance
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/monitor/2.0/ |
H A D | dp_rx_mon_2.0.c | 809 struct dp_mon_desc *mon_desc = (struct dp_mon_desc *)(uintptr_t)ppdu_info->packet_info.sw_cookie; in dp_rx_mon_handle_mon_buf_addr() local 830 mon_desc = DP_MON_GET_DESC(desc); in dp_rx_mon_handle_mon_buf_addr() 831 qdf_assert_always(mon_desc); in dp_rx_mon_handle_mon_buf_addr() 833 if (mon_desc->cookie_2 != cookie_2) { in dp_rx_mon_handle_mon_buf_addr() 835 qdf_err("duplicate cookie found mon_desc:%pK", mon_desc); in dp_rx_mon_handle_mon_buf_addr() 839 if (mon_desc->magic != DP_MON_DESC_MAGIC) in dp_rx_mon_handle_mon_buf_addr() 846 if ((mon_desc == mon_pdev_be->prev_rxmon_pkt_desc) && in dp_rx_mon_handle_mon_buf_addr() 847 (mon_desc->cookie == mon_pdev_be->prev_rxmon_pkt_cookie)) { in dp_rx_mon_handle_mon_buf_addr() 849 mon_pdev, mon_desc, in dp_rx_mon_handle_mon_buf_addr() 850 mon_desc->cookie); in dp_rx_mon_handle_mon_buf_addr() [all …]
|
H A D | dp_mon_2.0.h | 46 #define DP_MON_GET_COOKIE(mon_desc) \ argument 47 ((uint32_t)(((unsigned long long)(mon_desc) & DP_MON_DESC_COOKIE_MASK) \ 51 #define DP_MON_GET_DESC(mon_desc) \ argument 52 ((struct dp_mon_desc *)(uintptr_t)(((unsigned long long)(mon_desc) & \ 56 #define DP_MON_GET_DESC(mon_desc) \ argument 57 ((struct dp_mon_desc *)(uintptr_t)(((unsigned long)(mon_desc) & \ 216 struct dp_mon_desc mon_desc; member 630 desc = (unsigned long)&((*desc_list)->mon_desc); in dp_mon_get_debug_desc_addr() 632 desc = (desc | ((unsigned long long)(*desc_list)->mon_desc.cookie_2 << DP_MON_DESC_ADDR_SHIFT)); in dp_mon_get_debug_desc_addr() 639 unsigned long long desc = (unsigned long long)&((*desc_list)->mon_desc); in dp_mon_get_debug_desc_addr()
|
H A D | dp_mon_2.0.c | 105 struct dp_mon_desc *mon_desc, in dp_mon_frag_alloc_and_map() argument 110 mon_desc->buf_addr = qdf_frag_alloc(&mon_desc_pool->pf_cache, in dp_mon_frag_alloc_and_map() 113 if (!mon_desc->buf_addr) { in dp_mon_frag_alloc_and_map() 119 mon_desc->buf_addr, in dp_mon_frag_alloc_and_map() 122 &mon_desc->paddr); in dp_mon_frag_alloc_and_map() 125 qdf_frag_free(mon_desc->buf_addr); in dp_mon_frag_alloc_and_map() 157 mon_desc_pool->array[desc_id].mon_desc.in_use = 0; in dp_mon_desc_pool_init() 158 mon_desc_pool->array[desc_id].mon_desc.cookie = desc_id; in dp_mon_desc_pool_init() 843 if (mon_desc_pool->array[desc_id].mon_desc.in_use) { in dp_mon_pool_frag_unmap_and_free() 844 vaddr = mon_desc_pool->array[desc_id].mon_desc.buf_addr; in dp_mon_pool_frag_unmap_and_free() [all …]
|
H A D | dp_tx_mon_status_2.0.c | 67 struct dp_mon_desc *mon_desc = NULL; in dp_tx_mon_status_free_packet_buf() local 76 mon_desc = (struct dp_mon_desc *)(uintptr_t)packet_info.sw_cookie; in dp_tx_mon_status_free_packet_buf() 78 qdf_assert_always(mon_desc); in dp_tx_mon_status_free_packet_buf() 80 if (mon_desc->magic != DP_MON_DESC_MAGIC) in dp_tx_mon_status_free_packet_buf() 83 if (!mon_desc->unmapped) { in dp_tx_mon_status_free_packet_buf() 85 (qdf_dma_addr_t)mon_desc->paddr, in dp_tx_mon_status_free_packet_buf() 88 mon_desc->unmapped = 1; in dp_tx_mon_status_free_packet_buf() 91 packet_buffer = (qdf_frag_t)(mon_desc->buf_addr); in dp_tx_mon_status_free_packet_buf() 92 mon_desc->buf_addr = NULL; in dp_tx_mon_status_free_packet_buf() 101 mon_desc); in dp_tx_mon_status_free_packet_buf() [all …]
|
H A D | dp_tx_mon_2.0.c | 156 struct dp_mon_desc *mon_desc = NULL; in dp_tx_mon_srng_process_2_0() local 198 mon_desc = (struct dp_mon_desc *)(uintptr_t)(hal_mon_tx_desc.buf_addr); in dp_tx_mon_srng_process_2_0() 199 qdf_assert_always(mon_desc); in dp_tx_mon_srng_process_2_0() 201 if (!mon_desc->unmapped) { in dp_tx_mon_srng_process_2_0() 202 qdf_mem_unmap_page(soc->osdev, mon_desc->paddr, in dp_tx_mon_srng_process_2_0() 205 mon_desc->unmapped = 1; in dp_tx_mon_srng_process_2_0() 208 if (mon_desc->magic != DP_MON_DESC_MAGIC) { in dp_tx_mon_srng_process_2_0() 215 status_frag = (qdf_frag_t)(mon_desc->buf_addr); in dp_tx_mon_srng_process_2_0() 216 mon_desc->buf_addr = NULL; in dp_tx_mon_srng_process_2_0() 222 &mon_desc_list.tail, mon_desc); in dp_tx_mon_srng_process_2_0()
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/monitor/1.0/ |
H A D | dp_rx_mon_dest_1.0.c | 1066 desc_info = mon_pdev->mon_desc; in dp_mon_dest_srng_drop_for_mac()
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/monitor/ |
H A D | dp_mon.h | 1106 struct hal_rx_mon_desc_info *mon_desc; member
|
H A D | dp_mon.c | 258 if (mon_pdev->mon_desc) in dp_reset_monitor_mode_unlock() 259 qdf_mem_zero(mon_pdev->mon_desc, in dp_reset_monitor_mode_unlock()
|