Skip to content
Snippets Groups Projects
  1. Mar 28, 2025
    • Kiran Venkatappa's avatar
      wifi: ath12k: Rename ath12k_* to ath12k_wifi7* · fe7b66d4
      Kiran Venkatappa authored
      
      Rename functions and global defines from ath12k_* to ath12k_wifi7_* to
      align with the movement of code from ath12k/ to ath12k/wifi7 directory.
      
      Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1
      Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
      Tested-on: IPQ5332 hw1.0 AHB WLAN.WBE.1.3.1-00130-QCAHKSWPL_SILICONZ-1
      
      Signed-off-by: default avatarKiran Venkatappa <quic_kiranv@quicinc.com>
    • Kiran Venkatappa's avatar
      wifi: ath12k: Modularize ath12k into shared HW dep comp · fec5caf4
      Kiran Venkatappa authored
      
      Modularize ath12k driver into two kos. ath12k.ko and ath12k_wifi7.ko.
      ath12k.ko includes shared code that can be leveraged and
      ath12k_wifi7.ko includes wifi7 device specific code.
      With this, ath12k.ko is common module and it needs to loaded before
      loading device specific module. Device specific module is dependent
      on common module.
      Previous patches in the series restructured some code as device
      specific files. This patch moves wifi7 device family files into new
      wifi7 directory and builds them as separate ko and exports common
      symbols accordingly. Some of the exported symbols will be modified
      as next set of patches moves some more code into architecture
      dependent code.
      
                                                +-----------------+
                                                |                 |
                                                |   ath12k.ko     |
                                                |    (common)     |
              +---------------+                 |                 |
              |               |                 +-----------------+
              |   ath12k.ko   | ===========>
              |               |                 +------------------+
              +---------------+                 |                  |
                                                | ath12k_wifi7.ko  |
                                                | (wifi7 family)   |
                                                |                  |
                                                +------------------+
      
      Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1
      Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
      Tested-on: IPQ5332 hw1.0 AHB WLAN.WBE.1.3.1-00130-QCAHKSWPL_SILICONZ-1
      
      Signed-off-by: default avatarKiran Venkatappa <quic_kiranv@quicinc.com>
      fec5caf4
    • Kiran Venkatappa's avatar
      wifi: ath12k: Restructure hw_init call path · 409f726c
      Kiran Venkatappa authored
      
      hw_init is called during probe to update HW and target configs. This
      call is moved to wifi7 target specific files. Restructure the calling
      path use callbacks to enable it to be called from common probe path
      
      Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1
      Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
      Tested-on: IPQ5332 hw1.0 AHB WLAN.WBE.1.3.1-00130-QCAHKSWPL_SILICONZ-1
      
      Signed-off-by: default avatarKiran Venkatappa <quic_kiranv@quicinc.com>
      409f726c
    • Kiran Venkatappa's avatar
      wifi: ath12k: Restructure core.c file · 40e791dc
      Kiran Venkatappa authored
      
      module init and exit is calling wifi7 specific init calls. Move these
      functions to new file core_wifi7.c. This change is done to restructure
      ATH12K into common and device family specific code.
      
      Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1
      Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
      Tested-on: IPQ5332 hw1.0 AHB WLAN.WBE.1.3.1-00130-QCAHKSWPL_SILICONZ-1
      
      Signed-off-by: default avatarKiran Venkatappa <quic_kiranv@quicinc.com>
      40e791dc
    • Kiran Venkatappa's avatar
      wifi: ath12k: Restructure ahb code · 3681a36a
      Kiran Venkatappa authored
      
      Restructure ahb.c file into common and HW family specific files.
      ahb.c has common code that can be shared across multiple family
      of devices and ahb_wifi7.c includes code corresponding to wifi7
      device family.
      Majority of code is common and hence kept in ahb.c including probe
      and init sequence. Only certain init configs is different,
      so register wifi7 specific config and callbacks to common code
      that can be used to register and init ahb driver for this device.
      
      Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1
      Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
      Tested-on: IPQ5332 hw1.0 AHB WLAN.WBE.1.3.1-00130-QCAHKSWPL_SILICONZ-1
      
      Signed-off-by: default avatarKiran Venkatappa <quic_kiranv@quicinc.com>
      3681a36a
    • Kiran Venkatappa's avatar
      wifi: ath12k: Rename ahb_hif_ops to make it common · 43d4afc9
      Kiran Venkatappa authored
      
      ahb_hif_ops is generic callbacks that is common across multiple targets.
      Remove IPQ5322 qualifier in name to reflect this. This is done in
      prepartation to creating as separate module for common and device
      specific code.
      
      Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1
      Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
      
      Signed-off-by: default avatarKiran Venkatappa <quic_kiranv@quicinc.com>
      43d4afc9
    • Kiran Venkatappa's avatar
      wifi: ath12k: Rename hw.c to wifi7 chipset specific file · 20d72832
      Kiran Venkatappa authored
      
      hw.c has configs specific to wifi7 chipset family. Rename this file to
      hw_wifi7.c. This is done in preprartion to add separate module for
      hw dependent code.
      
      Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1
      Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
      
      Signed-off-by: default avatarKiran Venkatappa <quic_kiranv@quicinc.com>
      20d72832
    • Kiran Venkatappa's avatar
      wifi: ath12k: Move target specific mhi define to separate file · ad531a59
      Kiran Venkatappa authored
      
      Move target specific mhi configs to new file mhi_wifi7.c. This is done in
      preparation to create separate module for common code and target
      specific config/code.
      
      Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1
      Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
      
      Signed-off-by: default avatarKiran Venkatappa <quic_kiranv@quicinc.com>
      ad531a59
    • Kiran Venkatappa's avatar
      wifi: ath12k: Move wifi7 target specific WMI config to new file · 4bb7faeb
      Kiran Venkatappa authored
      
      WMI config is defined per target. Move this to wifi7 target specific
      file. This is in preparation to make hw dependent code as a
      separate module
      
      Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1
      Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
      
      Signed-off-by: default avatarKiran Venkatappa <quic_kiranv@quicinc.com>
      4bb7faeb
    • Kiran Venkatappa's avatar
      wifi: ath12k: Move copy engine config to new file · dd3c9796
      Kiran Venkatappa authored
      
      Copy engine(CE) assignment is defined per target. Move this definition from
      ce.c to new ce_wifi7.c file. Move CE service map and target config
      from hw.c also to this file. This is done keep all copy engine specific
      configs in one place for better code organization.
      This is in preparation to make common and device specific code into
      separate modules.
      
      Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1
      Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
      
      Signed-off-by: default avatarKiran Venkatappa <quic_kiranv@quicinc.com>
      dd3c9796
    • Kiran Venkatappa's avatar
      wifi: ath12k: Restructure pci code · 2c664c20
      Kiran Venkatappa authored
      
      Restructure pci.c file into common and HW family specific files.
      pci.c has common code that can be shared across multiple family
      of devices and pci_wifi7.c includes code corresponding to wifi7
      device family.
      Majority of code is common and hence kept in pci.c including probe
      and init sequence. Only certain init configs is different,
      so register wifi7 specific config and callbacks to common code
      that can be used to register and init pci driver for this device.
      
      Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1
      Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
      
      Signed-off-by: default avatarKiran Venkatappa <quic_kiranv@quicinc.com>
      2c664c20
  2. Mar 25, 2025
  3. Mar 17, 2025
  4. Mar 14, 2025
  5. Mar 07, 2025
  6. Mar 05, 2025
  7. Mar 04, 2025
Loading