]> 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)
commit03dc585337e644dca14ba64ac0c66eb3ca228e8c
tree3caa5f30aad82c42d12616aa6336ba3279d64bbb
parentac5f4d2b14da721ff02e69bcd71c023874e0f5be
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