From 88b589eaa3371811e5ceb0ef446b4a542e0601a3 Mon Sep 17 00:00:00 2001 From: Rakesh Pillai Date: Tue, 13 Feb 2018 12:08:34 +0530 Subject: 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: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c index 079d77678b1c..7bdfec1d434b 100644 --- a/drivers/net/wireless/ath/ath10k/core.c +++ b/drivers/net/wireless/ath/ath10k/core.c @@ -1310,6 +1310,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; } -- cgit v1.2.3