]> git.baikalelectronics.ru Git - kernel.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)
commit12ddb6258afc1ae912e45b51cb9fd5a881b42e49
tree6bf4000f54b57078fe9f019f2959f4a1ae66c948
parente679979734823172e9727b810c493518ec54374b
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