mac80211: dont assign seqno to or aggregate QoS Null frames
authorJohannes Berg <johannes.berg@intel.com>
Thu, 29 Sep 2011 14:04:41 +0000 (16:04 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 Sep 2011 19:57:25 +0000 (15:57 -0400)
commit49a59543eb5a5d268b3d11747f9c3c557ae271a0
treecee8bf84d162eb423833ebddf12211b94161618f
parent4b801bc969364a980c1366e48155d1a29d20661b
mac80211: dont assign seqno to or aggregate QoS Null frames

802.11 says:
"Sequence numbers for QoS (+)Null frames may be
set to any value."

However, if we use the normal counters then peers
will get confused with aggregation since there'll
be holes in the sequence number sequence.

To avoid that, neither assign a sequence number
to QoS null frames nor put them on aggregation.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tx.c