2024-09-26 11:30:36 +00:00
|
|
|
--- a/ath10k-6.10/pci.c
|
|
|
|
+++ b/ath10k-6.10/pci.c
|
2024-07-30 16:17:31 +00:00
|
|
|
@@ -132,7 +132,11 @@ static const struct ce_attr pci_host_ce_
|
2019-12-22 18:20:57 +00:00
|
|
|
.flags = CE_ATTR_FLAGS,
|
|
|
|
.src_nentries = 0,
|
|
|
|
.src_sz_max = 2048,
|
|
|
|
+#ifndef CONFIG_ATH10K_SMALLBUFFERS
|
|
|
|
.dest_nentries = 512,
|
|
|
|
+#else
|
|
|
|
+ .dest_nentries = 128,
|
|
|
|
+#endif
|
|
|
|
.recv_cb = ath10k_pci_htt_htc_rx_cb,
|
|
|
|
},
|
|
|
|
|
2024-07-30 16:17:31 +00:00
|
|
|
@@ -141,7 +145,11 @@ static const struct ce_attr pci_host_ce_
|
2019-12-22 18:20:57 +00:00
|
|
|
.flags = CE_ATTR_FLAGS,
|
|
|
|
.src_nentries = 0,
|
|
|
|
.src_sz_max = 2048,
|
|
|
|
+#ifndef CONFIG_ATH10K_SMALLBUFFERS
|
|
|
|
.dest_nentries = 128,
|
|
|
|
+#else
|
|
|
|
+ .dest_nentries = 64,
|
|
|
|
+#endif
|
|
|
|
.recv_cb = ath10k_pci_htc_rx_cb,
|
|
|
|
},
|
|
|
|
|
2024-07-30 16:17:31 +00:00
|
|
|
@@ -168,7 +176,11 @@ static const struct ce_attr pci_host_ce_
|
2019-12-22 18:20:57 +00:00
|
|
|
.flags = CE_ATTR_FLAGS,
|
|
|
|
.src_nentries = 0,
|
|
|
|
.src_sz_max = 512,
|
|
|
|
+#ifndef CONFIG_ATH10K_SMALLBUFFERS
|
|
|
|
.dest_nentries = 512,
|
|
|
|
+#else
|
|
|
|
+ .dest_nentries = 128,
|
|
|
|
+#endif
|
|
|
|
.recv_cb = ath10k_pci_htt_rx_cb,
|
|
|
|
},
|
|
|
|
|
2024-07-30 16:17:31 +00:00
|
|
|
@@ -193,7 +205,11 @@ static const struct ce_attr pci_host_ce_
|
2019-12-22 18:20:57 +00:00
|
|
|
.flags = CE_ATTR_FLAGS,
|
|
|
|
.src_nentries = 0,
|
|
|
|
.src_sz_max = 2048,
|
|
|
|
+#ifndef CONFIG_ATH10K_SMALLBUFFERS
|
|
|
|
.dest_nentries = 128,
|
|
|
|
+#else
|
|
|
|
+ .dest_nentries = 96,
|
|
|
|
+#endif
|
|
|
|
.recv_cb = ath10k_pci_pktlog_rx_cb,
|
|
|
|
},
|
|
|
|
|