Re: [RFC 3/4] wifi: nl80211: strict checking attributes for NL80211_CMD_SET_BSS

Arend Van Spriel <[email protected]>
Newsgroups dev.linux.lists.brcm80211,org.kernel.vger.linux-wireless
Message-ID <[email protected]>
On June 4, 2025 4:24:43 PM Jeff Johnson <[email protected]> wrote:

> 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 :(

Here one usage is from userspace to kernel and the other from kernel to 
userspace so with proper API documentation those two can coexist with 
special handling or policy.

Regards,
Arend
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.