summaryrefslogtreecommitdiffstats
path: root/sys/net80211/_ieee80211.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2009-01-27 23:48:13 +0000
committersam <sam@FreeBSD.org>2009-01-27 23:48:13 +0000
commit76e17e88af362bc96330cd0492683a4a516e8265 (patch)
tree5bfa7cc729764dc0010fa334e747cf0f0c5759d9 /sys/net80211/_ieee80211.h
parent43289e8c91f0c9454cb92410eb153ba7d96fc451 (diff)
downloadFreeBSD-src-76e17e88af362bc96330cd0492683a4a516e8265.zip
FreeBSD-src-76e17e88af362bc96330cd0492683a4a516e8265.tar.gz
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).
Diffstat (limited to 'sys/net80211/_ieee80211.h')
-rw-r--r--sys/net80211/_ieee80211.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/net80211/_ieee80211.h b/sys/net80211/_ieee80211.h
index ad991aa..f018f89 100644
--- a/sys/net80211/_ieee80211.h
+++ b/sys/net80211/_ieee80211.h
@@ -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
OpenPOWER on IntegriCloud