mbox series

[RFC,0/4] alternative changes for NL80211_CMD_SET_BSS support

Message ID 20250604085539.2803896-1-arend.vanspriel@broadcom.com
Headers show
Series alternative changes for NL80211_CMD_SET_BSS support | expand

Message

Arend van Spriel June 4, 2025, 8:55 a.m. UTC
Here a series with my idea on how to solve the fact that drivers may not
support or handle all parameters contained in NL80211_CMD_SET_BSS message
as sent by user-space. The driver can announce in the wiphy info which
parameters it supports and user-space can indicate that the kernel may
enforce strict checking for the NL80211_CMD_SET_BSS.

Arend van Spriel (3):
  wifi: nl80211: allow drivers to support subset of NL80211_CMD_SET_BSS
  wifi: drivers; indicate support for attributes in NL80211_CMD_SET_BSS
  wifi: nl80211: strict checking attributes for NL80211_CMD_SET_BSS

Wright Feng (1):
  brcmfmac: support AP isolation to restrict reachability between
    stations

 drivers/net/wireless/ath/wil6210/cfg80211.c   |  1 +
 .../broadcom/brcm80211/brcmfmac/cfg80211.c    | 24 +++++++
 .../wireless/microchip/wilc1000/cfg80211.c    |  7 --
 .../staging/rtl8723bs/os_dep/ioctl_cfg80211.c |  8 ---
 include/net/cfg80211.h                        | 30 +++++++++
 include/uapi/linux/nl80211.h                  |  7 ++
 net/mac80211/main.c                           |  1 +
 net/wireless/nl80211.c                        | 64 +++++++++++++++++--
 8 files changed, 122 insertions(+), 20 deletions(-)


base-commit: 1b98f357dadd6ea613a435fbaef1a5dd7b35fd21
--
2.43.5

Comments

Jeff Johnson June 4, 2025, 2:24 p.m. UTC | #1
On 6/4/2025 1:55 AM, Arend van Spriel wrote:
>   * @NL80211_ATTR_BSS_PARAM: nested attribute used with %NL80211_CMD_GET_WIPHY
> - *	which indicates which BSS parameters can be modified.
> + *	which indicates which BSS parameters can be modified. The attribute can
> + *	also be used as flag attribute by user-space in %NL80211_CMD_SET_BSS to
> + *	indicate that it wants strict checking on the BSS parameters to be
> + *	modified.

again yuck that this attribute id is a nest in one usage but a flag in another
usage :(