960-0011-ath10k-limit-pci-buffer-size.patch 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. @@ -136,7 +136,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. @@ -163,7 +163,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. @@ -188,7 +188,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. },