Re: [B.A.T.M.A.N.] [PATCHv3 2/4] cfg80211: export expected throughput via nl80211 (GET_STATION)

Johannes Berg
2014-05-19T14:59:34Z

On Sat, 2014-05-17 at 18:41 +0200, Antonio Quartulli wrote:
> From: Antonio Quartulli <antonio@open-mesh.com>
>
> Send the expected throughput when replying to a GET_STATION
> command via nl80211.
>
> Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
> ---
> include/uapi/linux/nl80211.h | 3 +++
> net/wireless/nl80211.c | 4 ++++
> 2 files changed, 7 insertions(+)
>
> diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
> index 0cfa827..2964948 100644
> --- a/include/uapi/linux/nl80211.h
> +++ b/include/uapi/linux/nl80211.h
> @@ -2199,6 +2199,8 @@ enum nl80211_sta_bss_param {
> * Contains a nested array of signal strength attributes (u8, dBm)
> * @NL80211_STA_INFO_CHAIN_SIGNAL_AVG: per-chain signal strength average
> * Same format as NL80211_STA_INFO_CHAIN_SIGNAL.
> + * @NL80211_STA_EXPECTED_THROUGHPUT: expected throughput (considering also the
> + * 802.11 header) expressed in kbps

This should say it's a u32.

johannes