ath11k: print hardware name and version during initialisation
authorKalle Valo <kvalo@codeaurora.org>
Wed, 17 Feb 2021 19:16:40 +0000 (21:16 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 22 Feb 2021 07:31:02 +0000 (09:31 +0200)
commit6b7abacb9cbe45894a385ea1766fd4febbd6e0df
tree90570ddfd85177a8c81c91dada86d4441c1bbe4f
parent788f805e8c0a10679fdfa7c6d0e21465e3b62de5
ath11k: print hardware name and version during initialisation

This way it's easy for the user to find what device is actually installed. This
also helps reporting bugs.

Screenshot:

[  459.988812] ath11k_pci 0000:06:00.0: BAR 0: assigned [mem 0xdb000000-0xdbffffff 64bit]
[  459.988867] ath11k_pci 0000:06:00.0: enabling device (0000 -> 0002)
[  459.997048] ath11k_pci 0000:06:00.0: qca6390 hw2.0
[  460.058093] mhi mhi0: Requested to power ON
[  460.059741] mhi mhi0: Power on setup success
[  460.476924] ath11k_pci 0000:06:00.0: chip_id 0x0 chip_family 0xb board_id 0xff soc_id 0xffffffff
[  460.477032] ath11k_pci 0000:06:00.0: fw_version 0x101c06cc fw_build_timestamp 2020-06-24 19:50 fw_build_id

Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1

Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1613589400-18891-1-git-send-email-kvalo@codeaurora.org
drivers/net/wireless/ath/ath11k/core.c