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

Commit 82e4d912 authored by Mohammed Javid's avatar Mohammed Javid
Browse files

msm: ipa: Update wdi3 channel scratch variable



Wlan use cases would break with new GSI
firmware changes. Due to which DUT cannot
share internet to any wifi client or even
cannot use internet via wifi.
So, update wlan offload channel's scratch
structure in ipa driver, according to new
wlan data interface specification.

Change-Id: I0eff8cb24938b3b54ca72a6fe51b70f6709ab185
Signed-off-by: default avatarMohammed Javid <mjavid@codeaurora.org>
parent 1e5b6117
Loading
Loading
Loading
Loading
+9 −7
Original line number Diff line number Diff line
@@ -778,24 +778,26 @@ struct __packed gsi_11ad_tx_channel_scratch {
 *                                  N is the number of packets that IPA will
 *                                  process before Wifi transfer ring Ri will
 *                                  be updated.
 * @qmap_id: Rx only, used for setting metadata register in IPA. Read only field
 *           for MCS. Write for SW.
 * @resv: reserved bits.
 * @rx_pkt_offset: Rx only, Since Rx header length is not fixed,
 *                  WLAN host will pass this information to IPA.
 * @endp_metadata_reg_offset: Rx only, the offset of
 *                 IPA_ENDP_INIT_HDR_METADATA_n of the
 *                 corresponding endpoint in 4B words from IPA
 *                 base address.
 * @qmap_id: Rx only, used for setting metadata register in IPA. Read only field
 *           for MCS. Write for SW.
 * @rx_pkt_offset: Rx only, Since Rx header length is not fixed,
 *                  WLAN host will pass this information to IPA.
 * @resv: reserved bits.
 */
struct __packed gsi_wdi3_channel_scratch {
	uint32_t wifi_rp_address_low;
	uint32_t wifi_rp_address_high;
	uint32_t update_rp_moderation_threshold : 5;
	uint32_t reserved : 11;
	uint32_t rx_pkt_offset : 16;
	uint32_t qmap_id : 8;
	uint32_t reserved1 : 3;
	uint32_t endp_metadata_reg_offset : 16;
	uint32_t qmap_id : 16;
	uint32_t rx_pkt_offset : 16;
	uint32_t reserved2 : 16;
};

/**