Skip to contentSkip to conversation

ieee80211: Fix TX code doesn't enable QoS when using WPA + QoS

PATCH New Zhu Yi 1 participant 1 message Apr 13, 2006

Subsystems (2)
lore
Share & tools
lore

Zhu Yi

author
#0 lore raw

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.

---

 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
index 66dc136..bc6bdd6 100644
@@ -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