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

Commit ba3c6326 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ipa3: Fix to not send filter/route hash table indices to modem"

parents dcd95e81 c0987895
Loading
Loading
Loading
Loading
+24 −20
Original line number Diff line number Diff line
@@ -476,6 +476,10 @@ static int ipa3_qmi_init_modem_send_sync_msg(void)
		IPA_MEM_PART(modem_comp_decomp_ofst) +
		IPA_MEM_PART(modem_comp_decomp_size) + smem_restr_bytes - 1;

	/* if hashing not supported, Modem filter/routing hash
	 * tables should not fill with valid data.
	 */
	if (!ipa3_ctx->ipa_fltrt_not_hashable) {
		req.v4_hash_route_tbl_info_valid = true;
		req.v4_hash_route_tbl_info.route_tbl_start_addr =
			IPA_MEM_PART(v4_rt_hash_ofst) + smem_restr_bytes;
@@ -495,7 +499,7 @@ static int ipa3_qmi_init_modem_send_sync_msg(void)
		req.v6_hash_filter_tbl_start_addr_valid = true;
		req.v6_hash_filter_tbl_start_addr =
			IPA_MEM_PART(v6_flt_hash_ofst) + smem_restr_bytes;

	}
	req.hw_stats_quota_base_addr_valid = true;
	req.hw_stats_quota_base_addr =
		IPA_MEM_PART(stats_quota_ofst) + smem_restr_bytes;