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

Commit 6292aee5 authored by Talel Shenhar's avatar Talel Shenhar Committed by Gerrit - the friendly Code Review server
Browse files

msm: rndis_ipa: add support for IPA params for hdr insertion



In order to support Lan-To-Lan feature the netdev adds
additional parameters to the header insertion API.
The new parameters are used by IPA configuration manager
to build Ethernet-II/802.3 header.

Change-Id: If0008f7e3bbccc58f93e4c76776ff10bc375753e
Signed-off-by: default avatarTalel Shenhar <tatias@codeaurora.org>
parent fc9867e3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1299,6 +1299,8 @@ static void rndis_ipa_prepare_header_insertion(int eth_type,
	memcpy(eth_hdr->h_source, src_mac, ETH_ALEN);
	eth_hdr->h_proto = htons(eth_type);
	add_hdr->hdr_len += ETH_HLEN;
	add_hdr->is_eth2_ofst_valid = true;
	add_hdr->eth2_ofst = sizeof(rndis_template_hdr);
}

/**