wlan_bearer/wlanldd/wlan_common/umac_common/inc/UmacContextImpl.h
branchRCL_3
changeset 7 0abc8c98be24
parent 3 6524e815f76f
child 11 a9473894c0f1
--- a/wlan_bearer/wlanldd/wlan_common/umac_common/inc/UmacContextImpl.h	Mon Mar 15 12:46:48 2010 +0200
+++ b/wlan_bearer/wlanldd/wlan_common/umac_common/inc/UmacContextImpl.h	Thu Apr 01 00:29:25 2010 +0300
@@ -16,7 +16,7 @@
 */
 
 /*
-* %version: 103 %
+* %version: 104 %
 */
 
 #ifndef WLANCONTEXTIMPL_H
@@ -608,6 +608,26 @@
     */
     inline TMacAddress& GetBssId();
 
+    /**
+    * Regarding the features which we allow to be be configured on or off,
+    * sets the allowed features per WLAN Mgmt client request
+    *
+    * @param aFeaturesAllowed Feature bit mask where 1 means that the use of 
+    *        the corresponding feature is allowed and 0 means that its not
+    *        allowed 
+    */ 
+    inline void FeaturesAllowed( TWlanFeatures aFeaturesAllowed );
+        
+    /**
+    * Regarding the features which we allow to be be configured on or off,
+    * returns the allowed features
+    *
+    * @return Feature bit mask where 1 means that the use of 
+    *        the corresponding feature is allowed and 0 means that its not
+    *        allowed 
+    */ 
+    inline TWlanFeatures FeaturesAllowed() const;
+    
     inline void Aid( const TUint32 aAid );
     inline TUint32 Aid() const;
 
@@ -2000,6 +2020,14 @@
     typedef TUint8 TWlanFeatureArray[KMaxNumOfWlanFeatures];
 
 private:  // data
+
+    /**
+    * If a bit in this mask is set, use of the corresponding WLAN 
+    * feature is allowed; otherwise it is not allowed.
+    * Note that this mask doesn't contain all supported WLAN features
+    * but only the ones which we allow to be be configured on or off.
+    */ 
+    TWlanFeatures               iAllowedWlanFeatures;
     
     /** 
     * ETrue if the Tx data buffer for frames created internally in this