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).
This commit is contained in:
Sam Leffler 2009-01-27 23:48:13 +00:00
parent b83f2cf386
commit 00a7aacaa7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=187803

View File

@ -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