diff --git a/dp/wifi3.0/dp_main.c b/dp/wifi3.0/dp_main.c index 3c42f18e52bf..c107362d1976 100644 --- a/dp/wifi3.0/dp_main.c +++ b/dp/wifi3.0/dp_main.c @@ -30,6 +30,7 @@ #include "dp_rx.h" #include "../../wlan_cfg/wlan_cfg.h" +#define DP_INTR_POLL_TIMER_MS 100 /** * dp_setup_srng - Internal function to setup SRNG rings used by data path */ @@ -236,7 +237,8 @@ void dp_soc_interrupt_detach(void *txrx_soc) struct dp_soc *soc = (struct dp_soc *)txrx_soc; qdf_timer_stop(&soc->int_timer); - qdf_timer_detach(&soc->int_timer); + + /* TODO -- call timer detach? */ } #else /* diff --git a/dp/wifi3.0/dp_types.h b/dp/wifi3.0/dp_types.h index ab1763e3d461..c520b6ff7454 100644 --- a/dp/wifi3.0/dp_types.h +++ b/dp/wifi3.0/dp_types.h @@ -32,6 +32,7 @@ #endif #include + #define MAX_PDEV_CNT 3 #define MAX_LINK_DESC_BANKS 8 #define MAX_TXDESC_POOLS 4 @@ -424,6 +425,11 @@ struct dp_soc { /* Enable processing of Tx completion status words */ bool process_tx_status; + +#ifdef DP_INTR_POLL_BASED + /*interrupt timer*/ + qdf_timer_t int_timer; +#endif };