Search Linux Wireless

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On June 4, 2025 4:24:43 PM Jeff Johnson <jeff.johnson@xxxxxxxxxxxxxxxx> 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






[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux