diff options
author | Rakesh Pillai <pillair@codeaurora.org> | 2018-02-13 12:08:34 +0530 |
---|---|---|
committer | Rakesh Pillai <pillair@codeaurora.org> | 2018-02-13 15:32:02 +0530 |
commit | 88b589eaa3371811e5ceb0ef446b4a542e0601a3 (patch) | |
tree | 22397dab849d6f89072a50aff4e09616ef996c25 | |
parent | 74b6b84c4a50b78f0d922b57ed84a9c98bee9544 (diff) |
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 <pillair@codeaurora.org>
-rw-r--r-- | drivers/net/wireless/ath/ath10k/core.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |