1 --- a/ath10k-4.19/pci.c
2 +++ b/ath10k-4.19/pci.c
3 @@ -142,7 +142,11 @@ static struct ce_attr host_ce_config_wla
4 .flags = CE_ATTR_FLAGS,
7 +#ifndef CONFIG_ATH10K_SMALLBUFFERS
10 + .dest_nentries = 128,
12 .recv_cb = ath10k_pci_htt_htc_rx_cb,
15 @@ -151,7 +155,11 @@ static struct ce_attr host_ce_config_wla
16 .flags = CE_ATTR_FLAGS,
19 +#ifndef CONFIG_ATH10K_SMALLBUFFERS
22 + .dest_nentries = 64,
24 .recv_cb = ath10k_pci_htc_rx_cb,
27 @@ -178,7 +186,11 @@ static struct ce_attr host_ce_config_wla
28 .flags = CE_ATTR_FLAGS,
31 +#ifndef CONFIG_ATH10K_SMALLBUFFERS
34 + .dest_nentries = 128,
36 .recv_cb = ath10k_pci_htt_rx_cb,
39 @@ -203,7 +215,11 @@ static struct ce_attr host_ce_config_wla
40 .flags = CE_ATTR_FLAGS,
43 +#ifndef CONFIG_ATH10K_SMALLBUFFERS
46 + .dest_nentries = 96,
48 .recv_cb = ath10k_pci_pktlog_rx_cb,
51 --- a/ath10k-5.2/pci.c
52 +++ b/ath10k-5.2/pci.c
53 @@ -131,7 +131,11 @@ static struct ce_attr host_ce_config_wla
54 .flags = CE_ATTR_FLAGS,
57 +#ifndef CONFIG_ATH10K_SMALLBUFFERS
60 + .dest_nentries = 128,
62 .recv_cb = ath10k_pci_htt_htc_rx_cb,
65 @@ -140,7 +144,11 @@ static struct ce_attr host_ce_config_wla
66 .flags = CE_ATTR_FLAGS,
69 +#ifndef CONFIG_ATH10K_SMALLBUFFERS
72 + .dest_nentries = 64,
74 .recv_cb = ath10k_pci_htc_rx_cb,
77 @@ -167,7 +175,11 @@ static struct ce_attr host_ce_config_wla
78 .flags = CE_ATTR_FLAGS,
81 +#ifndef CONFIG_ATH10K_SMALLBUFFERS
84 + .dest_nentries = 128,
86 .recv_cb = ath10k_pci_htt_rx_cb,
89 @@ -192,7 +204,11 @@ static struct ce_attr host_ce_config_wla
90 .flags = CE_ATTR_FLAGS,
93 +#ifndef CONFIG_ATH10K_SMALLBUFFERS
96 + .dest_nentries = 96,
98 .recv_cb = ath10k_pci_pktlog_rx_cb,