1 //============================================================================
5 // Get and Set some of MLME MIB attributes.
8 // --------------------------------------------------------------------------
9 // 20030117 PD43 Austin Liu
12 // Copyright (c) 2003 Winbond Electronics Corp. All rights reserved.
13 //============================================================================
18 //============================================================================
19 // MLMESetExcludeUnencrypted --
22 // Set the dot11ExcludeUnencrypted value.
25 // adapter - The pointer to the miniport adapter context.
26 // ExUnencrypted - unsigned char type. The value to be set.
30 //============================================================================
31 #define MLMESetExcludeUnencrypted(adapter, ExUnencrypted) \
33 (adapter)->sLocalPara.ExcludeUnencrypted = ExUnencrypted; \
36 //============================================================================
37 // MLMEGetExcludeUnencrypted --
40 // Get the dot11ExcludeUnencrypted value.
43 // adapter - The pointer to the miniport adapter context.
46 // unsigned char type. The current dot11ExcludeUnencrypted value.
47 //============================================================================
48 #define MLMEGetExcludeUnencrypted(adapter) ((unsigned char) (adapter)->sLocalPara.ExcludeUnencrypted)
50 //============================================================================
51 // MLMESetMaxReceiveLifeTime --
54 // Set the dot11MaxReceiveLifeTime value.
57 // adapter - The pointer to the miniport adapter context.
58 // ReceiveLifeTime- u32 type. The value to be set.
62 //============================================================================
63 #define MLMESetMaxReceiveLifeTime(adapter, ReceiveLifeTime) \
65 (adapter)->Mds.MaxReceiveTime = ReceiveLifeTime; \
68 //============================================================================
69 // MLMESetMaxReceiveLifeTime --
72 // Get the dot11MaxReceiveLifeTime value.
75 // adapter - The pointer to the miniport adapter context.
78 // u32 type. The current dot11MaxReceiveLifeTime value.
79 //============================================================================
80 #define MLMEGetMaxReceiveLifeTime(adapter) ((u32) (adapter)->Mds.MaxReceiveTime)