Search Linux Wireless

Re: [PATCH v3 08/12] wifi: cfg80211: add flag to indicate driver supports ML station statistics

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

 



> +++ b/include/net/cfg80211.h
> @@ -2158,6 +2158,9 @@ struct link_station_info {
>   * @local_pm: local mesh STA power save mode
>   * @peer_pm: peer mesh STA power save mode
>   * @nonpeer_pm: non-peer mesh STA power save mode
> + * @is_per_link_stats_support: 0- for non-ML STA and for ML STA,if driver
> + *	offload link decisions and do not provide per-link statistics.
> + *	1- if driver provides per-link statistics.

Seems like that should be false/true since it's bool, but I also don't
really see why you need to list the values at all.

Or even need this extra value at all since you have
WIPHY_FLAG_SUPPORTS_MLO_STA_PER_LINK_STATS?? And perhaps that should
rather be an nl80211 flag so userspace knows what to expect? Not sure it
would care though.

> +++ b/net/mac80211/sta_info.c

Don't mix that in where not needed for API changes.

johannes





[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