Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Dec 2025 19:55:13 +0000
From:      Bjoern A. Zeeb <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: b10ff7ed37a9 - main - LinuxKPI: 802.11: move ieee80211_offload_flags
Message-ID:  <693095a1.29b65.6fd484b0@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by bz:

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

commit b10ff7ed37a9b891bec7e1093e44fa7abb2054b4
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-12-03 00:58:03 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
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 *);


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?693095a1.29b65.6fd484b0>