diff options
author | Johannes Berg <johannes.berg@intel.com> | 2023-09-25 18:25:11 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-09-26 10:16:47 +0300 |
commit | 2a1c5c7de468801d414dcb4410aba32c3ee7207b (patch) | |
tree | 21c7cabbe6fe52c3c326654e61ee142a32b994ef /net/mac80211/drop.h | |
parent | 6c02fab72429b4950f5d6edd003310d9245e18e4 (diff) | |
download | linux-2a1c5c7de468801d414dcb4410aba32c3ee7207b.tar.xz |
wifi: mac80211: expand __ieee80211_data_to_8023() status
Make __ieee80211_data_to_8023() return more individual drop
reasons instead of just doing RX_DROP_U_INVALID_8023.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/drop.h')
-rw-r--r-- | net/mac80211/drop.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mac80211/drop.h b/net/mac80211/drop.h index 3acc21ae9c69..12a6f0e9eca6 100644 --- a/net/mac80211/drop.h +++ b/net/mac80211/drop.h @@ -62,6 +62,10 @@ typedef unsigned int __bitwise ieee80211_rx_result; R(RX_DROP_U_SHORT_CMAC) \ R(RX_DROP_U_SHORT_CMAC256) \ R(RX_DROP_U_SHORT_GMAC) \ + R(RX_DROP_U_UNEXPECTED_VLAN_4ADDR) \ + R(RX_DROP_U_UNEXPECTED_STA_4ADDR) \ + R(RX_DROP_U_UNEXPECTED_VLAN_MCAST) \ + R(RX_DROP_U_NOT_PORT_CONTROL) \ /* this line for the trailing \ - add before this */ /* having two enums allows for checking ieee80211_rx_result use with sparse */ |