]> git.karo-electronics.de Git - linux-beck.git/commit
mac80211: notify the driver upon BAR Rx
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 20 Apr 2015 19:53:37 +0000 (22:53 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 24 Apr 2015 10:25:00 +0000 (12:25 +0200)
commit6382246e895fa0ae5162de7c1e5566b9719bdd26
tree6bf4000f54b57078fe9f019f2959f4a1ae66c948
parent6e70d560ff44beddabb43d7ff39cc008e5b35536
mac80211: notify the driver upon BAR Rx

When we receive a BAR, this typically means that our peer
doesn't hear our Block-Acks or that we can't hear its
frames. Either way, it is a good indication that the link
is in a bad condition. This is why it can serve as a probe
to the driver.
Use the event_callback callback for this.
Since more events with the same data will be added in the
feature, the structure that describes the data attached to
the event is called in a generic name: ieee80211_ba_event.

This also means that from now on, the event_callback can't
sleep.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/rx.c