History

cfg80211: add local BSS receive time to survey information

This is useful for checking how much airtime is being used up by other transmissions on the channel, e.g. by calculating (time_rx - time_bss_rx) or (time_busy - time_bss_rx - time_tx)

Felix Fietkau committed 7 years ago

Commit c8cd6e71 parent 70109983 files · +11 −0Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/nl80211.h+3−0
@@ -3870,6 +3870,8 @@ enum nl80211_user_reg_hint_type { · 3869 unmodified lines
38703870 * @NL80211_SURVEY_INFO_TIME_SCAN: time the radio spent for scan
38713871 * (on this channel or globally)
38723872 * @NL80211_SURVEY_INFO_PAD: attribute used for padding for 64-bit alignment
3873+ * @NL80211_SURVEY_INFO_TIME_BSS_RX: amount of time the radio spent
3874+ * receiving frames destined to the local BSS
38733875 * @NL80211_SURVEY_INFO_MAX: highest survey info attribute number
38743876 * currently defined
38753877 * @__NL80211_SURVEY_INFO_AFTER_LAST: internal use
@@ -3886,6 +3888,7 @@ enum nl80211_survey_info { · 10 unmodified lines
38863888 NL80211_SURVEY_INFO_TIME_TX,
38873889 NL80211_SURVEY_INFO_TIME_SCAN,
38883890 NL80211_SURVEY_INFO_PAD,
3891+ NL80211_SURVEY_INFO_TIME_BSS_RX,
38893892
38903893 /* keep last */
38913894 __NL80211_SURVEY_INFO_AFTER_LAST,