svn commit: r187488 - user/sam/wifi/sys/net80211
Sam Leffler
sam at FreeBSD.org
Tue Jan 20 13:54:02 PST 2009
Author: sam
Date: Tue Jan 20 21:54:02 2009
New Revision: 187488
URL: http://svn.freebsd.org/changeset/base/187488
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 (1 byte unallocated);
which makes the default channel table 4Kbytes (up from 3Kbytes). The
driver private data might be shrunk to a byte.
Modified:
user/sam/wifi/sys/net80211/_ieee80211.h
Modified: user/sam/wifi/sys/net80211/_ieee80211.h
==============================================================================
--- user/sam/wifi/sys/net80211/_ieee80211.h Tue Jan 20 21:51:01 2009 (r187487)
+++ user/sam/wifi/sys/net80211/_ieee80211.h Tue Jan 20 21:54:02 2009 (r187488)
@@ -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
More information about the svn-src-user
mailing list