mbox series

[v3,0/2] wifi: ath11k: support board-specific firmware overrides

Message ID 20241025100419.2128604-1-quic_miaoqing@quicinc.com (mailing list archive)
Headers show
Series wifi: ath11k: support board-specific firmware overrides | expand

Message

Miaoqing Pan Oct. 25, 2024, 10:04 a.m. UTC
QCA6698AQ IP core is the same as WCN6855 hw2.1, but it has different RF,
IPA, thermal, RAM size and etc, so new firmware files used. This change
allows board DT files to override the subdir of the firmware directory
used to lookup the amss.bin and m3.bin.

For example:

- ath11k/WCN6855/hw2.1/amss.bin,
  ath11k/WCN6855/hw2.1/m3.bin: main firmware files, used by default

- ath11k/WCN6855/hw2.1/qca6698aq/amss.bin,
  ath11k/WCN6855/hw2.1/qca6698aq/m3.bin

Signed-off-by: Miaoqing Pan <quic_miaoqing@quicinc.com>
---
v2: follow the approach that has been defined in the commit
5abf259772df ("wifi: ath10k: support board-specific firmware
overrides").
v3: Use 'fw_name' instead of 'board_name', and rollback
ath11k_core_create_firmware_path() to inline function.
---

Miaoqing Pan (2):
  dt-bindings: net: wireless: ath11k-pci: add firmware-name property
  wifi: ath11k: support board-specific firmware overrides

 .../bindings/net/wireless/qcom,ath11k-pci.yaml      |  7 +++++++
 drivers/net/wireless/ath/ath11k/core.h              | 13 +++++++++++--
 2 files changed, 18 insertions(+), 2 deletions(-)


base-commit: cd4827fef2fd758a00012615f4529fd43a461dba