Staging: wlan-ng: Purge all MIBs not used internally.

The next step is to bypass the MIB calling mechanism altogether and just
invoke the hardware directly where needed, but at least now the list has
been paired down considerably.

Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Solomon Peachy 2008-10-29 10:43:00 -04:00 committed by Greg Kroah-Hartman
parent e02c69b8af
commit 56afef56eb
4 changed files with 11 additions and 1979 deletions

View File

@ -650,135 +650,6 @@
P80211DID_MKITEM(4) | 0x00000000)
#define DIDmib_cat_dot11smt \
P80211DID_MKSECTION(1)
#define DIDmib_dot11smt_p80211Table \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(1))
#define DIDmib_dot11smt_p80211Table_p80211_ifstate \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(1) | \
P80211DID_MKITEM(1) | 0x10000000)
#define DIDmib_dot11smt_dot11StationConfigTable \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(2))
#define DIDmib_dot11smt_dot11StationConfigTable_dot11StationID \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(1) | 0x18000000)
#define DIDmib_dot11smt_dot11StationConfigTable_dot11CFPollable \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(3) | 0x10000000)
#define DIDmib_dot11smt_dot11StationConfigTable_dot11AuthenticationResponseTimeOut \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(6) | 0x18000000)
#define DIDmib_dot11smt_dot11StationConfigTable_dot11PrivacyOptionImplemented \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(7) | 0x10000000)
#define DIDmib_dot11smt_dot11StationConfigTable_dot11PowerManagementMode \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(8) | 0x18000000)
#define DIDmib_dot11smt_dot11StationConfigTable_dot11DesiredSSID \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(9) | 0x18000000)
#define DIDmib_dot11smt_dot11StationConfigTable_dot11DesiredBSSType \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(10) | 0x18000000)
#define DIDmib_dot11smt_dot11StationConfigTable_dot11OperationalRateSet \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(11) | 0x18000000)
#define DIDmib_dot11smt_dot11StationConfigTable_dot11BeaconPeriod \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(12) | 0x18000000)
#define DIDmib_dot11smt_dot11StationConfigTable_dot11DTIMPeriod \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(13) | 0x18000000)
#define DIDmib_dot11smt_dot11StationConfigTable_dot11AssociationResponseTimeOut \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(14) | 0x10000000)
#define DIDmib_dot11smt_dot11StationConfigTable_dot11DisassociateReason \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(15) | 0x10000000)
#define DIDmib_dot11smt_dot11StationConfigTable_dot11DisassociateStation \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(16) | 0x10000000)
#define DIDmib_dot11smt_dot11StationConfigTable_dot11DeauthenticateReason \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(17) | 0x10000000)
#define DIDmib_dot11smt_dot11StationConfigTable_dot11DeauthenticateStation \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(18) | 0x10000000)
#define DIDmib_dot11smt_dot11StationConfigTable_dot11AuthenticateFailStatus \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(19) | 0x10000000)
#define DIDmib_dot11smt_dot11StationConfigTable_dot11AuthenticateFailStation \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(20) | 0x10000000)
#define DIDmib_dot11smt_dot11AuthenticationAlgorithmsTable \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(3))
#define DIDmib_dot11smt_dot11AuthenticationAlgorithmsTable_dot11AuthenticationAlgorithm1 \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(1) | 0x14000000)
#define DIDmib_dot11smt_dot11AuthenticationAlgorithmsTable_dot11AuthenticationAlgorithmsEnable1 \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(2) | 0x1c000000)
#define DIDmib_dot11smt_dot11AuthenticationAlgorithmsTable_dot11AuthenticationAlgorithm2 \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(3) | 0x14000000)
#define DIDmib_dot11smt_dot11AuthenticationAlgorithmsTable_dot11AuthenticationAlgorithmsEnable2 \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(4) | 0x1c000000)
#define DIDmib_dot11smt_dot11AuthenticationAlgorithmsTable_dot11AuthenticationAlgorithm3 \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(5) | 0x14000000)
#define DIDmib_dot11smt_dot11AuthenticationAlgorithmsTable_dot11AuthenticationAlgorithmsEnable3 \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(6) | 0x1c000000)
#define DIDmib_dot11smt_dot11AuthenticationAlgorithmsTable_dot11AuthenticationAlgorithm4 \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(7) | 0x14000000)
#define DIDmib_dot11smt_dot11AuthenticationAlgorithmsTable_dot11AuthenticationAlgorithmsEnable4 \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(8) | 0x1c000000)
#define DIDmib_dot11smt_dot11AuthenticationAlgorithmsTable_dot11AuthenticationAlgorithm5 \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(9) | 0x14000000)
#define DIDmib_dot11smt_dot11AuthenticationAlgorithmsTable_dot11AuthenticationAlgorithmsEnable5 \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(10) | 0x1c000000)
#define DIDmib_dot11smt_dot11AuthenticationAlgorithmsTable_dot11AuthenticationAlgorithm6 \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(11) | 0x14000000)
#define DIDmib_dot11smt_dot11AuthenticationAlgorithmsTable_dot11AuthenticationAlgorithmsEnable6 \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(12) | 0x1c000000)
#define DIDmib_dot11smt_dot11WEPDefaultKeysTable \
(P80211DID_MKSECTION(1) | \
P80211DID_MKGROUP(4))
@ -819,9 +690,9 @@
(P80211DID_MKSECTION(2) | \
P80211DID_MKGROUP(1))
#define DIDmib_dot11mac_dot11OperationTable_dot11MACAddress \
(P80211DID_MKSECTION(2) | \
P80211DID_MKGROUP(1) | \
P80211DID_MKITEM(1) | 0x18000000)
(P80211DID_MKSECTION(2) | \
P80211DID_MKGROUP(1) | \
P80211DID_MKITEM(1) | 0x18000000)
#define DIDmib_dot11mac_dot11OperationTable_dot11RTSThreshold \
(P80211DID_MKSECTION(2) | \
P80211DID_MKGROUP(1) | \
@ -839,38 +710,18 @@
P80211DID_MKGROUP(1) | \
P80211DID_MKITEM(5) | 0x18000000)
#define DIDmib_dot11mac_dot11OperationTable_dot11MaxTransmitMSDULifetime \
(P80211DID_MKSECTION(2) | \
P80211DID_MKGROUP(1) | \
P80211DID_MKITEM(6) | 0x10000000)
#define DIDmib_dot11mac_dot11OperationTable_dot11MaxReceiveLifetime \
(P80211DID_MKSECTION(2) | \
P80211DID_MKGROUP(1) | \
P80211DID_MKITEM(7) | 0x10000000)
(P80211DID_MKSECTION(2) | \
P80211DID_MKGROUP(1) | \
P80211DID_MKITEM(6) | 0x10000000)
#define DIDmib_cat_dot11phy \
P80211DID_MKSECTION(3)
#define DIDmib_dot11phy_dot11PhyOperationTable \
(P80211DID_MKSECTION(3) | \
P80211DID_MKGROUP(1))
#define DIDmib_dot11phy_dot11PhyOperationTable_dot11PHYType \
(P80211DID_MKSECTION(3) | \
P80211DID_MKGROUP(1) | \
P80211DID_MKITEM(1) | 0x10000000)
#define DIDmib_dot11phy_dot11PhyOperationTable_dot11CurrentRegDomain \
(P80211DID_MKSECTION(3) | \
P80211DID_MKGROUP(1) | \
P80211DID_MKITEM(2) | 0x18000000)
#define DIDmib_dot11phy_dot11PhyOperationTable_dot11TempType \
(P80211DID_MKSECTION(3) | \
P80211DID_MKGROUP(1) | \
P80211DID_MKITEM(3) | 0x10000000)
#define DIDmib_dot11phy_dot11PhyTxPowerTable_dot11CurrentTxPowerLevel \
(P80211DID_MKSECTION(3) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(10) | 0x18000000)
#define DIDmib_dot11phy_dot11PhyOperationTable_dot11ShortPreambleEnabled \
(P80211DID_MKSECTION(3) | \
P80211DID_MKGROUP(1) | \
P80211DID_MKITEM(6) | 0x10000000)
#define DIDmib_dot11phy_dot11PhyDSSSTable \
(P80211DID_MKSECTION(3) | \
P80211DID_MKGROUP(5))
@ -878,22 +729,6 @@
(P80211DID_MKSECTION(3) | \
P80211DID_MKGROUP(5) | \
P80211DID_MKITEM(1) | 0x10000000)
#define DIDmib_dot11phy_dot11PhyDSSSTable_dot11CCAModeSupported \
(P80211DID_MKSECTION(3) | \
P80211DID_MKGROUP(5) | \
P80211DID_MKITEM(2) | 0x10000000)
#define DIDmib_dot11phy_dot11PhyDSSSTable_dot11CurrentCCAMode \
(P80211DID_MKSECTION(3) | \
P80211DID_MKGROUP(5) | \
P80211DID_MKITEM(3) | 0x10000000)
#define DIDmib_dot11phy_dot11PhyDSSSTable_dot11EDThreshold \
(P80211DID_MKSECTION(3) | \
P80211DID_MKGROUP(5) | \
P80211DID_MKITEM(4) | 0x18000000)
#define DIDmib_dot11phy_dot11PhyDSSSTable_dot11ShortPreambleOptionImplemented \
(P80211DID_MKSECTION(3) | \
P80211DID_MKGROUP(5) | \
P80211DID_MKITEM(5) | 0x10000000)
#define DIDmib_cat_lnx \
P80211DID_MKSECTION(4)
#define DIDmib_lnx_lnxConfigTable \
@ -905,25 +740,6 @@
P80211DID_MKITEM(1) | 0x18000000)
#define DIDmib_cat_p2 \
P80211DID_MKSECTION(5)
#define DIDmib_p2_p2Table \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(1))
#define DIDmib_p2_p2Table_p2MMTx \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(1) | \
P80211DID_MKITEM(1) | 0x18000000)
#define DIDmib_p2_p2Table_p2ReceivedFrameStatistics \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(1) | \
P80211DID_MKITEM(3) | 0x10000000)
#define DIDmib_p2_p2Table_p2CommunicationTallies \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(1) | \
P80211DID_MKITEM(4) | 0x10000000)
#define DIDmib_p2_p2Table_p2Comment \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(1) | \
P80211DID_MKITEM(8) | 0x18000000)
#define DIDmib_p2_p2Static \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2))
@ -931,452 +747,11 @@
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(1) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfOwnMACAddress \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(2) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfDesiredSSID \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(3) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfOwnChannel \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(4) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfOwnSSID \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(5) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfOwnATIMWindow \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(6) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfSystemScale \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(7) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfMaxDataLength \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(8) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfWDSAddress \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(9) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfPMEnabled \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(10) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfPMEPS \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(11) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfMulticastReceive \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(12) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfMaxSleepDuration \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(13) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfPMHoldoverDuration \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(14) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfOwnName \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(15) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfOwnDTIMPeriod \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(16) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfWEPDefaultKeyID \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(24) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfWEPDefaultKey0 \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(25) | 0x08000000)
#define DIDmib_p2_p2Static_p2CnfWEPDefaultKey1 \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(26) | 0x08000000)
#define DIDmib_p2_p2Static_p2CnfWEPDefaultKey2 \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(27) | 0x08000000)
#define DIDmib_p2_p2Static_p2CnfWEPDefaultKey3 \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(28) | 0x08000000)
#define DIDmib_p2_p2Static_p2CnfWEPFlags \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(29) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfAuthentication \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(30) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfTxControl \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(32) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfRoamingMode \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(33) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfRcvCrcError \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(35) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfAltRetryCount \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(36) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfSTAPCFInfo \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(42) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfPriorityQUsage \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(43) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfTIMCtrl \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(44) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfThirty2Tally \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(45) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfShortPreamble \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(47) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfAuthenticationRspTO \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(49) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfBasicRates \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(50) | 0x18000000)
#define DIDmib_p2_p2Static_p2CnfSupportedRates \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(2) | \
P80211DID_MKITEM(51) | 0x18000000)
#define DIDmib_p2_p2Dynamic \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(3))
#define DIDmib_p2_p2Dynamic_p2CreateIBSS \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(1) | 0x18000000)
#define DIDmib_p2_p2Dynamic_p2FragmentationThreshold \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(2) | 0x18000000)
#define DIDmib_p2_p2Dynamic_p2RTSThreshold \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(3) | 0x18000000)
#define DIDmib_p2_p2Dynamic_p2TxRateControl \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(4) | 0x18000000)
#define DIDmib_p2_p2Dynamic_p2PromiscuousMode \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(5) | 0x18000000)
#define DIDmib_p2_p2Dynamic_p2FragmentationThreshold0 \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(6) | 0x18000000)
#define DIDmib_p2_p2Dynamic_p2FragmentationThreshold1 \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(7) | 0x18000000)
#define DIDmib_p2_p2Dynamic_p2FragmentationThreshold2 \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(8) | 0x18000000)
#define DIDmib_p2_p2Dynamic_p2FragmentationThreshold3 \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(9) | 0x18000000)
#define DIDmib_p2_p2Dynamic_p2FragmentationThreshold4 \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(10) | 0x18000000)
#define DIDmib_p2_p2Dynamic_p2FragmentationThreshold5 \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(11) | 0x18000000)
#define DIDmib_p2_p2Dynamic_p2FragmentationThreshold6 \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(12) | 0x18000000)
#define DIDmib_p2_p2Dynamic_p2RTSThreshold0 \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(13) | 0x18000000)
#define DIDmib_p2_p2Dynamic_p2RTSThreshold1 \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(14) | 0x18000000)
#define DIDmib_p2_p2Dynamic_p2RTSThreshold2 \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(15) | 0x18000000)
#define DIDmib_p2_p2Dynamic_p2RTSThreshold3 \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(16) | 0x18000000)
#define DIDmib_p2_p2Dynamic_p2RTSThreshold4 \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(17) | 0x18000000)
#define DIDmib_p2_p2Dynamic_p2RTSThreshold5 \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(18) | 0x18000000)
#define DIDmib_p2_p2Dynamic_p2RTSThreshold6 \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(19) | 0x18000000)
#define DIDmib_p2_p2Dynamic_p2TxRateControl0 \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(20) | 0x18000000)
#define DIDmib_p2_p2Dynamic_p2TxRateControl1 \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(21) | 0x18000000)
#define DIDmib_p2_p2Dynamic_p2TxRateControl2 \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(22) | 0x18000000)
#define DIDmib_p2_p2Dynamic_p2TxRateControl3 \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(23) | 0x18000000)
#define DIDmib_p2_p2Dynamic_p2TxRateControl4 \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(24) | 0x18000000)
#define DIDmib_p2_p2Dynamic_p2TxRateControl5 \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(25) | 0x18000000)
#define DIDmib_p2_p2Dynamic_p2TxRateControl6 \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(3) | \
P80211DID_MKITEM(26) | 0x18000000)
#define DIDmib_p2_p2NIC \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(5))
#define DIDmib_p2_p2NIC_p2MaxLoadTime \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(5) | \
P80211DID_MKITEM(1) | 0x10000000)
#define DIDmib_p2_p2NIC_p2DLBufferPage \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(5) | \
P80211DID_MKITEM(2) | 0x10000000)
#define DIDmib_p2_p2NIC_p2DLBufferOffset \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(5) | \
P80211DID_MKITEM(3) | 0x10000000)
#define DIDmib_p2_p2NIC_p2DLBufferLength \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(5) | \
P80211DID_MKITEM(4) | 0x10000000)
#define DIDmib_p2_p2NIC_p2PRIIdentity \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(5) | \
P80211DID_MKITEM(5) | 0x10000000)
#define DIDmib_p2_p2NIC_p2PRISupRange \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(5) | \
P80211DID_MKITEM(6) | 0x10000000)
#define DIDmib_p2_p2NIC_p2CFIActRanges \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(5) | \
P80211DID_MKITEM(7) | 0x10000000)
#define DIDmib_p2_p2NIC_p2NICSerialNumber \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(5) | \
P80211DID_MKITEM(8) | 0x10000000)
#define DIDmib_p2_p2NIC_p2NICIdentity \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(5) | \
P80211DID_MKITEM(9) | 0x10000000)
#define DIDmib_p2_p2NIC_p2MFISupRange \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(5) | \
P80211DID_MKITEM(10) | 0x10000000)
#define DIDmib_p2_p2NIC_p2CFISupRange \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(5) | \
P80211DID_MKITEM(11) | 0x10000000)
#define DIDmib_p2_p2NIC_p2ChannelList \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(5) | \
P80211DID_MKITEM(12) | 0x10000000)
#define DIDmib_p2_p2NIC_p2RegulatoryDomains \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(5) | \
P80211DID_MKITEM(13) | 0x10000000)
#define DIDmib_p2_p2NIC_p2TempType \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(5) | \
P80211DID_MKITEM(14) | 0x10000000)
#define DIDmib_p2_p2NIC_p2STAIdentity \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(5) | \
P80211DID_MKITEM(15) | 0x10000000)
#define DIDmib_p2_p2NIC_p2STASupRange \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(5) | \
P80211DID_MKITEM(16) | 0x10000000)
#define DIDmib_p2_p2NIC_p2MFIActRanges \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(5) | \
P80211DID_MKITEM(17) | 0x10000000)
#define DIDmib_p2_p2NIC_p2STACFIActRanges \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(5) | \
P80211DID_MKITEM(18) | 0x10000000)
#define DIDmib_p2_p2NIC_p2BuildSequence \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(5) | \
P80211DID_MKITEM(19) | 0x10000000)
#define DIDmib_p2_p2NIC_p2PrimaryFWID \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(5) | \
P80211DID_MKITEM(20) | 0x10000000)
#define DIDmib_p2_p2NIC_p2SecondaryFWID \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(5) | \
P80211DID_MKITEM(21) | 0x10000000)
#define DIDmib_p2_p2MAC \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(6))
#define DIDmib_p2_p2MAC_p2PortStatus \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(6) | \
P80211DID_MKITEM(1) | 0x10000000)
#define DIDmib_p2_p2MAC_p2CurrentSSID \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(6) | \
P80211DID_MKITEM(2) | 0x10000000)
#define DIDmib_p2_p2MAC_p2CurrentBSSID \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(6) | \
P80211DID_MKITEM(3) | 0x10000000)
#define DIDmib_p2_p2MAC_p2CommsQuality \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(6) | \
P80211DID_MKITEM(4) | 0x10000000)
#define DIDmib_p2_p2MAC_p2CommsQualityCQ \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(6) | \
P80211DID_MKITEM(5) | 0x10000000)
#define DIDmib_p2_p2MAC_p2CommsQualityASL \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(6) | \
P80211DID_MKITEM(6) | 0x10000000)
#define DIDmib_p2_p2MAC_p2CommsQualityANL \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(6) | \
P80211DID_MKITEM(7) | 0x10000000)
#define DIDmib_p2_p2MAC_p2dbmCommsQuality \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(6) | \
P80211DID_MKITEM(8) | 0x10000000)
#define DIDmib_p2_p2MAC_p2dbmCommsQualityCQ \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(6) | \
P80211DID_MKITEM(9) | 0x10000000)
#define DIDmib_p2_p2MAC_p2dbmCommsQualityASL \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(6) | \
P80211DID_MKITEM(10) | 0x10000000)
#define DIDmib_p2_p2MAC_p2dbmCommsQualityANL \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(6) | \
P80211DID_MKITEM(11) | 0x10000000)
#define DIDmib_p2_p2MAC_p2CurrentTxRate \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(6) | \
P80211DID_MKITEM(12) | 0x10000000)
#define DIDmib_p2_p2MAC_p2CurrentBeaconInterval \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(6) | \
P80211DID_MKITEM(13) | 0x10000000)
#define DIDmib_p2_p2MAC_p2StaCurrentScaleThresholds \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(6) | \
P80211DID_MKITEM(14) | 0x10000000)
#define DIDmib_p2_p2MAC_p2ProtocolRspTime \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(6) | \
P80211DID_MKITEM(16) | 0x10000000)
#define DIDmib_p2_p2MAC_p2ShortRetryLimit \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(6) | \
P80211DID_MKITEM(17) | 0x10000000)
#define DIDmib_p2_p2MAC_p2LongRetryLimit \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(6) | \
P80211DID_MKITEM(18) | 0x10000000)
#define DIDmib_p2_p2MAC_p2MaxTransmitLifetime \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(6) | \
P80211DID_MKITEM(19) | 0x10000000)
#define DIDmib_p2_p2MAC_p2MaxReceiveLifetime \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(6) | \
P80211DID_MKITEM(20) | 0x10000000)
#define DIDmib_p2_p2MAC_p2CFPollable \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(6) | \
P80211DID_MKITEM(21) | 0x10000000)
#define DIDmib_p2_p2MAC_p2AuthenticationAlgorithms \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(6) | \
P80211DID_MKITEM(22) | 0x10000000)
#define DIDmib_p2_p2MAC_p2PrivacyOptionImplemented \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(6) | \
P80211DID_MKITEM(23) | 0x10000000)
#define DIDmib_p2_p2Modem \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(7))
#define DIDmib_p2_p2Modem_p2PHYType \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(7) | \
P80211DID_MKITEM(1) | 0x10000000)
#define DIDmib_p2_p2Modem_p2CurrentChannel \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(7) | \
P80211DID_MKITEM(2) | 0x10000000)
#define DIDmib_p2_p2Modem_p2CurrentPowerState \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(7) | \
P80211DID_MKITEM(3) | 0x10000000)
#define DIDmib_p2_p2Modem_p2CCAMode \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(7) | \
P80211DID_MKITEM(4) | 0x10000000)
#define DIDmib_p2_p2Modem_p2SupportedDataRates \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(7) | \
P80211DID_MKITEM(5) | 0x10000000)
#define DIDmib_p2_p2Modem_p2TxPowerMax \
(P80211DID_MKSECTION(5) | \
P80211DID_MKGROUP(7) | \
P80211DID_MKITEM(6) | 0x18000000)
#endif

