OSDN Git Service

ath10k: Set fw feature flag for no 4addr hdr padding
authorRakesh Pillai <pillair@codeaurora.org>
Tue, 13 Feb 2018 06:38:34 +0000 (12:08 +0530)
committerRakesh Pillai <pillair@codeaurora.org>
Tue, 13 Feb 2018 10:02:02 +0000 (15:32 +0530)
commit88b589eaa3371811e5ceb0ef446b4a542e0601a3
tree22397dab849d6f89072a50aff4e09616ef996c25
parent74b6b84c4a50b78f0d922b57ed84a9c98bee9544
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>
drivers/net/wireless/ath/ath10k/core.c