]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: nl80211: allow drivers to support subset of NL80211_CMD_SET_BSS
authorArend van Spriel <arend.vanspriel@broadcom.com>
Sun, 17 Aug 2025 19:04:32 +0000 (21:04 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 4 Sep 2025 09:19:02 +0000 (11:19 +0200)
commit24185534915b5d926ded098336f47bdcca333aec
treeb1cd2cc625fc92ea142b13d565954f39e17c75df
parentd0bf06158c39e7129524dd8b43b82aed84d68faa
wifi: nl80211: allow drivers to support subset of NL80211_CMD_SET_BSS

The so-called fullmac devices rely on firmware functionality and/or API to
change BSS parameters. Today there are limited drivers supporting the
nl80211 primitive, but they only handle a subset of the bss parameters
passed if any. The mac80211 driver does handle all parameters and stores
their configured values. Some of the BSS parameters were already conditional
by wiphy->features. For these the wiphy->bss_param_support and wiphy->features
fields are silently aligned in wiphy_register(). Maybe better to issue a warning
instead when they are misaligned.

Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Link: https://patch.msgid.link/20250817190435.1495094-2-arend.vanspriel@broadcom.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/core.c
net/wireless/nl80211.c