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>
This commit is contained in:
Rakesh Pillai 2018-02-13 12:08:34 +05:30
parent 74b6b84c4a
commit 88b589eaa3

View file

@ -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;
}