aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/ath/960-0011-ath10k-limit-pci-buffer-size.patch
blob: a101282d074aeba592b042dcc9944c2a260e40ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- a/drivers/net/wireless/ath/ath10k/pci.c
+++ b/drivers/net/wireless/ath/ath10k/pci.c
@@ -128,7 +128,7 @@ static struct ce_attr host_ce_config_wla
 		.flags = CE_ATTR_FLAGS,
 		.src_nentries = 0,
 		.src_sz_max = 2048,
-		.dest_nentries = 512,
+		.dest_nentries = 128,
 		.recv_cb = ath10k_pci_htt_htc_rx_cb,
 	},
 
@@ -137,7 +137,7 @@ static struct ce_attr host_ce_config_wla
 		.flags = CE_ATTR_FLAGS,
 		.src_nentries = 0,
 		.src_sz_max = 2048,
-		.dest_nentries = 128,
+		.dest_nentries = 64,
 		.recv_cb = ath10k_pci_htc_rx_cb,
 	},
 
@@ -164,7 +164,7 @@ static struct ce_attr host_ce_config_wla
 		.flags = CE_ATTR_FLAGS,
 		.src_nentries = 0,
 		.src_sz_max = 512,
-		.dest_nentries = 512,
+		.dest_nentries = 128,
 		.recv_cb = ath10k_pci_htt_rx_cb,
 	},
 
@@ -189,7 +189,7 @@ static struct ce_attr host_ce_config_wla
 		.flags = CE_ATTR_FLAGS,
 		.src_nentries = 0,
 		.src_sz_max = 2048,
-		.dest_nentries = 128,
+		.dest_nentries = 96,
 		.recv_cb = ath10k_pci_pktlog_rx_cb,
 	},