ath10k: increase bmi timeout to fix OTP on qca99xx boards and add bmi identification...
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / 960-0011-ath10k-limit-pci-buffer-size.patch
1 --- a/drivers/net/wireless/ath/ath10k/pci.c
2 +++ b/drivers/net/wireless/ath/ath10k/pci.c
3 @@ -128,7 +128,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 @@ -137,7 +137,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 @@ -164,7 +164,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 @@ -189,7 +189,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