diff options
author | Michal Kazior | 2015-11-18 06:59:21 +0100 |
---|---|---|
committer | Kalle Valo | 2015-11-23 16:12:29 +0100 |
commit | d668dbaebe430af8843ca6e83c1e44fd1efb20aa (patch) | |
tree | baf071264473a105e25f139f91927d3250ca090c /drivers/net/wireless/ath/ath10k/core.h | |
parent | ath10k: pack up flags in skb_cb (diff) | |
download | kernel-qcow2-linux-d668dbaebe430af8843ca6e83c1e44fd1efb20aa.tar.gz kernel-qcow2-linux-d668dbaebe430af8843ca6e83c1e44fd1efb20aa.tar.xz kernel-qcow2-linux-d668dbaebe430af8843ca6e83c1e44fd1efb20aa.zip |
ath10k: fix tx header parsing
Frames are not guaranteed to be 802.11 frames in
ath10k_htt_tx() and the tx completion handler.
In some cases, like TDLS, they can be Ethernet.
Hence checking, e.g. frame_control could yield
bogus results and behavior.
Fortunately this wasn't a real problem so far
because there's no FW/HW combination to encounter
this problem.
However it is good to fix this in advance.
Fixes: 75d85fd9993c ("ath10k: introduce basic tdls functionality")
Fixes: eebc67fef3ee ("ath10k: fix pmf for wmi-tlv on qca6174")
Fixes: 7b7da0a02192 ("ath10k: drop probe responses when too many are queued")
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/core.h')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/core.h b/drivers/net/wireless/ath/ath10k/core.h index d0f2f2494ea9..933ffe3c2855 100644 --- a/drivers/net/wireless/ath/ath10k/core.h +++ b/drivers/net/wireless/ath/ath10k/core.h @@ -85,6 +85,7 @@ enum ath10k_skb_flags { ATH10K_SKB_F_NO_HWCRYPT = BIT(0), ATH10K_SKB_F_DTIM_ZERO = BIT(1), ATH10K_SKB_F_DELIVER_CAB = BIT(2), + ATH10K_SKB_F_MGMT = BIT(3), }; struct ath10k_skb_cb { |