ieee80211: Fix TX code doesn't enable QoS when using WPA + QoS
Subsystems (2)
PATCH 2/6 ieee80211: Fix TX code doesn't enable QoS when using WPA + QoS
Fix ieee80211 TX code when using WPA+QOS. TKIP/CCMP will use the TID field of qos_ctl in 802.11 frame header to do encryption. We cannot ignore this field when doing host encryption and add the qos_ctl field later.
Signed-off-by Hong Liu <[email protected]>
Signed-off-by Zhu Yi <[email protected]>
---
include/net/ieee80211.h | 1 + net/ieee80211/ieee80211_tx.c | 63 ++++++++++++++++++++++++++++++++++-------- 2 files changed, 52 insertions(+), 12 deletions(-)
809115bccebe1ccae12c66466dad2c3d6874ac8b
include/net/ieee80211.h +1 -0
@@ -1076,6 +1076,7 @@ struct ieee80211_device {int (*handle_management) (struct net_device * dev,struct ieee80211_network * network,u16 type); +int (*is_qos_active) (struct net_device *dev,struct sk_buff *skb);/* Typical STA methods */ int (*handle_auth) (struct net_device * dev,
net/ieee80211/ieee80211_tx.c +51 -12
108 lines not on this page · raw message
Signature · 1 line
1.2.6