1. 11 Apr, 2014 2 commits
    • Michal Kazior's avatar
      ath10k: refactor radar detection code · d650097b
      Michal Kazior authored
      If 20MHz CAC completed successfully then
      subsequent CAC with wider bandwidth (40Mhz, 80Mhz)
      with identical control frequency did not start
      monitor vdev making it impossible to detect any
      radar pulses during intended CAC.
      
      It also was incorrect to assume ath10k_config() will
      be called after CAC is finished. Theoretically for
      non-HT channels nothing changes between CAC and
      start_ap() (albeit in practice this can be
      different). The incorrect assumption led to CAC
      not being stopped on non-HT chandefs leading to
      all Rx being drooped making it impossible for
      clients to associate.
      
      While at it clean up the code a bit.
      
      kvalo: separate WARN_ON() from the if statement
      Signed-off-by: default avatarMichal Kazior <michal.kazior@tieto.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      d650097b
    • Michal Kazior's avatar
      ath10k: reorder functions · 72654fa7
      Michal Kazior authored
      This is done to avoid forward declarations with
      upcomming patches.
      Signed-off-by: default avatarMichal Kazior <michal.kazior@tieto.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      72654fa7
  2. 08 Apr, 2014 2 commits
    • Michal Kazior's avatar
      ath10k: refactor monitor code · 1bbc0975
      Michal Kazior authored
      It was possible to create/delete/start/stop
      monitor vdev from a few places that were not
      exclusively protected against each other. This
      resulted in monitor vdev being stopped/removed by
      one call origin while another one was expecting it
      to continue running.
      
      For example if CAC was started and interface's
      promiscuous mode was toggled monitor vdev was
      removed from the driver meaning no radar would be
      detected. In additional a warning would be printed
      upon CAC completion complaining it tried to stop
      non-running monitor vdev.
      
      The patch simplifies monitor code by removing
      IEEE80211_HW_WANT_MONITOR_VIF (which wasn't really
      ever needed) and improves state tracking. It also
      unifies prints.
      Signed-off-by: default avatarMichal Kazior <michal.kazior@tieto.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      1bbc0975
    • Kalle Valo's avatar
      ath10k: cleanup debug messages in ath10k_wmi_event_host_swba() · 7a8a396b
      Kalle Valo authored
      They were just too superfluous and made it harder to read logs. Change them to
      follow the normal style used in ath10k.
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      7a8a396b
  3. 28 Mar, 2014 18 commits
  4. 25 Mar, 2014 10 commits
  5. 24 Mar, 2014 3 commits
  6. 21 Mar, 2014 4 commits
  7. 13 Mar, 2014 1 commit
    • Kalle Valo's avatar
      ath6kl: update Kconfig descriptions · b5a63788
      Kalle Valo authored
      The help text were either out of date, too small or didn't exist at all. Also
      move cfg80211 dependency to ath6kl_core module as it has all the calls to
      cfg80211.
      
      Fixes checkpatch warning:
      
      WARNING: please write a paragraph that describes the config symbol fully
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      b5a63788