On XPS-13-9360 (SMBIOS board variant BDF_RV_0520), ath10k falls back to
default firmware. Partial log is below:


[ 1151.458814] ath10k_pci 0000:3a:00.0: Hardware name qca6174 hw3.2 version 
0x5030000
[ 1151.458844] ath10k_pci 0000:3a:00.0: Direct firmware load for 
ath10k/cal-pci-0000:3a:00.0.bin failed with error -2
[ 1151.458849] ath10k_pci 0000:3a:00.0: trying fw api 5
[ 1151.458865] ath10k_pci 0000:3a:00.0: Direct firmware load for 
ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[ 1151.458870] ath10k_pci 0000:3a:00.0: could not fetch firmware file 
'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
[ 1151.458873] ath10k_pci 0000:3a:00.0: trying fw api 4
[ 1151.459279] ath10k_pci 0000:3a:00.0: found fw version 
WLAN.RM.2.0-00180-QCARMSWPZ-1
[ 1151.459283] ath10k_pci 0000:3a:00.0: found fw timestamp 1438990954
[ 1151.459287] ath10k_pci 0000:3a:00.0: found otp image ie (23921 B)
[ 1151.459290] ath10k_pci 0000:3a:00.0: found fw image ie (709754 B)
[ 1151.459293] ath10k_pci 0000:3a:00.0: found firmware features ie (2 B)
[ 1151.459296] ath10k_pci 0000:3a:00.0: Enabling feature bit: 6
[ 1151.459299] ath10k_pci 0000:3a:00.0: Enabling feature bit: 7
[ 1151.459302] ath10k_pci 0000:3a:00.0: Enabling feature bit: 8
[ 1151.459305] ath10k_pci 0000:3a:00.0: features
[ 1151.459310] ath10k_pci 0000:3a:00.0: 00000000: c0 01 00 00 00 00 00 00       
                   ........
