]> git.baikalelectronics.ru Git - kernel.git/commit
rt2x00: Pass BlockAck and BlackAckReq frames to mac80211 in monitor mode
authorHelmut Schaa <helmut.schaa@googlemail.com>
Thu, 24 Nov 2011 08:13:26 +0000 (09:13 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Nov 2011 19:43:55 +0000 (14:43 -0500)
commitfbbe1032eb901de8913d310d4ff17074fcdbcffc
tree5aca85bd35a7fe0a190a8236744fe303a767b1d5
parentc55c5ce57251187c0896fc1fa402ef185c09d3a7
rt2x00: Pass BlockAck and BlackAckReq frames to mac80211 in monitor mode

Previously BlockAcks were always dropped by the rt2800 hardware while
BlockAckReqs were always accepted. However, both are only useful on
monitor interfaces at the moment and both are control frames. So
pass them up when mac80211 sets FIF_CONTROL.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c