001-nl80211_h_sync.patch 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --- a/nl80211.h
  2. +++ b/nl80211.h
  3. @@ -2299,6 +2299,12 @@ enum nl80211_commands {
  4. * This is also used for capability advertisement in the wiphy information,
  5. * with the appropriate sub-attributes.
  6. *
  7. + * @NL80211_ATTR_AIRTIME_WEIGHT: Station's weight when scheduled by the airtime
  8. + * scheduler.
  9. + *
  10. + * @NL80211_ATTR_WIPHY_ANTENNA_GAIN: Configured antenna gain. Used to reduce
  11. + * transmit power to stay within regulatory limits. u32, dBi.
  12. + *
  13. * @NUM_NL80211_ATTR: total number of nl80211_attrs available
  14. * @NL80211_ATTR_MAX: highest attribute number currently defined
  15. * @__NL80211_ATTR_AFTER_LAST: internal use
  16. @@ -2748,6 +2754,10 @@ enum nl80211_attrs {
  17. NL80211_ATTR_PEER_MEASUREMENTS,
  18. + NL80211_ATTR_AIRTIME_WEIGHT,
  19. +
  20. + NL80211_ATTR_WIPHY_ANTENNA_GAIN,
  21. +
  22. /* add attributes here, update the policy in nl80211.c */
  23. __NL80211_ATTR_AFTER_LAST,
  24. @@ -3125,6 +3135,9 @@ enum nl80211_sta_bss_param {
  25. * might not be fully accurate.
  26. * @NL80211_STA_INFO_CONNECTED_TO_GATE: set to true if STA has a path to a
  27. * mesh gate (u8, 0 or 1)
  28. + * @NL80211_STA_INFO_TX_DURATION: aggregate PPDU duration for all frames
  29. + * sent to the station (u64, usec)
  30. + * @NL80211_STA_INFO_AIRTIME_WEIGHT: current airtime weight for station (u16)
  31. * @__NL80211_STA_INFO_AFTER_LAST: internal
  32. * @NL80211_STA_INFO_MAX: highest possible station info attribute
  33. */
  34. @@ -3168,6 +3181,8 @@ enum nl80211_sta_info {
  35. NL80211_STA_INFO_RX_MPDUS,
  36. NL80211_STA_INFO_FCS_ERROR_COUNT,
  37. NL80211_STA_INFO_CONNECTED_TO_GATE,
  38. + NL80211_STA_INFO_TX_DURATION,
  39. + NL80211_STA_INFO_AIRTIME_WEIGHT,
  40. /* keep last */
  41. __NL80211_STA_INFO_AFTER_LAST,