Bladeren bron

Merge "qcacmn: Add static compilation option to enable DP polling" into wlan-cmn.driver.lnx.2.0

Linux Build Service Account 6 jaren geleden
bovenliggende
commit
43b06b415b
1 gewijzigde bestanden met toevoegingen van 7 en 0 verwijderingen
  1. 7 0
      dp/wifi3.0/dp_main.c

+ 7 - 0
dp/wifi3.0/dp_main.c

@@ -1263,6 +1263,12 @@ static QDF_STATUS dp_soc_interrupt_attach_wrapper(void *txrx_soc)
 	}
 }
 #else
+#if defined(DP_INTR_POLL_BASED) && DP_INTR_POLL_BASED
+static QDF_STATUS dp_soc_interrupt_attach_wrapper(void *txrx_soc)
+{
+	return dp_soc_attach_poll(txrx_soc);
+}
+#else
 static QDF_STATUS dp_soc_interrupt_attach_wrapper(void *txrx_soc)
 {
 	struct dp_soc *soc = (struct dp_soc *)txrx_soc;
@@ -1273,6 +1279,7 @@ static QDF_STATUS dp_soc_interrupt_attach_wrapper(void *txrx_soc)
 		return dp_soc_interrupt_attach(txrx_soc);
 }
 #endif
+#endif
 
 static void dp_soc_interrupt_map_calculate_integrated(struct dp_soc *soc,
 		int intr_ctx_num, int *irq_id_map, int *num_irq_r)