1. 08 Dec, 2015 17 commits
  2. 03 Dec, 2015 2 commits
  3. 01 Dec, 2015 18 commits
  4. 30 Nov, 2015 3 commits
    • Kalle Valo's avatar
      ath10k: implement fw_checksums debugfs file · 9e100c4d
      Kalle Valo authored
      When debugging firmware problems it's useful to check checksums of each
      component. Add a debugfs interface to retrieve crc32 checksums:
      
      # cat /sys/kernel/debug/ieee80211/phy0/ath10k/fw_checksums
      firmware-N.bin          cc3fb466
      athwlan                 c0089f21
      otp                     f3efeb4f
      codeswap                00000000
      board-N.bin             bebc7c08
      board                   bebc7c08
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      9e100c4d
    • Kalle Valo's avatar
      ath10k: print crc32 checksums for firmware and board files · 3e58044b
      Kalle Valo authored
      To detect cases if the firmare or board file is corrupted or otherwise modified print crc32 value
      of both. Now the output looks like:
      
      ath10k_pci 0000:02:00.0: pci irq msi interrupts 1 irq_mode 0 reset_mode 0
      ath10k_pci 0000:02:00.0: qca99x0 hw2.0 target 0x01000000 chip_id 0x003801ff sub 168c:0002
      ath10k_pci 0000:02:00.0: kconfig debug 1 debugfs 1 tracing 1 dfs 1 testmode 1
      ath10k_pci 0000:02:00.0: firmware ver 10.4.1.00030-1 api 5 features no-p2p crc32 d2901e01
      ath10k_pci 0000:02:00.0: board_file api 1 bmi_id 1:1 crc32 7e56fd07
      ath10k_pci 0000:02:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal otp max-sta 512 raw 0 hwcrypto 1
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      3e58044b
    • Kalle Valo's avatar
      ath10k: split driver info messages during device initialisation · 23f591ea
      Kalle Valo authored
      Earlier we printed all the info messages after a successful device
      initialisation and firmware boot, but that's problematic if something goes
      wrong and there's no easy way to know what firmware version was used and so on.
      
      Split the info messages into smaller pieces and print them as soon as we have
      the info available.
      Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
      23f591ea