1. 21 12月, 2021 1 次提交
    • W
      ath11k: add regdb.bin download for regdb offload · 01417e57
      Wen Gong 提交于
      The regdomain is self-managed type for ath11k, the regdomain info is
      reported from firmware, it is not from wireless regdb. Firmware fetch
      the regdomain info from board data file before. Currently most of the
      regdomain info has moved to another file regdb.bin from board data
      file for some chips such as QCA6390 and WCN6855, so the regdomain info
      left in board data file is not enough to support the feature which need
      more regdomain info.
      
      After download regdb.bin, firmware will fetch the regdomain info from
      regdb.bin instead of board data file and report to ath11k. If it does
      not have the file regdb.bin, it also can initialize wlan success and
      firmware then fetch regdomain info from board data file.
      
      Add download the regdb.bin before download board data for some specific
      chip which support supports_regdb in hardware parameters.
      
      download regdb.bin log:
      [430082.334162] ath11k_pci 0000:05:00.0: chip_id 0x2 chip_family 0xb board_id 0x106 soc_id 0x400c0200
      [430082.334169] ath11k_pci 0000:05:00.0: fw_version 0x110c8b4c fw_build_timestamp 2021-10-25 07:41 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HSP.1.1-02892-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3
      [430082.334414] ath11k_pci 0000:05:00.0: boot firmware request ath11k/WCN6855/hw2.0/regdb.bin size 24310
      
      output of "iw reg get"
      global
      country US: DFS-FCC
              (2402 - 2472 @ 40), (N/A, 30), (N/A)
              (5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
              (5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
              (5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
              (5735 - 5835 @ 80), (N/A, 30), (N/A)
              (57240 - 63720 @ 2160), (N/A, 40), (N/A)
      
      phy#0 (self-managed)
      country US: DFS-FCC
              (2402 - 2472 @ 40), (6, 30), (N/A)
              (5170 - 5250 @ 80), (N/A, 24), (N/A), AUTO-BW
              (5250 - 5330 @ 80), (N/A, 24), (0 ms), DFS, AUTO-BW
              (5490 - 5730 @ 160), (N/A, 24), (0 ms), DFS, AUTO-BW
              (5735 - 5895 @ 160), (N/A, 30), (N/A), AUTO-BW
              (5945 - 7125 @ 160), (N/A, 24), (N/A), NO-OUTDOOR, AUTO-BW
      
      Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1
      Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-01720.1-QCAHSPSWPL_V1_V2_SILICONZ_LITE-1
      Signed-off-by: NWen Gong <quic_wgong@quicinc.com>
      Signed-off-by: NKalle Valo <quic_kvalo@quicinc.com>
      Link: https://lore.kernel.org/r/20211220062355.17021-1-quic_wgong@quicinc.com
      01417e57
  2. 16 12月, 2021 1 次提交
  3. 14 12月, 2021 1 次提交
  4. 25 11月, 2021 1 次提交
    • K
      Revert "ath11k: add read variant from SMBIOS for download board data" · 72f41243
      Kalle Valo 提交于
      This reverts commit 46e46db3. Mark reported
      that it breaks QCA6390 hw2.0 on Dell XPS 13 9310:
      
      [    5.537034] ath11k_pci 0000:72:00.0: chip_id 0x0 chip_family 0xb board_id 0xff soc_id 0xffffffff
      [    5.537038] ath11k_pci 0000:72:00.0: fw_version 0x101c06cc fw_build_timestamp 2020-06-24 19:50 fw_build_id
      [    5.537236] ath11k_pci 0000:72:00.0: failed to fetch board data for bus=pci,qmi-chip-id=0,qmi-board-id=255,variant=DE_1901 from ath11k/QCA6390/hw2.0/board-2.bin
      [    5.537255] ath11k_pci 0000:72:00.0: failed to fetch board-2.bin or board.bin from QCA6390/hw2.0
      [    5.537257] ath11k_pci 0000:72:00.0: qmi failed to fetch board file: -2
      [    5.537258] ath11k_pci 0000:72:00.0: failed to load board data file: -2
      
      So we need to back to the drawing board and implement it so that backwards
      compatiblity is not broken.
      Reported-by: NMark Herbert <mark.herbert42@gmail.com>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/20211124094316.9096-1-kvalo@codeaurora.org
      72f41243
  5. 22 11月, 2021 1 次提交
  6. 17 11月, 2021 1 次提交
  7. 11 10月, 2021 1 次提交
  8. 28 9月, 2021 6 次提交
  9. 22 4月, 2021 1 次提交
  10. 24 2月, 2021 3 次提交
  11. 17 2月, 2021 1 次提交
  12. 12 2月, 2021 1 次提交
  13. 18 12月, 2020 1 次提交
  14. 09 12月, 2020 1 次提交
  15. 03 12月, 2020 1 次提交
  16. 07 11月, 2020 2 次提交
  17. 02 10月, 2020 2 次提交
  18. 27 8月, 2020 1 次提交
  19. 18 8月, 2020 1 次提交
  20. 17 8月, 2020 7 次提交
  21. 23 6月, 2020 5 次提交