svn commit: r309706 - head/sys/net80211
Adrian Chadd
adrian at FreeBSD.org
Thu Dec 8 07:56:27 UTC 2016
Author: adrian
Date: Thu Dec 8 07:56:25 2016
New Revision: 309706
URL: https://svnweb.freebsd.org/changeset/base/309706
Log:
[net80211] begin fleshing out support for channel survey information to be
pushed back up into net80211.
Modified:
head/sys/net80211/ieee80211_freebsd.h
Modified: head/sys/net80211/ieee80211_freebsd.h
==============================================================================
--- head/sys/net80211/ieee80211_freebsd.h Thu Dec 8 05:37:39 2016 (r309705)
+++ head/sys/net80211/ieee80211_freebsd.h Thu Dec 8 07:56:25 2016 (r309706)
@@ -727,6 +727,17 @@ int ieee80211_add_toa_params(struct mbuf
const struct ieee80211_toa_params *p);
int ieee80211_get_toa_params(struct mbuf *m,
struct ieee80211_toa_params *p);
+
+#define IEEE80211_F_SURVEY_TIME 0x00000001
+#define IEEE80211_F_SURVEY_TIME_BUSY 0x00000002
+#define IEEE80211_F_SURVEY_NOISE_DBM 0x00000004
+struct ieee80211_channel_survey {
+ uint32_t s_flags;
+ uint32_t s_time;
+ uint32_t s_time_busy;
+ int s_noise;
+};
+
#endif /* _KERNEL */
/*
More information about the svn-src-all
mailing list