367-Revert-ath10k-disable-wake_tx_queue-for-older-device.patch 984 B

123456789101112131415161718192021222324252627
  1. From: dave taht <[email protected]>
  2. Date: Wed, 5 Oct 2016 20:09:15 -0700
  3. Subject: [PATCH] Revert "ath10k: disable wake_tx_queue for older
  4. devices"
  5. This reverts commit 4ca1807815aa6801aaced7fdefa9edacc2521767
  6. in the hope that we've fixed all the performance problems now.
  7. ---
  8. --- a/drivers/net/wireless/ath/ath10k/mac.c
  9. +++ b/drivers/net/wireless/ath/ath10k/mac.c
  10. @@ -8319,15 +8319,6 @@ int ath10k_mac_register(struct ath10k *a
  11. ath10k_warn(ar, "failed to initialise DFS pattern detector\n");
  12. }
  13. - /* Current wake_tx_queue implementation imposes a significant
  14. - * performance penalty in some setups. The tx scheduling code needs
  15. - * more work anyway so disable the wake_tx_queue unless firmware
  16. - * supports the pull-push mechanism.
  17. - */
  18. - if (!test_bit(ATH10K_FW_FEATURE_PEER_FLOW_CONTROL,
  19. - ar->running_fw->fw_file.fw_features))
  20. - ar->ops->wake_tx_queue = NULL;
  21. -
  22. ret = ath10k_mac_init_rd(ar);
  23. if (ret) {
  24. ath10k_err(ar, "failed to derive regdom: %d\n", ret);