From: Toke Høiland-Jørgensen Date: Tue, 29 Jan 2019 10:31:26 +0000 (+0100) Subject: mac80211: Fix documentation strings for airtime-related variables X-Git-Tag: v5.1-rc1~178^2~387^2~5 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=cb86880ee493ea41e95476be054a605b3e434035;p=uclinux-h8%2Flinux.git mac80211: Fix documentation strings for airtime-related variables There was a typo in the documentation for weight_multiplier in mac80211.h, and the doc was missing entirely for airtime and airtime_weight in sta_info.h. Reported-by: kbuild test robot Signed-off-by: Toke Høiland-Jørgensen Signed-off-by: Johannes Berg --- diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 294a8a36012a..396b0c079c3b 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -2365,7 +2365,7 @@ enum ieee80211_hw_flags { * them are encountered. The default should typically not be changed, * unless the driver has good reasons for needing more buffers. * - * @weight_multipler: Driver specific airtime weight multiplier used while + * @weight_multiplier: Driver specific airtime weight multiplier used while * refilling deficit of each TXQ. */ struct ieee80211_hw { diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h index 90e03ebccd3f..05647d835894 100644 --- a/net/mac80211/sta_info.h +++ b/net/mac80211/sta_info.h @@ -473,6 +473,9 @@ struct ieee80211_sta_rx_stats { * @last_seq_ctrl: last received seq/frag number from this STA (per TID * plus one for non-QoS frames) * @tid_seq: per-TID sequence numbers for sending to this STA + * @airtime: per-AC struct airtime_info describing airtime statistics for this + * station + * @airtime_weight: station weight for airtime fairness calculation purposes * @ampdu_mlme: A-MPDU state machine state * @mesh: mesh STA information * @debugfs_dir: debug filesystem directory dentry