git: b02def7c4a10 - main - LinuxKPI: 802.11: add cfg80211 (*change_bss) and related structs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Feb 2026 00:48:43 UTC
The branch main has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=b02def7c4a10fa3e2b05ebec379c5c634b87484d
commit b02def7c4a10fa3e2b05ebec379c5c634b87484d
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-11 00:48:18 +0000
LinuxKPI: 802.11: add cfg80211 (*change_bss) and related structs
Needed by brcmfmac v6.19.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
---
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 *);
};