From: Aaradhana Sahu <aaradhana.sahu@oss.qualcomm.com>
To: Johannes Berg <johannes@sipsolutions.net>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Jeff Johnson <jjohnson@kernel.org>
Cc: linux-wireless@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, ath12k@lists.infradead.org,
Aaradhana Sahu <aaradhana.sahu@oss.qualcomm.com>
Subject: [PATCH ath-next v3 07/17] wifi: ath12k: Add hybrid_bus_type in ath12k_hw_params
Date: Fri, 23 Oct 2026 12:31:10 +0530 [thread overview]
Message-ID: <20261023-mpp-bringup-v3-7-19f3fcbf7b5f@oss.qualcomm.com> (raw)
In-Reply-To: <20261023-mpp-bringup-v3-0-19f3fcbf7b5f@oss.qualcomm.com>
QCN6432 is a PCIe-based device attached to the WCSS Q6 processor,
but it is registered as a platform (AHB) device. It uses AHB APIs
for probe and boot. Because of this hybrid nature, it is called as
a hybrid bus device.
Introduce a hybrid_bus_type field in ath12k_hw_params to indicate the
hybrid nature of the device.
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.6-01243-QCAHKSWPL_SILICONZ-1
Tested-on: IPQ5332 hw1.0 AHB WLAN.WBE.1.6-01322-QCAHKSWPL_SILICONZ-1
Tested-on: QCN6432 hw1.0 AHB WLAN.WBE.1.6-01322-QCAHKSWPL_SILICONZ-1
Signed-off-by: Aaradhana Sahu <aaradhana.sahu@oss.qualcomm.com>
---
drivers/net/wireless/ath/ath12k/hw.h | 6 ++++++
drivers/net/wireless/ath/ath12k/wifi7/hw.c | 7 +++++++
2 files changed, 13 insertions(+)
diff --git a/drivers/net/wireless/ath/ath12k/hw.h b/drivers/net/wireless/ath/ath12k/hw.h
index 833aa6d43ce4..fb807d5a6ae4 100644
--- a/drivers/net/wireless/ath/ath12k/hw.h
+++ b/drivers/net/wireless/ath/ath12k/hw.h
@@ -240,6 +240,12 @@ struct ath12k_hw_params {
bool host_alloc_ml_id;
bool advertise_iface_mac_pool;
+ /*
+ * True for devices with PCIe hardware registered as AHB platform devices.
+ * Such devices use AHB APIs for probe/boot but PCIe APIs for operation.
+ * Example: QCN6432 (PCIe device attached to Q6, registered as AHB).
+ */
+ bool hybrid_bus_type;
};
struct ath12k_hw_ops {
diff --git a/drivers/net/wireless/ath/ath12k/wifi7/hw.c b/drivers/net/wireless/ath/ath12k/wifi7/hw.c
index acc4eabcf2bc..f7992f8c917f 100644
--- a/drivers/net/wireless/ath/ath12k/wifi7/hw.c
+++ b/drivers/net/wireless/ath/ath12k/wifi7/hw.c
@@ -498,6 +498,7 @@ static const struct ath12k_hw_params ath12k_wifi7_hw_params[] = {
.host_alloc_ml_id = true,
.advertise_iface_mac_pool = false,
+ .hybrid_bus_type = false,
},
{
.name = "wcn7850 hw2.0",
@@ -594,6 +595,7 @@ static const struct ath12k_hw_params ath12k_wifi7_hw_params[] = {
.host_alloc_ml_id = false,
.advertise_iface_mac_pool = true,
+ .hybrid_bus_type = false,
},
{
.name = "qcn9274 hw2.0",
@@ -686,6 +688,7 @@ static const struct ath12k_hw_params ath12k_wifi7_hw_params[] = {
.host_alloc_ml_id = true,
.advertise_iface_mac_pool = false,
+ .hybrid_bus_type = false,
},
{
.name = "ipq5332 hw1.0",
@@ -772,6 +775,7 @@ static const struct ath12k_hw_params ath12k_wifi7_hw_params[] = {
.host_alloc_ml_id = true,
.advertise_iface_mac_pool = false,
+ .hybrid_bus_type = false,
},
{
.name = "qcc2072 hw1.0",
@@ -869,6 +873,7 @@ static const struct ath12k_hw_params ath12k_wifi7_hw_params[] = {
.host_alloc_ml_id = false,
.advertise_iface_mac_pool = true,
+ .hybrid_bus_type = false,
},
{
.name = "ipq5424 hw1.0",
@@ -958,6 +963,7 @@ static const struct ath12k_hw_params ath12k_wifi7_hw_params[] = {
.host_alloc_ml_id = true,
.advertise_iface_mac_pool = false,
+ .hybrid_bus_type = false,
},
{
.name = "qcn6432 hw1.0",
@@ -1044,6 +1050,7 @@ static const struct ath12k_hw_params ath12k_wifi7_hw_params[] = {
.host_alloc_ml_id = true,
.advertise_iface_mac_pool = false,
+ .hybrid_bus_type = true,
},
};
--
2.34.1
next prev parent reply other threads:[~2026-10-23 7:01 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-23 7:01 [PATCH ath-next v3 00/17] wifi: ath12k: Add support for QCN6432 Aaradhana Sahu
2026-10-23 7:01 ` [PATCH ath-next v3 01/17] dt-bindings: net: wireless: Add QCN6432 Aaradhana Sahu
2026-10-23 7:01 ` [PATCH ath-next v3 02/17] wifi: ath12k: Refactor PCI operations and MSI config structure Aaradhana Sahu
2026-10-23 7:01 ` [PATCH ath-next v3 03/17] wifi: ath12k: Add hardware parameter for QCN6432 Aaradhana Sahu
2026-10-23 7:01 ` [PATCH ath-next v3 04/17] wifi: ath12k: Add hardware ring mask " Aaradhana Sahu
2026-10-23 7:01 ` [PATCH ath-next v3 05/17] wifi: ath12k: add hardware registers " Aaradhana Sahu
2026-10-23 7:01 ` [PATCH ath-next v3 06/17] wifi: ath12k: move multi MSI vector flag to ath12k_dev_flags Aaradhana Sahu
2026-10-23 7:01 ` Aaradhana Sahu [this message]
2026-10-23 7:01 ` [PATCH ath-next v3 08/17] wifi: ath12k: Add hif operation support for QCN6432 Aaradhana Sahu
2026-10-23 7:01 ` [PATCH ath-next v3 09/17] wifi: ath12k: add support for unified data-region memory allocation Aaradhana Sahu
2026-10-23 7:01 ` [PATCH ath-next v3 10/17] wifi: ath12k: move MSI config to pci.c Aaradhana Sahu
2026-10-23 7:01 ` [PATCH ath-next v3 11/17] wifi: ath12k: Add platform MSI support for CE Aaradhana Sahu
2026-10-23 7:01 ` [PATCH ath-next v3 12/17] wifi: ath12k: Enable MSI interrupt support for DP interrupt Aaradhana Sahu
2026-10-23 7:01 ` [PATCH ath-next v3 13/17] wifi: ath12k: use CMEM write for PPT on hybrid bus devices Aaradhana Sahu
2026-10-23 7:01 ` [PATCH ath-next v3 14/17] wifi: ath12k: store and use MSI data per CE and DP interrupt group for QCN6432 Aaradhana Sahu
2026-10-23 7:01 ` [PATCH ath-next v3 15/17] wifi: ath12k: Derive QMI service instance ID per protection domain Aaradhana Sahu
2026-10-23 7:01 ` [PATCH ath-next v3 16/17] wifi: ath12k: Resolve userPD ID per device Aaradhana Sahu
2026-10-23 7:01 ` [PATCH ath-next v3 17/17] wifi: ath12k: Add QCN6432 AHB support Aaradhana Sahu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261023-mpp-bringup-v3-7-19f3fcbf7b5f@oss.qualcomm.com \
--to=aaradhana.sahu@oss.qualcomm.com \
--cc=ath12k@lists.infradead.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jjohnson@kernel.org \
--cc=johannes@sipsolutions.net \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®