|
@@ -2384,6 +2384,11 @@ enum nl80211_sta_bss_param {
|
|
|
* @NL80211_STA_INFO_BEACON_RX: number of beacons received from this peer (u64)
|
|
|
* @NL80211_STA_INFO_BEACON_SIGNAL_AVG: signal strength average
|
|
|
* for beacons only (u8, dBm)
|
|
|
+ * @NL80211_STA_INFO_TID_STATS: per-TID statistics (see &enum nl80211_tid_stats)
|
|
|
+ * This is a nested attribute where each the inner attribute number is the
|
|
|
+ * TID+1 and the special TID 16 (i.e. value 17) is used for non-QoS frames;
|
|
|
+ * each one of those is again nested with &enum nl80211_tid_stats
|
|
|
+ * attributes carrying the actual values.
|
|
|
* @__NL80211_STA_INFO_AFTER_LAST: internal
|
|
|
* @NL80211_STA_INFO_MAX: highest possible station info attribute
|
|
|
*/
|
|
@@ -2419,12 +2424,38 @@ enum nl80211_sta_info {
|
|
|
NL80211_STA_INFO_RX_DROP_MISC,
|
|
|
NL80211_STA_INFO_BEACON_RX,
|
|
|
NL80211_STA_INFO_BEACON_SIGNAL_AVG,
|
|
|
+ NL80211_STA_INFO_TID_STATS,
|
|
|
|
|
|
/* keep last */
|
|
|
__NL80211_STA_INFO_AFTER_LAST,
|
|
|
NL80211_STA_INFO_MAX = __NL80211_STA_INFO_AFTER_LAST - 1
|
|
|
};
|
|
|
|
|
|
+/**
|
|
|
+ * enum nl80211_tid_stats - per TID statistics attributes
|
|
|
+ * @__NL80211_TID_STATS_INVALID: attribute number 0 is reserved
|
|
|
+ * @NL80211_TID_STATS_RX_MSDU: number of MSDUs received (u64)
|
|
|
+ * @NL80211_TID_STATS_TX_MSDU: number of MSDUs transmitted (or
|
|
|
+ * attempted to transmit; u64)
|
|
|
+ * @NL80211_TID_STATS_TX_MSDU_RETRIES: number of retries for
|
|
|
+ * transmitted MSDUs (not counting the first attempt; u64)
|
|
|
+ * @NL80211_TID_STATS_TX_MSDU_FAILED: number of failed transmitted
|
|
|
+ * MSDUs (u64)
|
|
|
+ * @NUM_NL80211_TID_STATS: number of attributes here
|
|
|
+ * @NL80211_TID_STATS_MAX: highest numbered attribute here
|
|
|
+ */
|
|
|
+enum nl80211_tid_stats {
|
|
|
+ __NL80211_TID_STATS_INVALID,
|
|
|
+ NL80211_TID_STATS_RX_MSDU,
|
|
|
+ NL80211_TID_STATS_TX_MSDU,
|
|
|
+ NL80211_TID_STATS_TX_MSDU_RETRIES,
|
|
|
+ NL80211_TID_STATS_TX_MSDU_FAILED,
|
|
|
+
|
|
|
+ /* keep last */
|
|
|
+ NUM_NL80211_TID_STATS,
|
|
|
+ NL80211_TID_STATS_MAX = NUM_NL80211_TID_STATS - 1
|
|
|
+};
|
|
|
+
|
|
|
/**
|
|
|
* enum nl80211_mpath_flags - nl80211 mesh path flags
|
|
|
*
|