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

Commit 99a9e90b authored by Skylar Chang's avatar Skylar Chang
Browse files

msm: ipa: provide hdr_proc_ctx_tbl_info to modem



For using hdr_proc_ctx feature to support ethernet
bridge, ipa-apps needs to provide the hdr_proc_ctx_tbl
memory offset_start and offset_end info to q6 modem.

Change-Id: I320d0033006e70ef4e2b3ceb029986461cbe821b
Signed-off-by: default avatarSkylar Chang <chiaweic@codeaurora.org>
parent 441688f3
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -380,6 +380,12 @@ static int qmi_init_modem_send_sync_msg(void)
	req.ctrl_comm_dest_end_pt_valid = true;
	req.ctrl_comm_dest_end_pt =
		ipa_get_ep_mapping(IPA_CLIENT_APPS_WAN_CONS);
	req.hdr_proc_ctx_tbl_info_valid = true;
	req.hdr_proc_ctx_tbl_info.modem_offset_start =
		IPA_MEM_PART(modem_hdr_proc_ctx_ofst) + smem_restr_bytes;
	req.hdr_proc_ctx_tbl_info.modem_offset_end =
		IPA_MEM_PART(modem_hdr_proc_ctx_ofst) +
		IPA_MEM_PART(modem_hdr_proc_ctx_size) + smem_restr_bytes - 1;
	if (is_load_uc) {  /* First time boot */
		req.is_ssr_bootup_valid = false;
		req.is_ssr_bootup = 0;