Lines Matching full:ab
16 static void ath11k_dp_htt_htc_tx_complete(struct ath11k_base *ab, in ath11k_dp_htt_htc_tx_complete() argument
24 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_cleanup() local
29 spin_lock_bh(&ab->base_lock); in ath11k_dp_peer_cleanup()
30 peer = ath11k_peer_find(ab, vdev_id, addr); in ath11k_dp_peer_cleanup()
32 ath11k_warn(ab, "failed to lookup peer %pM on vdev %d\n", in ath11k_dp_peer_cleanup()
34 spin_unlock_bh(&ab->base_lock); in ath11k_dp_peer_cleanup()
40 spin_unlock_bh(&ab->base_lock); in ath11k_dp_peer_cleanup()
45 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_setup() local
57 ath11k_warn(ab, "failed to set default routing %d peer :%pM vdev_id :%d\n", in ath11k_dp_peer_setup()
66 ath11k_warn(ab, "failed to setup rxd tid queue for tid %d: %d\n", in ath11k_dp_peer_setup()
74 ath11k_warn(ab, "failed to setup rx defrag context\n"); in ath11k_dp_peer_setup()
83 spin_lock_bh(&ab->base_lock); in ath11k_dp_peer_setup()
85 peer = ath11k_peer_find(ab, vdev_id, addr); in ath11k_dp_peer_setup()
87 ath11k_warn(ab, "failed to find the peer to del rx tid\n"); in ath11k_dp_peer_setup()
88 spin_unlock_bh(&ab->base_lock); in ath11k_dp_peer_setup()
95 spin_unlock_bh(&ab->base_lock); in ath11k_dp_peer_setup()
100 void ath11k_dp_srng_cleanup(struct ath11k_base *ab, struct dp_srng *ring) in ath11k_dp_srng_cleanup() argument
108 dma_free_coherent(ab->dev, ring->size, ring->vaddr_unaligned, in ath11k_dp_srng_cleanup()
128 static int ath11k_dp_srng_calculate_msi_group(struct ath11k_base *ab, in ath11k_dp_srng_calculate_msi_group() argument
136 grp_mask = &ab->hw_params.ring_mask->rx_wbm_rel[0]; in ath11k_dp_srng_calculate_msi_group()
139 grp_mask = &ab->hw_params.ring_mask->tx[0]; in ath11k_dp_srng_calculate_msi_group()
143 grp_mask = &ab->hw_params.ring_mask->rx_err[0]; in ath11k_dp_srng_calculate_msi_group()
146 grp_mask = &ab->hw_params.ring_mask->rx[0]; in ath11k_dp_srng_calculate_msi_group()
149 grp_mask = &ab->hw_params.ring_mask->reo_status[0]; in ath11k_dp_srng_calculate_msi_group()
153 grp_mask = &ab->hw_params.ring_mask->rx_mon_status[0]; in ath11k_dp_srng_calculate_msi_group()
156 grp_mask = &ab->hw_params.ring_mask->rxdma2host[0]; in ath11k_dp_srng_calculate_msi_group()
159 grp_mask = &ab->hw_params.ring_mask->host2rxdma[0]; in ath11k_dp_srng_calculate_msi_group()
179 static void ath11k_dp_srng_msi_setup(struct ath11k_base *ab, in ath11k_dp_srng_msi_setup() argument
187 ret = ath11k_get_user_msi_vector(ab, "DP", in ath11k_dp_srng_msi_setup()
193 msi_group_number = ath11k_dp_srng_calculate_msi_group(ab, type, in ath11k_dp_srng_msi_setup()
196 ath11k_dbg(ab, ATH11K_DBG_PCI, in ath11k_dp_srng_msi_setup()
205 ath11k_dbg(ab, ATH11K_DBG_PCI, in ath11k_dp_srng_msi_setup()
210 ath11k_get_msi_address(ab, &addr_lo, &addr_hi); in ath11k_dp_srng_msi_setup()
219 int ath11k_dp_srng_setup(struct ath11k_base *ab, struct dp_srng *ring, in ath11k_dp_srng_setup() argument
224 int entry_sz = ath11k_hal_srng_get_entrysize(ab, type); in ath11k_dp_srng_setup()
225 int max_entries = ath11k_hal_srng_get_max_entries(ab, type); in ath11k_dp_srng_setup()
237 if (ab->hw_params.alloc_cacheable_memory) { in ath11k_dp_srng_setup()
255 ring->vaddr_unaligned = dma_alloc_coherent(ab->dev, ring->size, in ath11k_dp_srng_setup()
269 ath11k_dp_srng_msi_setup(ab, ¶ms, type, ring_num + mac_id); in ath11k_dp_srng_setup()
314 ath11k_warn(ab, "Not a valid ring type in dp :%d\n", type); in ath11k_dp_srng_setup()
323 ret = ath11k_hal_srng_setup(ab, type, ring_num, mac_id, ¶ms); in ath11k_dp_srng_setup()
325 ath11k_warn(ab, "failed to setup srng: %d ring_id %d\n", in ath11k_dp_srng_setup()
335 void ath11k_dp_stop_shadow_timers(struct ath11k_base *ab) in ath11k_dp_stop_shadow_timers() argument
339 if (!ab->hw_params.supports_shadow_regs) in ath11k_dp_stop_shadow_timers()
342 for (i = 0; i < ab->hw_params.max_tx_ring; i++) in ath11k_dp_stop_shadow_timers()
343 ath11k_dp_shadow_stop_timer(ab, &ab->dp.tx_ring_timer[i]); in ath11k_dp_stop_shadow_timers()
345 ath11k_dp_shadow_stop_timer(ab, &ab->dp.reo_cmd_timer); in ath11k_dp_stop_shadow_timers()
348 static void ath11k_dp_srng_common_cleanup(struct ath11k_base *ab) in ath11k_dp_srng_common_cleanup() argument
350 struct ath11k_dp *dp = &ab->dp; in ath11k_dp_srng_common_cleanup()
353 ath11k_dp_stop_shadow_timers(ab); in ath11k_dp_srng_common_cleanup()
354 ath11k_dp_srng_cleanup(ab, &dp->wbm_desc_rel_ring); in ath11k_dp_srng_common_cleanup()
355 ath11k_dp_srng_cleanup(ab, &dp->tcl_cmd_ring); in ath11k_dp_srng_common_cleanup()
356 ath11k_dp_srng_cleanup(ab, &dp->tcl_status_ring); in ath11k_dp_srng_common_cleanup()
357 for (i = 0; i < ab->hw_params.max_tx_ring; i++) { in ath11k_dp_srng_common_cleanup()
358 ath11k_dp_srng_cleanup(ab, &dp->tx_ring[i].tcl_data_ring); in ath11k_dp_srng_common_cleanup()
359 ath11k_dp_srng_cleanup(ab, &dp->tx_ring[i].tcl_comp_ring); in ath11k_dp_srng_common_cleanup()
361 ath11k_dp_srng_cleanup(ab, &dp->reo_reinject_ring); in ath11k_dp_srng_common_cleanup()
362 ath11k_dp_srng_cleanup(ab, &dp->rx_rel_ring); in ath11k_dp_srng_common_cleanup()
363 ath11k_dp_srng_cleanup(ab, &dp->reo_except_ring); in ath11k_dp_srng_common_cleanup()
364 ath11k_dp_srng_cleanup(ab, &dp->reo_cmd_ring); in ath11k_dp_srng_common_cleanup()
365 ath11k_dp_srng_cleanup(ab, &dp->reo_status_ring); in ath11k_dp_srng_common_cleanup()
368 static int ath11k_dp_srng_common_setup(struct ath11k_base *ab) in ath11k_dp_srng_common_setup() argument
370 struct ath11k_dp *dp = &ab->dp; in ath11k_dp_srng_common_setup()
375 ret = ath11k_dp_srng_setup(ab, &dp->wbm_desc_rel_ring, in ath11k_dp_srng_common_setup()
379 ath11k_warn(ab, "failed to set up wbm2sw_release ring :%d\n", in ath11k_dp_srng_common_setup()
384 ret = ath11k_dp_srng_setup(ab, &dp->tcl_cmd_ring, HAL_TCL_CMD, 0, 0, in ath11k_dp_srng_common_setup()
387 ath11k_warn(ab, "failed to set up tcl_cmd ring :%d\n", ret); in ath11k_dp_srng_common_setup()
391 ret = ath11k_dp_srng_setup(ab, &dp->tcl_status_ring, HAL_TCL_STATUS, in ath11k_dp_srng_common_setup()
394 ath11k_warn(ab, "failed to set up tcl_status ring :%d\n", ret); in ath11k_dp_srng_common_setup()
398 for (i = 0; i < ab->hw_params.max_tx_ring; i++) { in ath11k_dp_srng_common_setup()
399 tcl_num = ab->hw_params.hal_params->tcl2wbm_rbm_map[i].tcl_ring_num; in ath11k_dp_srng_common_setup()
400 wbm_num = ab->hw_params.hal_params->tcl2wbm_rbm_map[i].wbm_ring_num; in ath11k_dp_srng_common_setup()
402 ret = ath11k_dp_srng_setup(ab, &dp->tx_ring[i].tcl_data_ring, in ath11k_dp_srng_common_setup()
404 ab->hw_params.tx_ring_size); in ath11k_dp_srng_common_setup()
406 ath11k_warn(ab, "failed to set up tcl_data ring (%d) :%d\n", in ath11k_dp_srng_common_setup()
411 ret = ath11k_dp_srng_setup(ab, &dp->tx_ring[i].tcl_comp_ring, in ath11k_dp_srng_common_setup()
415 ath11k_warn(ab, "failed to set up tcl_comp ring (%d) :%d\n", in ath11k_dp_srng_common_setup()
420 srng = &ab->hal.srng_list[dp->tx_ring[i].tcl_data_ring.ring_id]; in ath11k_dp_srng_common_setup()
421 ath11k_hal_tx_init_data_ring(ab, srng); in ath11k_dp_srng_common_setup()
423 ath11k_dp_shadow_init_timer(ab, &dp->tx_ring_timer[i], in ath11k_dp_srng_common_setup()
428 ret = ath11k_dp_srng_setup(ab, &dp->reo_reinject_ring, HAL_REO_REINJECT, in ath11k_dp_srng_common_setup()
431 ath11k_warn(ab, "failed to set up reo_reinject ring :%d\n", in ath11k_dp_srng_common_setup()
436 ret = ath11k_dp_srng_setup(ab, &dp->rx_rel_ring, HAL_WBM2SW_RELEASE, in ath11k_dp_srng_common_setup()
439 ath11k_warn(ab, "failed to set up rx_rel ring :%d\n", ret); in ath11k_dp_srng_common_setup()
443 ret = ath11k_dp_srng_setup(ab, &dp->reo_except_ring, HAL_REO_EXCEPTION, in ath11k_dp_srng_common_setup()
446 ath11k_warn(ab, "failed to set up reo_exception ring :%d\n", in ath11k_dp_srng_common_setup()
451 ret = ath11k_dp_srng_setup(ab, &dp->reo_cmd_ring, HAL_REO_CMD, in ath11k_dp_srng_common_setup()
454 ath11k_warn(ab, "failed to set up reo_cmd ring :%d\n", ret); in ath11k_dp_srng_common_setup()
458 srng = &ab->hal.srng_list[dp->reo_cmd_ring.ring_id]; in ath11k_dp_srng_common_setup()
459 ath11k_hal_reo_init_cmd_ring(ab, srng); in ath11k_dp_srng_common_setup()
461 ath11k_dp_shadow_init_timer(ab, &dp->reo_cmd_timer, in ath11k_dp_srng_common_setup()
465 ret = ath11k_dp_srng_setup(ab, &dp->reo_status_ring, HAL_REO_STATUS, in ath11k_dp_srng_common_setup()
468 ath11k_warn(ab, "failed to set up reo_status ring :%d\n", ret); in ath11k_dp_srng_common_setup()
475 ab->hw_params.hw_ops->reo_setup(ab); in ath11k_dp_srng_common_setup()
480 ath11k_dp_srng_common_cleanup(ab); in ath11k_dp_srng_common_setup()
485 static void ath11k_dp_scatter_idle_link_desc_cleanup(struct ath11k_base *ab) in ath11k_dp_scatter_idle_link_desc_cleanup() argument
487 struct ath11k_dp *dp = &ab->dp; in ath11k_dp_scatter_idle_link_desc_cleanup()
495 dma_free_coherent(ab->dev, HAL_WBM_IDLE_SCATTER_BUF_SIZE_MAX, in ath11k_dp_scatter_idle_link_desc_cleanup()
501 static int ath11k_dp_scatter_idle_link_desc_setup(struct ath11k_base *ab, in ath11k_dp_scatter_idle_link_desc_setup() argument
507 struct ath11k_dp *dp = &ab->dp; in ath11k_dp_scatter_idle_link_desc_setup()
521 ath11k_hal_srng_get_entrysize(ab, HAL_WBM_IDLE_LINK); in ath11k_dp_scatter_idle_link_desc_setup()
528 slist[i].vaddr = dma_alloc_coherent(ab->dev, in ath11k_dp_scatter_idle_link_desc_setup()
565 ath11k_hal_setup_link_idle_list(ab, slist, num_scatter_buf, in ath11k_dp_scatter_idle_link_desc_setup()
571 ath11k_dp_scatter_idle_link_desc_cleanup(ab); in ath11k_dp_scatter_idle_link_desc_setup()
577 ath11k_dp_link_desc_bank_free(struct ath11k_base *ab, in ath11k_dp_link_desc_bank_free() argument
584 dma_free_coherent(ab->dev, in ath11k_dp_link_desc_bank_free()
593 static int ath11k_dp_link_desc_bank_alloc(struct ath11k_base *ab, in ath11k_dp_link_desc_bank_alloc() argument
598 struct ath11k_dp *dp = &ab->dp; in ath11k_dp_link_desc_bank_alloc()
608 dma_alloc_coherent(ab->dev, desc_sz, in ath11k_dp_link_desc_bank_alloc()
627 ath11k_dp_link_desc_bank_free(ab, dp->link_desc_banks); in ath11k_dp_link_desc_bank_alloc()
632 void ath11k_dp_link_desc_cleanup(struct ath11k_base *ab, in ath11k_dp_link_desc_cleanup() argument
636 ath11k_dp_link_desc_bank_free(ab, desc_bank); in ath11k_dp_link_desc_cleanup()
639 ath11k_dp_srng_cleanup(ab, ring); in ath11k_dp_link_desc_cleanup()
640 ath11k_dp_scatter_idle_link_desc_cleanup(ab); in ath11k_dp_link_desc_cleanup()
644 static int ath11k_wbm_idle_ring_setup(struct ath11k_base *ab, u32 *n_link_desc) in ath11k_wbm_idle_ring_setup() argument
646 struct ath11k_dp *dp = &ab->dp; in ath11k_wbm_idle_ring_setup()
671 ret = ath11k_dp_srng_setup(ab, &dp->wbm_idle_ring, in ath11k_wbm_idle_ring_setup()
674 ath11k_warn(ab, "failed to setup wbm_idle_ring: %d\n", ret); in ath11k_wbm_idle_ring_setup()
680 int ath11k_dp_link_desc_setup(struct ath11k_base *ab, in ath11k_dp_link_desc_setup() argument
713 ret = ath11k_dp_link_desc_bank_alloc(ab, link_desc_banks, in ath11k_dp_link_desc_setup()
719 entry_sz = ath11k_hal_srng_get_entrysize(ab, ring_type); in ath11k_dp_link_desc_setup()
725 ret = ath11k_dp_scatter_idle_link_desc_setup(ab, tot_mem_sz, in ath11k_dp_link_desc_setup()
730 ath11k_warn(ab, "failed to setup scatting idle list descriptor :%d\n", in ath11k_dp_link_desc_setup()
740 ath11k_hal_srng_access_begin(ab, srng); in ath11k_dp_link_desc_setup()
749 (desc = ath11k_hal_srng_src_get_next_entry(ab, srng))) { in ath11k_dp_link_desc_setup()
757 ath11k_hal_srng_access_end(ab, srng); in ath11k_dp_link_desc_setup()
764 ath11k_dp_link_desc_bank_free(ab, link_desc_banks); in ath11k_dp_link_desc_setup()
769 int ath11k_dp_service_srng(struct ath11k_base *ab, in ath11k_dp_service_srng() argument
780 for (i = 0; i < ab->hw_params.max_tx_ring; i++) { in ath11k_dp_service_srng()
781 if (BIT(ab->hw_params.hal_params->tcl2wbm_rbm_map[i].wbm_ring_num) & in ath11k_dp_service_srng()
782 ab->hw_params.ring_mask->tx[grp_id]) in ath11k_dp_service_srng()
783 ath11k_dp_tx_completion_handler(ab, i); in ath11k_dp_service_srng()
786 if (ab->hw_params.ring_mask->rx_err[grp_id]) { in ath11k_dp_service_srng()
787 work_done = ath11k_dp_process_rx_err(ab, napi, budget); in ath11k_dp_service_srng()
794 if (ab->hw_params.ring_mask->rx_wbm_rel[grp_id]) { in ath11k_dp_service_srng()
795 work_done = ath11k_dp_rx_process_wbm_err(ab, in ath11k_dp_service_srng()
805 if (ab->hw_params.ring_mask->rx[grp_id]) { in ath11k_dp_service_srng()
806 i = fls(ab->hw_params.ring_mask->rx[grp_id]) - 1; in ath11k_dp_service_srng()
807 work_done = ath11k_dp_process_rx(ab, i, napi, in ath11k_dp_service_srng()
815 if (ab->hw_params.ring_mask->rx_mon_status[grp_id]) { in ath11k_dp_service_srng()
816 for (i = 0; i < ab->num_radios; i++) { in ath11k_dp_service_srng()
817 for (j = 0; j < ab->hw_params.num_rxmda_per_pdev; j++) { in ath11k_dp_service_srng()
818 int id = i * ab->hw_params.num_rxmda_per_pdev + j; in ath11k_dp_service_srng()
820 if (ab->hw_params.ring_mask->rx_mon_status[grp_id] & in ath11k_dp_service_srng()
823 ath11k_dp_rx_process_mon_rings(ab, in ath11k_dp_service_srng()
836 if (ab->hw_params.ring_mask->reo_status[grp_id]) in ath11k_dp_service_srng()
837 ath11k_dp_process_reo_status(ab); in ath11k_dp_service_srng()
839 for (i = 0; i < ab->num_radios; i++) { in ath11k_dp_service_srng()
840 for (j = 0; j < ab->hw_params.num_rxmda_per_pdev; j++) { in ath11k_dp_service_srng()
841 int id = i * ab->hw_params.num_rxmda_per_pdev + j; in ath11k_dp_service_srng()
843 if (ab->hw_params.ring_mask->rxdma2host[grp_id] & BIT(id)) { in ath11k_dp_service_srng()
844 work_done = ath11k_dp_process_rxdma_err(ab, id, budget); in ath11k_dp_service_srng()
852 if (ab->hw_params.ring_mask->host2rxdma[grp_id] & BIT(id)) { in ath11k_dp_service_srng()
853 struct ath11k *ar = ath11k_ab_to_ar(ab, id); in ath11k_dp_service_srng()
857 hal_params = ab->hw_params.hal_params; in ath11k_dp_service_srng()
858 ath11k_dp_rxbufs_replenish(ab, id, rx_ring, 0, in ath11k_dp_service_srng()
870 void ath11k_dp_pdev_free(struct ath11k_base *ab) in ath11k_dp_pdev_free() argument
875 del_timer_sync(&ab->mon_reap_timer); in ath11k_dp_pdev_free()
877 for (i = 0; i < ab->num_radios; i++) { in ath11k_dp_pdev_free()
878 ar = ab->pdevs[i].ar; in ath11k_dp_pdev_free()
879 ath11k_dp_rx_pdev_free(ab, i); in ath11k_dp_pdev_free()
885 void ath11k_dp_pdev_pre_alloc(struct ath11k_base *ab) in ath11k_dp_pdev_pre_alloc() argument
892 for (i = 0; i < ab->num_radios; i++) { in ath11k_dp_pdev_pre_alloc()
893 ar = ab->pdevs[i].ar; in ath11k_dp_pdev_pre_alloc()
900 for (j = 0; j < ab->hw_params.num_rxmda_per_pdev; j++) { in ath11k_dp_pdev_pre_alloc()
909 int ath11k_dp_pdev_alloc(struct ath11k_base *ab) in ath11k_dp_pdev_alloc() argument
916 for (i = 0; i < ab->num_radios; i++) { in ath11k_dp_pdev_alloc()
917 ar = ab->pdevs[i].ar; in ath11k_dp_pdev_alloc()
918 ret = ath11k_dp_rx_pdev_alloc(ab, i); in ath11k_dp_pdev_alloc()
920 ath11k_warn(ab, "failed to allocate pdev rx for pdev_id :%d\n", in ath11k_dp_pdev_alloc()
926 ath11k_warn(ab, "failed to initialize mon pdev %d\n", in ath11k_dp_pdev_alloc()
935 ath11k_dp_pdev_free(ab); in ath11k_dp_pdev_alloc()
955 status = ath11k_htc_connect_service(&dp->ab->htc, &conn_req, in ath11k_dp_htt_connect()
975 if (arvif->ar->ab->hw_params.htt_peer_map_v2) { in ath11k_dp_update_vdev_search()
1010 struct ath11k_base *ab = (struct ath11k_base *)ctx; in ath11k_dp_tx_pending_cleanup() local
1013 dma_unmap_single(ab->dev, ATH11K_SKB_CB(msdu)->paddr, msdu->len, in ath11k_dp_tx_pending_cleanup()
1021 void ath11k_dp_free(struct ath11k_base *ab) in ath11k_dp_free() argument
1023 struct ath11k_dp *dp = &ab->dp; in ath11k_dp_free()
1026 ath11k_dp_link_desc_cleanup(ab, dp->link_desc_banks, in ath11k_dp_free()
1029 ath11k_dp_srng_common_cleanup(ab); in ath11k_dp_free()
1031 ath11k_dp_reo_cmd_list_cleanup(ab); in ath11k_dp_free()
1033 for (i = 0; i < ab->hw_params.max_tx_ring; i++) { in ath11k_dp_free()
1036 ath11k_dp_tx_pending_cleanup, ab); in ath11k_dp_free()
1045 int ath11k_dp_alloc(struct ath11k_base *ab) in ath11k_dp_alloc() argument
1047 struct ath11k_dp *dp = &ab->dp; in ath11k_dp_alloc()
1054 dp->ab = ab; in ath11k_dp_alloc()
1063 ret = ath11k_wbm_idle_ring_setup(ab, &n_link_desc); in ath11k_dp_alloc()
1065 ath11k_warn(ab, "failed to setup wbm_idle_ring: %d\n", ret); in ath11k_dp_alloc()
1069 srng = &ab->hal.srng_list[dp->wbm_idle_ring.ring_id]; in ath11k_dp_alloc()
1071 ret = ath11k_dp_link_desc_setup(ab, dp->link_desc_banks, in ath11k_dp_alloc()
1074 ath11k_warn(ab, "failed to setup link desc: %d\n", ret); in ath11k_dp_alloc()
1078 ret = ath11k_dp_srng_common_setup(ab); in ath11k_dp_alloc()
1084 for (i = 0; i < ab->hw_params.max_tx_ring; i++) { in ath11k_dp_alloc()
1099 ath11k_hal_tx_set_dscp_tid_map(ab, i); in ath11k_dp_alloc()
1106 ath11k_dp_srng_common_cleanup(ab); in ath11k_dp_alloc()
1109 ath11k_dp_link_desc_cleanup(ab, dp->link_desc_banks, in ath11k_dp_alloc()
1119 struct ath11k_base *ab = update_timer->ab; in ath11k_dp_shadow_timer_handler() local
1120 struct hal_srng *srng = &ab->hal.srng_list[update_timer->ring_id]; in ath11k_dp_shadow_timer_handler()
1135 ath11k_hal_srng_shadow_update_hp_tp(ab, srng); in ath11k_dp_shadow_timer_handler()
1141 void ath11k_dp_shadow_start_timer(struct ath11k_base *ab, in ath11k_dp_shadow_start_timer() argument
1147 if (!ab->hw_params.supports_shadow_regs) in ath11k_dp_shadow_start_timer()
1161 void ath11k_dp_shadow_stop_timer(struct ath11k_base *ab, in ath11k_dp_shadow_stop_timer() argument
1164 if (!ab->hw_params.supports_shadow_regs) in ath11k_dp_shadow_stop_timer()
1173 void ath11k_dp_shadow_init_timer(struct ath11k_base *ab, in ath11k_dp_shadow_init_timer() argument
1177 if (!ab->hw_params.supports_shadow_regs) in ath11k_dp_shadow_init_timer()
1182 update_timer->ab = ab; in ath11k_dp_shadow_init_timer()