0bdddaeef82d65c4cbd278833cbdd043591b887a
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / 960-0011-ath10k-limit-pci-buffer-size.patch
1 --- a/drivers/net/wireless/ath/ath10k/pci.c 2016-12-12 16:29:42.310053558 +0100
2 +++ b/drivers/net/wireless/ath/ath10k/pci.c 2016-12-12 16:34:46.667203800 +0100
3 @@ -127,7 +127,7 @@ static struct ce_attr host_ce_config_wla
4 .flags = CE_ATTR_FLAGS,
5 .src_nentries = 0,
6 .src_sz_max = 2048,
7 - .dest_nentries = 512,
8 + .dest_nentries = 128,
9 .recv_cb = ath10k_pci_htt_htc_rx_cb,
10 },
11
12 @@ -136,7 +136,7 @@ static struct ce_attr host_ce_config_wla
13 .flags = CE_ATTR_FLAGS,
14 .src_nentries = 0,
15 .src_sz_max = 2048,
16 - .dest_nentries = 128,
17 + .dest_nentries = 64,
18 .recv_cb = ath10k_pci_htc_rx_cb,
19 },
20
21 @@ -163,7 +163,7 @@ static struct ce_attr host_ce_config_wla
22 .flags = CE_ATTR_FLAGS,
23 .src_nentries = 0,
24 .src_sz_max = 512,
25 - .dest_nentries = 512,
26 + .dest_nentries = 128,
27 .recv_cb = ath10k_pci_htt_rx_cb,
28 },
29
30 @@ -188,7 +188,7 @@ static struct ce_attr host_ce_config_wla
31 .flags = CE_ATTR_FLAGS,
32 .src_nentries = 0,
33 .src_sz_max = 2048,
34 - .dest_nentries = 128,
35 + .dest_nentries = 96,
36 .recv_cb = ath10k_pci_pktlog_rx_cb,
37 },
38