]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - include/net/mac80211.h
mac80211: allow drivers to report (non-)monitor frames
authorGrzegorz Bajorski <grzegorz.bajorski@tieto.com>
Fri, 11 Dec 2015 13:39:46 +0000 (14:39 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 24 Feb 2016 08:04:19 +0000 (09:04 +0100)
commit178830481eee5eea147a1c8fab67a96e09d80345
treee0f517fae9298780398500ce2fe6a9892334e752
parent412a6d800c7380c1b87c11080c7da905c27cfea8
mac80211: allow drivers to report (non-)monitor frames

Some drivers offload some frames internally (e.g.
AddBa). Reporting such frames to mac80211 would
only confuse MLME. However it would be useful to
be able to pass such frames to monitor interfaces
for sniffing purposes, e.g. when running AP +
monitor.

To do that allow drivers to tell mac80211 whether
a given frame should be:
 - processed but not delivered to any monitor vif
 - not processed but delievered to monitor vifs
   only

Signed-off-by: Grzegorz Bajorski <grzegorz.bajorski@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/rx.c