]> 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)
commitdc8c280ab184981ae4aa9f2803fcfdaa73448643
tree5aca85bd35a7fe0a190a8236744fe303a767b1d5
parentec2b21e2d141ffc81a77768bf2ca5a141207cee5
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