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

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

Merge "msm: ipa4: Don't query wigig client tethering stats for all targets"

parents eb83366d 5e8bc5bb
Loading
Loading
Loading
Loading
+34 −28
Original line number Diff line number Diff line
@@ -3589,9 +3589,12 @@ static int rmnet_ipa3_query_tethering_stats_hw(
	data->ipv6_tx_bytes +=
		con_stats->client[index].num_ipv6_bytes;

	if (ipa3_get_ep_mapping(IPA_CLIENT_WIGIG_PROD) !=
			IPA_EP_NOT_ALLOCATED) {
		/* query WIGIG UL stats */
		memset(con_stats, 0, sizeof(struct ipa_quota_stats_all));
	rc = ipa_query_teth_stats(IPA_CLIENT_WIGIG_PROD, con_stats, reset);
		rc = ipa_query_teth_stats(IPA_CLIENT_WIGIG_PROD, con_stats,
									reset);
		if (rc) {
			IPAERR("IPA_CLIENT_WIGIG_PROD query failed %d\n", rc);
			kfree(con_stats);
@@ -3618,6 +3621,9 @@ static int rmnet_ipa3_query_tethering_stats_hw(
			con_stats->client[index].num_ipv4_bytes;
		data->ipv6_tx_bytes +=
			con_stats->client[index].num_ipv6_bytes;
	} else {
		IPAWANDBG("IPA_CLIENT_WIGIG_PROD client not supported\n");
	}

	IPAWANDBG("v4_tx_p(%lu) v6_tx_p(%lu) v4_tx_b(%lu) v6_tx_b(%lu)\n",
		(unsigned long) data->ipv4_tx_packets,