View File

@ -206,7 +206,6 @@ typedef struct wlandevice
p80211pstr32_t ssid;
u32 macmode;
int linkstatus;
int shortpreamble; /* C bool */
/* WEP State */
u8 wep_keys[NUM_WEPKEYS][MAX_KEYLEN];

View File

@ -228,33 +228,6 @@ static int p80211req_mibset_mibget(wlandevice_t *wlandev,
DBFENTER;
switch (mibitem->did) {
case DIDmib_dot11smt_p80211Table_p80211_ifstate: {
u32 *data = (u32 *) mibitem->data;
if (isget)
switch (wlandev->msdstate) {
case WLAN_MSD_HWPRESENT:
*data = P80211ENUM_ifstate_disable;
break;
case WLAN_MSD_FWLOAD:
*data = P80211ENUM_ifstate_fwload;
break;
case WLAN_MSD_RUNNING:
*data = P80211ENUM_ifstate_enable;
break;
default:
*data = P80211ENUM_ifstate_enable;
}
break;
}
case DIDmib_dot11phy_dot11PhyOperationTable_dot11ShortPreambleEnabled: {
u32 *data = (u32 *) mibitem->data;
if (isget)
*data = wlandev->shortpreamble;
else
wlandev->shortpreamble = *data;
break;
}
case DIDmib_dot11smt_dot11WEPDefaultKeysTable_dot11WEPDefaultKey0: {
if (!isget)
wep_change_key(wlandev, 0, key, pstr->len);

File diff suppressed because it is too large Load Diff