960-0011-ath10k-limit-pci-buffer-size.patch 996 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. --- a/drivers/net/wireless/ath/ath10k/pci.c
  2. +++ b/drivers/net/wireless/ath/ath10k/pci.c
  3. @@ -142,7 +142,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. @@ -151,7 +151,7 @@ static struct ce_attr host_ce_config_wla
  12. .flags = CE_ATTR_FLAGS,
  13. .src_nentries = 0,
  14. .src_sz_max = 2048,
  15. - .dest_nentries = 128,
  16. + .dest_nentries = 64,
  17. .recv_cb = ath10k_pci_htc_rx_cb,
  18. },
  19. @@ -178,7 +178,7 @@ static struct ce_attr host_ce_config_wla
  20. .flags = CE_ATTR_FLAGS,
  21. .src_nentries = 0,
  22. .src_sz_max = 512,
  23. - .dest_nentries = 512,
  24. + .dest_nentries = 128,
  25. .recv_cb = ath10k_pci_htt_rx_cb,
  26. },
  27. @@ -203,7 +203,7 @@ static struct ce_attr host_ce_config_wla
  28. .flags = CE_ATTR_FLAGS,
  29. .src_nentries = 0,
  30. .src_sz_max = 2048,
  31. - .dest_nentries = 128,
  32. + .dest_nentries = 96,
  33. .recv_cb = ath10k_pci_pktlog_rx_cb,
  34. },