mac80211: send delBA on unexpected BlockAck data frames
authorJohannes Berg <johannes.berg@intel.com>
Mon, 29 Aug 2016 20:25:18 +0000 (23:25 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 12 Sep 2016 09:46:21 +0000 (11:46 +0200)
commitbfe40fa395ddc41e45310a4426574703a05e1177
tree7924a96bbbcb492c99f082b6708db482aa873cc0
parent99ee7cae3bf3ce04e90d7b193d9f4f59a7044d91
mac80211: send delBA on unexpected BlockAck data frames

When we receive data frames with ACK policy BlockAck, send
delBA as requested by the 802.11 spec. Since this would be
happening for every frame inside an A-MPDU if it's really
received outside a session, limit it to a single attempt.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/agg-rx.c
net/mac80211/rx.c
net/mac80211/sta_info.h