add rate knob for net80211 rate control modules

MFC after:	1 month
This commit is contained in:
Sam Leffler 2006-11-26 19:56:25 +00:00
parent 344a9e8c0f
commit cb3b333294
2 changed files with 4 additions and 0 deletions

View File

@ -76,6 +76,7 @@ const char *progname;
#define IEEE80211_MSG_DOTH 0x00000100 /* 802.11h support */ #define IEEE80211_MSG_DOTH 0x00000100 /* 802.11h support */
#define IEEE80211_MSG_INACT 0x00000080 /* inactivity handling */ #define IEEE80211_MSG_INACT 0x00000080 /* inactivity handling */
#define IEEE80211_MSG_ROAM 0x00000040 /* sta-mode roaming */ #define IEEE80211_MSG_ROAM 0x00000040 /* sta-mode roaming */
#define IEEE80211_MSG_RATECTL 0x00000020 /* tx rate control */
static struct { static struct {
const char *name; const char *name;
@ -106,6 +107,7 @@ static struct {
{ "doth", IEEE80211_MSG_DOTH }, { "doth", IEEE80211_MSG_DOTH },
{ "inact", IEEE80211_MSG_INACT }, { "inact", IEEE80211_MSG_INACT },
{ "roam", IEEE80211_MSG_ROAM }, { "roam", IEEE80211_MSG_ROAM },
{ "rate", IEEE80211_MSG_RATECTL },
}; };
static u_int static u_int

View File

@ -76,6 +76,7 @@ const char *progname;
#define IEEE80211_MSG_DOTH 0x00000100 /* 802.11h support */ #define IEEE80211_MSG_DOTH 0x00000100 /* 802.11h support */
#define IEEE80211_MSG_INACT 0x00000080 /* inactivity handling */ #define IEEE80211_MSG_INACT 0x00000080 /* inactivity handling */
#define IEEE80211_MSG_ROAM 0x00000040 /* sta-mode roaming */ #define IEEE80211_MSG_ROAM 0x00000040 /* sta-mode roaming */
#define IEEE80211_MSG_RATECTL 0x00000020 /* tx rate control */
static struct { static struct {
const char *name; const char *name;
@ -106,6 +107,7 @@ static struct {
{ "doth", IEEE80211_MSG_DOTH }, { "doth", IEEE80211_MSG_DOTH },
{ "inact", IEEE80211_MSG_INACT }, { "inact", IEEE80211_MSG_INACT },
{ "roam", IEEE80211_MSG_ROAM }, { "roam", IEEE80211_MSG_ROAM },
{ "rate", IEEE80211_MSG_RATECTL },
}; };
static u_int static u_int