]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: add API to allow filtering frames in BA sessions
authorSara Sharon <sara.sharon@intel.com>
Thu, 28 Jan 2016 14:19:25 +0000 (16:19 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 24 Feb 2016 08:04:31 +0000 (09:04 +0100)
commit90278ece0bd01b9a86bd80d9e7f4ebf950ed6088
tree3caa5f30aad82c42d12616aa6336ba3279d64bbb
parenta201b98bc2c57621800cc2e862d83d587c14a996
mac80211: add API to allow filtering frames in BA sessions

If any frames are dropped that are part of a BA session, the reorder
buffer will "indefinitely" (until the timeout) wait for them to come
in (or a BAR moving the window) and won't release frames after them.
This means it isn't possible to filter frames within a BA session in
firmware.

Introduce an API function that allows such filtering. Calling this
function will move the BA window forward to the new SSN, and allows
marking frames after the SSN as having been filtered, so any future
reordering activity will release frames while skipping the holes.

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