• Johannes Berg's avatar
    mac80211: use the new drop reasons infrastructure · baa951a1
    Johannes Berg authored
    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: default avatarJohannes Berg <johannes.berg@intel.com>
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    baa951a1
main.c 45.5 KB