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
3870 * @NL80211_SURVEY_INFO_TIME_SCAN: time the radio spent for scan3870 * @NL80211_SURVEY_INFO_TIME_SCAN: time the radio spent for scan
3871 * (on this channel or globally)3871 * (on this channel or globally)
3872 * @NL80211_SURVEY_INFO_PAD: attribute used for padding for 64-bit alignment3872 * @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
3873 * @NL80211_SURVEY_INFO_MAX: highest survey info attribute number3875 * @NL80211_SURVEY_INFO_MAX: highest survey info attribute number
3874 * currently defined3876 * currently defined
3875 * @__NL80211_SURVEY_INFO_AFTER_LAST: internal use3877 * @__NL80211_SURVEY_INFO_AFTER_LAST: internal use
@@ -3886,6 +3888,7 @@ enum nl80211_survey_info { · 10 unmodified lines
3886 NL80211_SURVEY_INFO_TIME_TX,3888 NL80211_SURVEY_INFO_TIME_TX,
3887 NL80211_SURVEY_INFO_TIME_SCAN,3889 NL80211_SURVEY_INFO_TIME_SCAN,
3888 NL80211_SURVEY_INFO_PAD,3890 NL80211_SURVEY_INFO_PAD,
3891 NL80211_SURVEY_INFO_TIME_BSS_RX,
3889 3892
3890 /* keep last */3893 /* keep last */
3891 __NL80211_SURVEY_INFO_AFTER_LAST,3894 __NL80211_SURVEY_INFO_AFTER_LAST,