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

Commit 19f3c9c1 authored by Talel Atias's avatar Talel Atias
Browse files

msm: kernel: rndis_ipa: set header removal value to meet Ethernet length



This change set the IPA header removal settings to meet
a full Etherent header.
This removal is required by IPA core to allow a generic
processing of Ipv4/6 packets.

Change-Id: Ibe6d5e2d5d22adcc169bfe7cc28b81223119f822
Signed-off-by: default avatarTalel Atias <tatias@codeaurora.org>
parent cadcc68d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -315,10 +315,10 @@ static struct ipa_ep_cfg ipa_to_usb_ep_cfg = {
		.dst  = IPA_CLIENT_A5_LAN_WAN_CONS,
	},
	.hdr = {
		.hdr_len = ETH_ALEN + sizeof(struct rndis_pkt_hdr),
		.hdr_len = ETH_HLEN + sizeof(struct rndis_pkt_hdr),
		.hdr_ofst_metadata_valid = false,
		.hdr_ofst_metadata = 0,
		.hdr_additional_const_len = ETH_ALEN,
		.hdr_additional_const_len = ETH_HLEN,
		.hdr_ofst_pkt_size_valid = true,
		.hdr_ofst_pkt_size = 3*sizeof(u32),
		.hdr_a5_mux = false,
@@ -360,7 +360,7 @@ static struct ipa_ep_cfg usb_to_ipa_ep_cfg = {
		.dst  = IPA_CLIENT_A5_LAN_WAN_CONS,
	},
	.hdr = {
		.hdr_len = ETH_ALEN,
		.hdr_len = ETH_HLEN,
		.hdr_ofst_metadata_valid = false,
		.hdr_ofst_metadata = 0,
		.hdr_additional_const_len = 0,