1. 02 Sep, 2014 2 commits
    • Michal Kazior's avatar
      ath10k: fix num_legacy_stations tracking · a4841eb6
      Michal Kazior authored
      If a station was reassociated, i.e. due to change
      of supported rates update via sta_rc_update() the
      num_legacy_stations would be (incorrectly) bumped
      up leading to unbalanced usage of the var. This in
      turn could lock rtscts protection up as enabled.
      Signed-off-by: default avatarMichal Kazior <michal.kazior@tieto.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      a4841eb6
    • Michal Kazior's avatar
      ath10k: re-enable interrupts properly in hw recovery · e75db4e3
      Michal Kazior authored
      Recent changes done to start/restart sequences
      broke hw recovery in some hw configurations. The
      pci transport was stopped twice however due to a
      workaround in the pci disabling code the
      disable/enable for first msi interrupt was not
      balanced. This ended up with irqs not being
      properly re-enabled and the following print out
      during recovery:
      
       ath10k: failed to receive control response completion, polling..
       ath10k: Service connect timeout: -110
       ath10k: Could not init core: -110
      
      Legacy interrupt mode was unaffected while msi
      ranged mode would be partially crippled (it would
      miss fw indication interrupts but otherwise it
      worked fine).
      
      This fixes completely broken fw recovery for a
      single msi interrupt mode and fixes subsequent fw
      crash reports for msi range interrupt mode.
      Signed-off-by: default avatarMichal Kazior <michal.kazior@tieto.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      e75db4e3
  2. 28 Aug, 2014 38 commits