mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 00:41:17 +00:00
ac840d74f1
The mac80211 driver backport has been updated to version 6.11. Let's also push ath10k-ct driver forward. The unsupported feature 'NL80211_EXT_FEATURE_ETHTOOL_VDEV_STATS' has been dropped since it looks like something for debugging and not supported by the mainline. Signed-off-by: Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/16514 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
51 lines
1.1 KiB
Diff
51 lines
1.1 KiB
Diff
--- a/ath10k-6.10/pci.c
|
|
+++ b/ath10k-6.10/pci.c
|
|
@@ -132,7 +132,11 @@ static const struct ce_attr pci_host_ce_
|
|
.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,
|
|
},
|
|
|
|
@@ -141,7 +145,11 @@ static const struct ce_attr pci_host_ce_
|
|
.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,
|
|
},
|
|
|
|
@@ -168,7 +176,11 @@ static const struct ce_attr pci_host_ce_
|
|
.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,
|
|
},
|
|
|
|
@@ -193,7 +205,11 @@ static const struct ce_attr pci_host_ce_
|
|
.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,
|
|
},
|
|
|