summaryrefslogtreecommitdiff
path: root/net/mac80211/drop.h
AgeCommit message (Collapse)AuthorFilesLines
2023-04-21mac80211: use the new drop reasons infrastructureJohannes Berg1-0/+56
It can be really hard to analyse or debug why packets are going missing in mac80211, so add the needed infrastructure to use use the new per-subsystem drop reasons. We actually use two drop reason subsystems here because of the different handling of frames that are dropped but still go to monitor for old versions of hostapd, and those that are just completely unusable (e.g. crypto failed.) Annotate a few reasons here just to illustrate this, we'll need to go through and annotate more of them later. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>