]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ath10k: print crc32 checksums for firmware and board files
authorKalle Valo <kvalo@qca.qualcomm.com>
Wed, 25 Nov 2015 13:38:34 +0000 (15:38 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 30 Nov 2015 14:54:59 +0000 (16:54 +0200)
commit3e58044b61a92ad63e52b347782248659b6b6f12
treeb90f904cf0d9bb73f1e5f908c80ba681e3f9c8e3
parent23f591ea9b1c8ce7ddfbf14ffd972c8f33677b2d
ath10k: print crc32 checksums for firmware and board files

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: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/Kconfig
drivers/net/wireless/ath/ath10k/debug.c