equal
deleted
inserted
replaced
14 * Description: Implementation of the WlanContextImpl class |
14 * Description: Implementation of the WlanContextImpl class |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: 72 % |
19 * %version: 73 % |
20 */ |
20 */ |
21 |
21 |
22 #include "config.h" |
22 #include "config.h" |
23 #include "UmacContextImpl.h" |
23 #include "UmacContextImpl.h" |
24 #include "umacconnectcontext.h" |
24 #include "umacconnectcontext.h" |
102 0, |
102 0, |
103 sizeof( iSupportedRatesLookUpTable ) ); |
103 sizeof( iSupportedRatesLookUpTable ) ); |
104 |
104 |
105 os_memset( &iWHASettings, 0, sizeof( iWHASettings ) ); |
105 os_memset( &iWHASettings, 0, sizeof( iWHASettings ) ); |
106 |
106 |
107 os_memset( |
107 ClearBssMembershipFeatureList(); |
108 &iOurBssMembershipFeatureArray, |
|
109 KUnallocated, |
|
110 sizeof( iOurBssMembershipFeatureArray ) ); |
|
111 |
108 |
112 os_memset( |
109 os_memset( |
113 &iHtBlockAckConfigure, |
110 &iHtBlockAckConfigure, |
114 0, |
111 0, |
115 sizeof( iHtBlockAckConfigure ) ); |
112 sizeof( iHtBlockAckConfigure ) ); |
1768 |
1765 |
1769 // ----------------------------------------------------------------------------- |
1766 // ----------------------------------------------------------------------------- |
1770 // |
1767 // |
1771 // ----------------------------------------------------------------------------- |
1768 // ----------------------------------------------------------------------------- |
1772 // |
1769 // |
|
1770 void WlanContextImpl::RemoveBssMembershipFeature( TUint8 aItem ) |
|
1771 { |
|
1772 TUint8 i ( 0 ); |
|
1773 |
|
1774 do |
|
1775 { |
|
1776 if ( aItem == iOurBssMembershipFeatureArray[i] ) |
|
1777 { |
|
1778 iOurBssMembershipFeatureArray[i] = KUnallocated; |
|
1779 |
|
1780 OsTracePrint( KUmacDetails, (TUint8*) |
|
1781 ("UMAC: WlanContextImpl::RemoveBssMembershipFeature: " |
|
1782 "feature %d removed"), |
|
1783 aItem ); |
|
1784 |
|
1785 break; |
|
1786 } |
|
1787 else |
|
1788 { |
|
1789 ++i; |
|
1790 } |
|
1791 } while ( i != KMaxNumOfWlanFeatures ); |
|
1792 } |
|
1793 |
|
1794 // ----------------------------------------------------------------------------- |
|
1795 // |
|
1796 // ----------------------------------------------------------------------------- |
|
1797 // |
1773 TBool WlanContextImpl::BssMembershipFeatureSupported( TUint8 aItem ) const |
1798 TBool WlanContextImpl::BssMembershipFeatureSupported( TUint8 aItem ) const |
1774 { |
1799 { |
1775 TBool supported ( EFalse ); |
1800 TBool supported ( EFalse ); |
1776 |
1801 |
1777 TUint8 i ( 0 ); |
1802 TUint8 i ( 0 ); |