1. 18 Jan, 2024 4 commits
  2. 17 Jan, 2024 2 commits
  3. 16 Jan, 2024 15 commits
  4. 14 Jan, 2024 15 commits
  5. 11 Jan, 2024 2 commits
  6. 20 Dec, 2023 1 commit
  7. 18 Dec, 2023 1 commit
    • Baochen Qiang's avatar
      wifi: ath12k: support default regdb while searching board-2.bin for WCN7850 · 52f8c45f
      Baochen Qiang authored
      Sometimes board-2.bin does not have the regdb data which matches the
      parameters such as vendor, device, subsystem-vendor, subsystem-device
      etc. Add default regdb data with only 'bus=%s' into board-2.bin for
      WCN7850, then ath12k uses 'bus=pci' to search regdb data in board-2.bin
      for WCN7850.
      
      [   46.114895] ath12k_pci 0000:03:00.0: boot using board name 'bus=pci,vendor=17cb,device=1107,subsystem-vendor=17cb,subsystem-device=3378,qmi-chip-id=2,qmi-board-id=260'
      [   46.118167] ath12k_pci 0000:03:00.0: boot firmware request ath12k/WCN7850/hw2.0/board-2.bin size 380280
      [   46.118173] ath12k_pci 0000:03:00.0: board name
      [   46.118176] ath12k_pci 0000:03:00.0: 00000000: 62 75 73 3d 70 63 69                             bus=pci
      [   46.118179] ath12k_pci 0000:03:00.0: failed to fetch regdb data for bus=pci,vendor=17cb,device=1107,subsystem-vendor=17cb,subsystem-device=3378,qmi-chip-id=2,qmi-board-id=260 from ath12k/WCN7850/hw2.0/board-2.bin
      [   46.118239] ath12k_pci 0000:03:00.0: boot using board name 'bus=pci'
      [   46.119842] ath12k_pci 0000:03:00.0: boot firmware request ath12k/WCN7850/hw2.0/board-2.bin size 380280
      [   46.119847] ath12k_pci 0000:03:00.0: board name
      [   46.119849] ath12k_pci 0000:03:00.0: 00000000: 62 75 73 3d 70 63 69                             bus=pci
      [   46.119852] ath12k_pci 0000:03:00.0: boot found match regdb data for name 'bus=pci'
      [   46.119855] ath12k_pci 0000:03:00.0: boot found regdb data for 'bus=pci'
      [   46.119857] ath12k_pci 0000:03:00.0: fetched regdb
      
      Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4
      Signed-off-by: default avatarBaochen Qiang <quic_bqiang@quicinc.com>
      Signed-off-by: default avatarKalle Valo <quic_kvalo@quicinc.com>
      Link: https://msgid.link/20231216060140.30611-6-quic_bqiang@quicinc.com
      52f8c45f