git: 78e0a224f508 - stable/14 - LinuxKPI: 802.11: move ieee80211_offload_flags
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 16 Jan 2026 19:41:26 UTC
The branch stable/14 has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=78e0a224f50856ad33fc0484fad11ee3dc3b2dcf
commit 78e0a224f50856ad33fc0484fad11ee3dc3b2dcf
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-12-03 00:58:03 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-01-16 19:37:54 +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
(cherry picked from commit b10ff7ed37a9b891bec7e1093e44fa7abb2054b4)
(cherry picked from commit a714641fa5380cc320d23181d4b18f7f89ccd183)
---
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 b276bfcc18fc..f1438734aa24 100644
--- a/sys/compat/linuxkpi/common/include/net/mac80211.h
+++ b/sys/compat/linuxkpi/common/include/net/mac80211.h
@@ -821,11 +821,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;
@@ -942,12 +948,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 *);