add a dot11mib for shortpreamble.

This commit is contained in:
solomon 2002-09-29 14:28:20 +00:00
parent af33f0c67b
commit b9e74e7a7e
3 changed files with 22 additions and 1 deletions

View File

@ -201,6 +201,9 @@
#define P80211ENUM_status_auth_timeout 16
#define P80211ENUM_status_ap_full 17
#define P80211ENUM_status_unsup_rate 18
#define P80211ENUM_status_unsup_shortpreamble 19
#define P80211ENUM_status_unsup_pbcc 20
#define P80211ENUM_status_unsup_agility 21
#define P80211ENUM_msgitem_status_data_ok 0
#define P80211ENUM_msgitem_status_no_value 1
#define P80211ENUM_msgitem_status_invalid_itemname 2

View File

@ -511,6 +511,10 @@ static mibrec_t mibtab[] = {
F_AP | F_STA | F_READ | F_WRITE,
HFA384x_RID_CNFWEPFLAGS, HFA384x_WEPFLAGS_EXCLUDE, 0,
prism2mib_excludeunencrypted },
{ DIDmib_dot11smt_p80211Table_p80211_dot11ShortPreambleEnabled,
F_AP | F_STA | F_READ | F_WRITE,
HFA384x_RID_CNFSHORTPREAMBLE, 0, 0,
prism2mib_truth },
/* dot11mac MIB's */

View File

@ -140,6 +140,20 @@ p80211meta_t MKMIBMETANAME(p80211Table)[] = {
/* fromtextptr */ p80211_fromtext_enumint,
/* validfunptr */ p80211_isvalid_enumint
},
{
/* name */ MKITEMNAME("p80211_dot11ShortPreambleEnabled"),
/* did */ P80211DID_ACCESS_READ,
/* flags */ 0,
/* min */ 0,
/* max */ 0,
/* maxlen */ 0,
/* minlen */ 0,
/* enumptr */ &MKENUMNAME(truth),
/* collptr */ NULL,
/* totextptr */ p80211_totext_enumint,
/* fromtextptr */ p80211_fromtext_enumint,
/* validfunptr */ p80211_isvalid_enumint
},
};
UINT32 MKMIBMETASIZE(p80211Table) = sizeof(MKMIBMETANAME(p80211Table)) / sizeof(p80211meta_t);
@ -1933,7 +1947,7 @@ p80211meta_t MKMIBMETANAME(dot11PhyOperationTable)[] = {
/* totextptr */ p80211_totext_enumint,
/* fromtextptr */ p80211_fromtext_enumint,
/* validfunptr */ p80211_isvalid_enumint
}
},
};
UINT32 MKMIBMETASIZE(dot11PhyOperationTable) = sizeof(MKMIBMETANAME(dot11PhyOperationTable)) / sizeof(p80211meta_t);