From: Andriy Tkachuk Date: Wed, 20 Jan 2010 11:55:06 +0000 (+0200) Subject: mac80211: Account HT Control field in Data frame hdrlen according to 802.11n-2009 X-Git-Tag: v2.6.34-rc1~233^2~421^2~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0dd2de0d055f0ffb1e2ecdc21380de9d12a85e2;p=pandora-kernel.git mac80211: Account HT Control field in Data frame hdrlen according to 802.11n-2009 ieee80211_hdrlen() should account account new HT Control field in 802.11 data frame header introduced by IEEE 802.11n standard. According to 802.11n-2009 HT Control field is present in data frames when both of following are met: 1. It is QoS data frame. 2. Order bit is set in Frame Control field. The change might be totally compatible with legacy non-11n aware frames, because 802.11-2007 standard states that "all QoS STAs set this subfield to 0". Signed-off-by: Andriy V. Tkachuk Acked-by : Benoit Papillault Signed-off-by: John W. Linville --- Reading git-diff-tree failed