diff options
| author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2025-12-03 00:58:03 +0000 |
|---|---|---|
| committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2025-12-03 19:54:43 +0000 |
| commit | b10ff7ed37a9b891bec7e1093e44fa7abb2054b4 (patch) | |
| tree | c9e2d1502a282c0b608b89c2a0241326d7d59274 | |
| parent | af22833348c6c7ffed0186651437b5f50be1550b (diff) | |
LinuxKPI: 802.11: move ieee80211_offload_flags
Move the enum and leave a comment on the struct member for the vif
about the type.
No functional changes.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
| -rw-r--r-- | sys/compat/linuxkpi/common/include/net/mac80211.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/compat/linuxkpi/common/include/net/mac80211.h b/sys/compat/linuxkpi/common/include/net/mac80211.h index ea9797befe58..6e2f3f2d8781 100644 --- a/sys/compat/linuxkpi/common/include/net/mac80211.h +++ b/sys/compat/linuxkpi/common/include/net/mac80211.h @@ -824,11 +824,17 @@ struct ieee80211_vif_cfg { uint8_t ap_addr[ETH_ALEN]; }; +enum ieee80211_offload_flags { + IEEE80211_OFFLOAD_ENCAP_4ADDR, + IEEE80211_OFFLOAD_ENCAP_ENABLED, + IEEE80211_OFFLOAD_DECAP_ENABLED, +}; + struct ieee80211_vif { /* TODO FIXME */ enum nl80211_iftype type; int cab_queue; - int offload_flags; + int offload_flags; /* enum ieee80211_offload_flags */ enum ieee80211_vif_driver_flags driver_flags; bool p2p; bool probe_req_reg; @@ -945,12 +951,6 @@ struct ieee80211_low_level_stats { uint32_t dot11RTSSuccessCount; }; -enum ieee80211_offload_flags { - IEEE80211_OFFLOAD_ENCAP_4ADDR, - IEEE80211_OFFLOAD_ENCAP_ENABLED, - IEEE80211_OFFLOAD_DECAP_ENABLED, -}; - struct ieee80211_ops { /* TODO FIXME */ int (*start)(struct ieee80211_hw *); |
