The branch main has been updated by bz:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=b10ff7ed37a9b891bec7e1093e44fa7abb2054b4

commit b10ff7ed37a9b891bec7e1093e44fa7abb2054b4
Author:     Bjoern A. Zeeb <[email protected]>
AuthorDate: 2025-12-03 00:58:03 +0000
Commit:     Bjoern A. Zeeb <[email protected]>
CommitDate: 2025-12-03 19:54:43 +0000

    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
---
 sys/compat/linuxkpi/common/include/net/mac80211.h | 14 +++++++-------
 1 file 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 *);

Reply via email to