Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Dec 2016 07:56:26 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r309706 - head/sys/net80211
Message-ID:  <201612080756.uB87uQ9q032935@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612080756.uB87uQ9q032935>