Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 2026 02:30:14 +0000
From:      Bjoern A. Zeeb <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 9291447874e3 - stable/15 - LinuxKPI: 802.11: add cfg80211 (*change_bss) and related structs
Message-ID:  <69a101b6.20feb.2c8ab2a8@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by bz:

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

commit 9291447874e33c04e38228d3a5d9080de083f064
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2026-02-11 00:44:36 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-02-26 23:07:44 +0000

    LinuxKPI: 802.11: add cfg80211 (*change_bss) and related structs
    
    Needed by brcmfmac v6.19.
    
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit b02def7c4a10fa3e2b05ebec379c5c634b87484d)
---
 sys/compat/linuxkpi/common/include/net/cfg80211.h | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/sys/compat/linuxkpi/common/include/net/cfg80211.h b/sys/compat/linuxkpi/common/include/net/cfg80211.h
index 94d34fb9dc0c..5c8c914bdee7 100644
--- a/sys/compat/linuxkpi/common/include/net/cfg80211.h
+++ b/sys/compat/linuxkpi/common/include/net/cfg80211.h
@@ -1021,6 +1021,14 @@ struct survey_info {		/* net80211::struct ieee80211_channel_survey */
 	struct linuxkpi_ieee80211_channel *channel;
 };
 
+enum wiphy_bss_param_flags {
+	WIPHY_BSS_PARAM_AP_ISOLATE		= BIT(0),
+};
+
+struct bss_parameters {
+	int					ap_isolate;
+};
+
 enum wiphy_vendor_cmd_need_flags {
 	WIPHY_VENDOR_CMD_NEED_NETDEV		= 0x01,
 	WIPHY_VENDOR_CMD_NEED_RUNNING		= 0x02,
@@ -1142,6 +1150,8 @@ struct wiphy {
 	int					n_radio;
 	const struct wiphy_radio		*radio;
 
+	uint32_t				bss_param_support;	/* enum wiphy_bss_param_flags */
+
 	int	features, hw_version;
 	int	interface_modes, max_match_sets, max_remain_on_channel_duration, max_scan_ssids, max_sched_scan_ie_len, max_sched_scan_plan_interval, max_sched_scan_plan_iterations, max_sched_scan_plans, max_sched_scan_reqs, max_sched_scan_ssids;
 	int	num_iftype_ext_capab;
@@ -1224,7 +1234,7 @@ struct cfg80211_ops {
 	int (*dump_survey)(struct wiphy *, struct net_device *, int, struct survey_info *);
 	int (*external_auth)(struct wiphy *, struct net_device *, struct cfg80211_external_auth_params *);
         int (*set_cqm_rssi_range_config)(struct wiphy *, struct net_device *, int, int);
-
+	int (*change_bss)(struct wiphy *, struct net_device *, struct bss_parameters *);
 };
 
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69a101b6.20feb.2c8ab2a8>