Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 64513815 authored by Skylar Chang's avatar Skylar Chang
Browse files

msm: ipa: header file change for WDI2.0



structure changes for WDI2.0, wlan needs pass
comp_ring_base_pa and comp_ring_wp_pa to ipa-uc

Change-Id: Ib0cdd0c7614916e53f2731f61d0399959d4b739d
Signed-off-by: default avatarSkylar Chang <chiaweic@codeaurora.org>
parent 17d7bd58
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -907,12 +907,21 @@ struct IpaHwStatsWDIInfoData_t {
 * Rx buffers)
 * @rdy_ring_size: size of the Rx ring in bytes
 * @rdy_ring_rp_pa: physical address of the location through which IPA uc is
 * reading (WDI-1.0)
 * @rdy_comp_ring_base_pa: physical address of the base of the Rx completion
 * ring (WDI-2.0)
 * @rdy_comp_ring_wp_pa: physical address of the location through which IPA
 * uc is writing (WDI-2.0)
 * @rdy_comp_ring_size: size of the Rx_completion ring in bytes
 * expected to communicate about the Read pointer into the Rx Ring
 */
struct ipa_wdi_ul_params {
	phys_addr_t rdy_ring_base_pa;
	u32 rdy_ring_size;
	phys_addr_t rdy_ring_rp_pa;
	phys_addr_t rdy_comp_ring_base_pa;
	phys_addr_t rdy_comp_ring_wp_pa;
	u32 rdy_comp_ring_size;
};

/**
@@ -926,6 +935,9 @@ struct ipa_wdi_ul_params_smmu {
	struct sg_table rdy_ring;
	u32 rdy_ring_size;
	phys_addr_t rdy_ring_rp_pa;
	struct sg_table rdy_comp_ring;
	phys_addr_t rdy_comp_ring_wp_pa;
	u32 rdy_comp_ring_size;
};

/**