aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/ath/960-0011-ath10k-limit-pci-buffer-size.patch
blob: 0c25fb3f04c837f50ca40ff0f3330e60f1eceab0 (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
@@ -131,7 +131,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,
 	},
 
@@ -140,7 +140,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,
 	},
 
@@ -167,7 +167,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,
 	},
 
@@ -192,7 +192,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,
 	},