[PATCH ath-next 1/7] wifi: ath12k: move dp_profile_params to dp.h
Aaradhana Sahu
aaradhana.sahu at oss.qualcomm.com
Wed Aug 19 22:47:58 PDT 2026
Move struct ath12k_dp_profile_params from core.h to dp.h as it is
specifically used for Data Path operations. This improves code
organization by keeping DP-related structures in the DP header.
No functional change intended.
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.6-01243-QCAHKSWPL_SILICONZ-1
Signed-off-by: Aaradhana Sahu <aaradhana.sahu at oss.qualcomm.com>
---
drivers/net/wireless/ath/ath12k/core.h | 9 ---------
drivers/net/wireless/ath/ath12k/dp.h | 9 +++++++++
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/net/wireless/ath/ath12k/core.h b/drivers/net/wireless/ath/ath12k/core.h
index a98fc6e0699d..4718da494aab 100644
--- a/drivers/net/wireless/ath/ath12k/core.h
+++ b/drivers/net/wireless/ath/ath12k/core.h
@@ -928,15 +928,6 @@ struct ath12k_wsi_info {
u32 hw_link_id_base;
};
-struct ath12k_dp_profile_params {
- u32 tx_comp_ring_size;
- u32 rxdma_monitor_buf_ring_size;
- u32 rxdma_monitor_dst_ring_size;
- u32 num_pool_tx_desc;
- u32 rx_desc_count;
- u32 rx_release_ring_size;
-};
-
struct ath12k_mem_profile_based_param {
u32 num_vdevs;
u32 max_client_single;
diff --git a/drivers/net/wireless/ath/ath12k/dp.h b/drivers/net/wireless/ath/ath12k/dp.h
index bef0f2ba0560..72d3de2db5d8 100644
--- a/drivers/net/wireless/ath/ath12k/dp.h
+++ b/drivers/net/wireless/ath/ath12k/dp.h
@@ -23,6 +23,15 @@ struct ath12k_ext_irq_grp;
struct ath12k_dp_rx_tid;
struct ath12k_dp_rx_tid_rxq;
+struct ath12k_dp_profile_params {
+ u32 tx_comp_ring_size;
+ u32 rxdma_monitor_buf_ring_size;
+ u32 rxdma_monitor_dst_ring_size;
+ u32 num_pool_tx_desc;
+ u32 rx_desc_count;
+ u32 rx_release_ring_size;
+};
+
#define DP_MON_PURGE_TIMEOUT_MS 100
#define DP_MON_SERVICE_BUDGET 128
--
2.34.1
More information about the ath12k
mailing list