2021-11-18 02:02:21 +00:00
|
|
|
--- a/ath10k-5.15/pci.c
|
|
|
|
+++ b/ath10k-5.15/pci.c
|
2020-09-02 19:10:38 +00:00
|
|
|
@@ -131,7 +131,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,
|
|
|
|
},
|
|
|
|
|
2020-09-02 19:10:38 +00:00
|
|
|
@@ -140,7 +144,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,
|
|
|
|
},
|
|
|
|
|
2020-09-02 19:10:38 +00:00
|
|
|
@@ -167,7 +175,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,
|
|
|
|
},
|
|
|
|
|
2020-09-02 19:10:38 +00:00
|
|
|
@@ -192,7 +204,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,
|
|
|
|
},
|
|
|
|
|