[ 1151.459313] ath10k_pci 0000:3a:00.0: found fw ie wmi op version 4
[ 1151.459316] ath10k_pci 0000:3a:00.0: using fw api 4
[ 1151.459320] ath10k_pci 0000:3a:00.0: boot upload otp to 0x1234 len 23921 for 
board id
[ 1151.521485] ath10k_pci 0000:3a:00.0: boot get otp board id result 0x00000001 
board_id 0 chip_id 0
[ 1151.521489] ath10k_pci 0000:3a:00.0: found and validated bdf variant 
smbios_type 0xf8 bdf BDF_RV_0520
[ 1151.521494] ath10k_pci 0000:3a:00.0: boot using board name 
'bus=pci,vendor=168c,device=003e,subsystem-vendor=1a56,subsystem-device=1535,variant=RV_0520'
[ 1151.521579] ath10k_pci 0000:3a:00.0: board name
[ 1151.521580] ath10k_pci 0000:3a:00.0: 00000000: 62 75 73 3d 70 63 69 2c 76 65 
6e 64 6f 72 3d 31  bus=pci,vendor=1
[ 1151.521581] ath10k_pci 0000:3a:00.0: 00000010: 36 38 63 2c 64 65 76 69 63 65 
3d 30 30 33 65 2c  68c,device=003e,
[ 1151.521582] ath10k_pci 0000:3a:00.0: 00000020: 73 75 62 73 79 73 74 65 6d 2d 
76 65 6e 64 6f 72  subsystem-vendor
[ 1151.521584] ath10k_pci 0000:3a:00.0: 00000030: 3d 31 36 38 63 2c 73 75 62 73 
79 73 74 65 6d 2d  =168c,subsystem-
[ 1151.521585] ath10k_pci 0000:3a:00.0: 00000040: 64 65 76 69 63 65 3d 33 33 34 
65                 device=334e
....
....
....
[ 1151.521749] ath10k_pci 0000:3a:00.0: board name
[ 1151.521750] ath10k_pci 0000:3a:00.0: 00000000: 62 75 73 3d 70 63 69 2c 76 65 
6e 64 6f 72 3d 31  bus=pci,vendor=1
[ 1151.521751] ath10k_pci 0000:3a:00.0: 00000010: 36 38 63 2c 64 65 76 69 63 65 
3d 30 30 33 65 2c  68c,device=003e,
[ 1151.521752] ath10k_pci 0000:3a:00.0: 00000020: 73 75 62 73 79 73 74 65 6d 2d 
76 65 6e 64 6f 72  subsystem-vendor
[ 1151.521753] ath10k_pci 0000:3a:00.0: 00000030: 3d 31 61 35 36 2c 73 75 62 73 
79 73 74 65 6d 2d  =1a56,subsystem-
[ 1151.521754] ath10k_pci 0000:3a:00.0: 00000040: 64 65 76 69 63 65 3d 31 35 33 
35                 device=1535
[ 1151.521755] ath10k_pci 0000:3a:00.0: boot found match for name 
'bus=pci,vendor=168c,device=003e,subsystem-vendor=1a56,subsystem-device=1535'
[ 1151.521756] ath10k_pci 0000:3a:00.0: boot found board data for 
'bus=pci,vendor=168c,device=003e,subsystem-vendor=1a56,subsystem-device=1535'
[ 1151.521757] ath10k_pci 0000:3a:00.0: using board api 2
[ 1151.522014] ath10k_pci 0000:3a:00.0: boot did not find a calibration file, 
try DT next: -2
[ 1151.522015] ath10k_pci 0000:3a:00.0: boot did not find DT entry, try OTP 
next: -2
[ 1151.522102] ath10k_pci 0000:3a:00.0: boot push board extended data addr 0x0
[ 1151.542144] ath10k_pci 0000:3a:00.0: boot upload otp to 0x1234 len 23921
[ 1151.605488] ath10k_pci 0000:3a:00.0: boot otp execute result 3
[ 1151.605490] ath10k_pci 0000:3a:00.0: boot using calibration mode otp
[ 1151.605492] ath10k_pci 0000:3a:00.0: boot uploading firmware image 
ffffc90001239dc4 len 709754 mode normal
....
....
....
[ 1165.436677] wlp58s0: authenticate with 04:a1:51:32:0d:b7
[ 1165.487505] wlp58s0: send auth to 04:a1:51:32:0d:b7 (try 1/3)
[ 1165.492422] wlp58s0: send auth to 04:a1:51:32:0d:b7 (try 2/3)
[ 1165.497119] wlp58s0: send auth to 04:a1:51:32:0d:b7 (try 3/3)
[ 1165.501897] wlp58s0: authentication with 04:a1:51:32:0d:b7 timed out
[ 1165.989771] wlp58s0: authenticate with c0:c1:c0:2a:ab:e0
[ 1166.045768] wlp58s0: send auth to c0:c1:c0:2a:ab:e0 (try 1/3)
[ 1166.047753] wlp58s0: authenticated
[ 1166.050204] wlp58s0: associate with c0:c1:c0:2a:ab:e0 (try 1/3)
[ 1166.056954] wlp58s0: RX AssocResp from c0:c1:c0:2a:ab:e0 (capab=0x411 
status=0 aid=1)
[ 1166.060159] wlp58s0: associated
[ 1166.060278] IPv6: ADDRCONF(NETDEV_CHANGE): wlp58s0: link becomes ready


** Attachment added: "xps-13-ath10k log"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1666742/+attachment/4913262/+files/klog-x

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1666742

Title:
  Ath10k to read different board data file if specify in SMBIOS

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Xenial:
  New
Status in linux source package in Yakkety:
  New
Status in linux source package in Zesty:
  New

Bug description:
  Board Data File (BDF) is loaded upon driver boot-up procedure. The right
  board data file is identified, among others, by device and sybsystem ids.

  The problem, however, can occur when the (default) board data file cannot
  fulfill with the vendor requirements and it is necessary to use a different
  board data file.

  To solve the issue QCA uses SMBIOS type 0xF8 to store Board Data File Name
  Extension to specify the extension/variant name. The driver will take the
  extension suffix into consideration and will load the right (non-default)
  board data file if necessary.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1666742/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to