1. 21 Oct, 2014 4 commits
    • Michal Kazior's avatar
      ath10k: clean up assoc code · 590922a8
      Michal Kazior authored
      There's no need to pass bss_conf explicitly as it
      is accessible via vif pointer. This requires
      slight changes in function prototypes. While at it
      clean up listen interval workaround/command.
      Signed-off-by: default avatarMichal Kazior <michal.kazior@tieto.com>
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      590922a8
    • Kalle Valo's avatar
      ath10k: retrieve calibration data from file · a58227ef
      Kalle Valo authored
      A frequent request have been to be able to provide calibration data from a
      file as some of the AP devices store the calibration data on an MTD partition.
      This patchset adds support for that and also makes it easier to add Device Tree
      support later on.
      
      The calibration data is found by using the id string provided by dev_name()
      using this format:
      
      cal-<bus>-<id>.bin
      
      With PCI the id string contains bus, slot and func values. For example for a
      PCI device in bus 2 slot 0, ath10k will try to retrieve a calibration data from
      a file:
      
      /lib/firmware/ath10k/cal-pci-0000:02:00.0.bin
      
      The calibration data sequence is:
      
      1. Check with request_firmware() if there's a calibration file
         ("cal-<bus>-<id>.bin") on the filesystem for this device. If yes, use that. If
         not, goto 2
      
      2. Check if otp.bin is able to successfully load the calibration data
         from OTP. If yes, use that. If not, goto 3.
      
      4. Print an error message that no calibration data found and stop driver
         initialization for this device.
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      a58227ef
    • Kalle Valo's avatar
      ath10k: refactor ath10k_init_download_firmware() · 83091559
      Kalle Valo authored
      This is preparation for being able to download calibration data from a file.
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      83091559
    • Kalle Valo's avatar
      ath10k: add back enum ath10k_bus · e07db352
      Kalle Valo authored
      Commit 3a0861ff ("ath10k: remove ath10k_bus") removed enum ath10k_bus
      because it was not used for anything at the time. But now it's needed for for
      retrieving the right calibration data file so add it back. Only new addition is
      ath10k_bus_str().
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      e07db352
  2. 12 Oct, 2014 1 commit
  3. 08 Oct, 2014 5 commits
  4. 07 Oct, 2014 4 commits
  5. 01 Oct, 2014 3 commits
  6. 29 Sep, 2014 5 commits
  7. 26 Sep, 2014 6 commits
  8. 23 Sep, 2014 10 commits
  9. 18 Sep, 2014 2 commits
    • Kalle Valo's avatar
      ath10k: use ether_addr_copy() · b25f32cb
      Kalle Valo authored
      As suggeested by checkpatch:
      
      WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2)
      
      In wmi.c I had to change due to sparse warnings copying of struct wmi_mac_addr
      from form &cmd->peer_macaddr.addr to cmd->peer_macaddr.addr. In
      ath10k_wmi_set_ap_ps_param() I also added the missing ".addr" to the copy
      command.
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      b25f32cb
    • Kalle Valo's avatar
      ath10k: reformat help text in ath10k_read_simulate_fw_crash() · 75cb96d3
      Kalle Valo authored
      Makes it more readable and fixes checkpatch warnings:
      
      drivers/net/wireless/ath/ath10k/debug.c:593: WARNING: quoted string split across lines
      drivers/net/wireless/ath/ath10k/debug.c:594: WARNING: quoted string split across lines
      drivers/net/wireless/ath/ath10k/debug.c:595: WARNING: quoted string split across lines
      drivers/net/wireless/ath/ath10k/debug.c:596: WARNING: quoted string split across lines
      drivers/net/wireless/ath/ath10k/debug.c:597: WARNING: quoted string split across lines
      drivers/net/wireless/ath/ath10k/debug.c:599: WARNING: quoted string split across lines
      drivers/net/wireless/ath/ath10k/debug.c:600: WARNING: quoted string split across lines
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      75cb96d3