2011-10-08 14:48:29 +00:00
|
|
|
--- a/nl80211.h
|
|
|
|
+++ b/nl80211.h
|
2019-03-13 19:08:16 +00:00
|
|
|
@@ -2299,6 +2299,12 @@ enum nl80211_commands {
|
2019-02-09 06:18:41 +00:00
|
|
|
* This is also used for capability advertisement in the wiphy information,
|
|
|
|
* with the appropriate sub-attributes.
|
2018-09-23 17:28:48 +00:00
|
|
|
*
|
2019-03-13 19:08:16 +00:00
|
|
|
+ * @NL80211_ATTR_AIRTIME_WEIGHT: Station's weight when scheduled by the airtime
|
|
|
|
+ * scheduler.
|
|
|
|
+ *
|
2014-02-05 20:52:34 +00:00
|
|
|
+ * @NL80211_ATTR_WIPHY_ANTENNA_GAIN: Configured antenna gain. Used to reduce
|
|
|
|
+ * transmit power to stay within regulatory limits. u32, dBi.
|
2018-02-24 10:43:28 +00:00
|
|
|
+ *
|
2015-07-31 19:49:22 +00:00
|
|
|
* @NUM_NL80211_ATTR: total number of nl80211_attrs available
|
2013-06-30 10:44:19 +00:00
|
|
|
* @NL80211_ATTR_MAX: highest attribute number currently defined
|
2018-02-24 10:43:28 +00:00
|
|
|
* @__NL80211_ATTR_AFTER_LAST: internal use
|
2019-03-13 19:08:16 +00:00
|
|
|
@@ -2748,6 +2754,10 @@ enum nl80211_attrs {
|
2019-02-09 06:18:41 +00:00
|
|
|
|
|
|
|
NL80211_ATTR_PEER_MEASUREMENTS,
|
2017-02-24 11:17:03 +00:00
|
|
|
|
2019-03-13 19:08:16 +00:00
|
|
|
+ NL80211_ATTR_AIRTIME_WEIGHT,
|
|
|
|
+
|
2013-06-30 10:44:19 +00:00
|
|
|
+ NL80211_ATTR_WIPHY_ANTENNA_GAIN,
|
|
|
|
+
|
2013-05-06 22:35:50 +00:00
|
|
|
/* add attributes here, update the policy in nl80211.c */
|
2012-12-10 13:51:06 +00:00
|
|
|
|
2013-06-30 10:44:19 +00:00
|
|
|
__NL80211_ATTR_AFTER_LAST,
|
2019-03-13 19:08:16 +00:00
|
|
|
@@ -3125,6 +3135,9 @@ enum nl80211_sta_bss_param {
|
|
|
|
* might not be fully accurate.
|
|
|
|
* @NL80211_STA_INFO_CONNECTED_TO_GATE: set to true if STA has a path to a
|
|
|
|
* mesh gate (u8, 0 or 1)
|
|
|
|
+ * @NL80211_STA_INFO_TX_DURATION: aggregate PPDU duration for all frames
|
|
|
|
+ * sent to the station (u64, usec)
|
|
|
|
+ * @NL80211_STA_INFO_AIRTIME_WEIGHT: current airtime weight for station (u16)
|
|
|
|
* @__NL80211_STA_INFO_AFTER_LAST: internal
|
|
|
|
* @NL80211_STA_INFO_MAX: highest possible station info attribute
|
|
|
|
*/
|
|
|
|
@@ -3168,6 +3181,8 @@ enum nl80211_sta_info {
|
|
|
|
NL80211_STA_INFO_RX_MPDUS,
|
|
|
|
NL80211_STA_INFO_FCS_ERROR_COUNT,
|
|
|
|
NL80211_STA_INFO_CONNECTED_TO_GATE,
|
|
|
|
+ NL80211_STA_INFO_TX_DURATION,
|
|
|
|
+ NL80211_STA_INFO_AIRTIME_WEIGHT,
|
|
|
|
|
|
|
|
/* keep last */
|
|
|
|
__NL80211_STA_INFO_AFTER_LAST,
|