Thread: [Madwifi-devel] WME with CCMP does not work
Status: Beta
Brought to you by:
otaku
From: Rajendra K. <raj...@ya...> - 2005-05-23 18:44:12
|
Hi All, I was testing WME feature in madwifi with CCMP enabled and I ran into some problems. After some digging I found the problem in the following piece of code in ieee80211_input.c. if (subtype & IEEE80211_FC0_SUBTYPE_QOS) { /* XXX discard if node w/o IEEE80211_NODE_QOS? */ /* * Strip QoS control and any padding so only a * stock 802.11 header is at the front. */ /* XXX 4-address QoS frame */ off = hdrsize - sizeof(struct ieee80211_frame); memmove(skb->data + off, skb->data, hdrsize - off); skb_pull(skb, off); CCMP needs QOS header for AAD calculation (it also needs A4 if included in the header). I made a temporary fix by not removing QOS header if node is QOS enabled and instead remove this QoS header in ieee80211_decap and that worked fine. Thanks rajendra __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |