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

Commit 7e0bedc7 authored by Rakesh Pillai's avatar Rakesh Pillai Committed by Gerrit - the friendly Code Review server
Browse files

ath10k: Set fw feature flag for no 4addr hdr padding



WCN3990 gives no padding for llc header in the rx pkts.
The rounding off of hdrlen causes extra bits from LLC header
being stripped off and hence the pkt is misinterpreted and
subsequently discarded.

Set the fw flag to skip the hdrlen rounding off for wcn3990.

CRs-Fixed: 2189079
Change-Id: I038791707977f0d4ee81986e6c76d86606a69d9c
Signed-off-by: default avatarRakesh Pillai <pillair@codeaurora.org>
parent 1b0f2081
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1307,6 +1307,8 @@ static int ath10k_core_fetch_firmware_files(struct ath10k *ar)
		__set_bit(ATH10K_FW_FEATURE_WOWLAN_SUPPORT,
			  fw_file->fw_features);
		__set_bit(WMI_SERVICE_WOW, ar->wmi.svc_map);
		__set_bit(ATH10K_FW_FEATURE_NO_NWIFI_DECAP_4ADDR_PADDING,
			  fw_file->fw_features);
		return 0;
	}