Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jan 2009 23:48:13 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r187803 - head/sys/net80211
Message-ID:  <200901272348.n0RNmDCS000651@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sam
Date: Tue Jan 27 23:48:13 2009
New Revision: 187803
URL: http://svn.freebsd.org/changeset/base/187803

Log:
  Extend channel definition with:
  o max antenna gain
  o driver private opaque data
  
  Note this grows the size of a channel to 16 bytes; which makes the
  default channel table 4Kbytes (up from 3Kbytes).

Modified:
  head/sys/net80211/_ieee80211.h

Modified: head/sys/net80211/_ieee80211.h
==============================================================================
--- head/sys/net80211/_ieee80211.h	Tue Jan 27 23:43:20 2009	(r187802)
+++ head/sys/net80211/_ieee80211.h	Tue Jan 27 23:48:13 2009	(r187803)
@@ -135,6 +135,9 @@ struct ieee80211_channel {
 	int8_t		ic_minpower;	/* minimum tx power in .5 dBm */
 	uint8_t		ic_state;	/* dynamic state */
 	uint8_t		ic_extieee;	/* HT40 extension channel number */
+	int8_t		ic_maxantgain;	/* maximum antenna gain in .5 dBm */
+	uint8_t		ic_pad;
+	uint16_t	ic_devdata;	/* opaque device/driver data */
 };
 
 #define	IEEE80211_CHAN_MAX	256



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