wlan_bearer/wlanengine/wlan_common/wlanengine_common_3.1/inc/core_settings.h
changeset 17 41a8eba36f74
parent 0 c40eb8fe8501
child 32 c01ef7f246fd
equal deleted inserted replaced
14:00032b836e76 17:41a8eba36f74
   467      *
   467      *
   468      * @since S60 v5.2
   468      * @since S60 v5.2
   469      * @param iap_id IAP ID to be removed.
   469      * @param iap_id IAP ID to be removed.
   470      */   
   470      */   
   471     void remove_iap_id_from_weak_list( u32_t iap_id );
   471     void remove_iap_id_from_weak_list( u32_t iap_id );
   472 	
   472 
       
   473     /**
       
   474      * Set the currently enabled feature set.
       
   475      *
       
   476      * @since S60 v5.2
       
   477      * @param features Bitmask of enabled features.
       
   478      * @return core_error_ok if success, an error code otherwise.
       
   479      */
       
   480     void set_enabled_features(
       
   481         u32_t features );
       
   482 
       
   483     /**
       
   484      * Get the currently enabled feature set.
       
   485      *
       
   486      * @since S60 v5.2
       
   487      * @return Bitmask of enabled features.
       
   488      */
       
   489     u32_t enabled_features() const;
       
   490 
   473 	/**
   491 	/**
   474      * Check whether the given feature is enabled.
   492      * Check whether the given feature is enabled.
   475      *
   493      *
   476      * @since S60 v5.2
   494      * @since S60 v5.2
   477      * @param feature Feature flag to check.
   495      * @param feature Feature flag to check.
   482        
   500        
   483 private: // data
   501 private: // data
   484 
   502 
   485     /** Defines whether wlan functionality is enabled or disabled */
   503     /** Defines whether wlan functionality is enabled or disabled */
   486     bool_t is_wlan_enabled_m;    
   504     bool_t is_wlan_enabled_m;    
   487     
   505 
   488     /** Defines whether the drivers have been loaded. */
   506     /** Defines whether the drivers have been loaded. */
   489     bool_t is_driver_loaded_m;
   507     bool_t is_driver_loaded_m;
   490     
   508 
   491     /** Specifies the current connection state */
   509     /** Specifies the current connection state */
   492     core_connection_state_e connection_state_m;
   510     core_connection_state_e connection_state_m;
   493 
   511 
   494     /** Currently used power mode. */
   512     /** Currently used power mode. */
   495     core_power_mode_s power_mode_m;
   513     core_power_mode_s power_mode_m;
   509     /** Threshold for RCPI is getting better notification. */    
   527     /** Threshold for RCPI is getting better notification. */    
   510     u32_t rcp_improve_boundary_m;
   528     u32_t rcp_improve_boundary_m;
   511 
   529 
   512     /** Defines the currently used regional domain. */
   530     /** Defines the currently used regional domain. */
   513     core_wlan_region_e region_m;
   531     core_wlan_region_e region_m;
   514     
   532 
   515     /** Defines whether the mobile country code is known or not. */
   533     /** Defines whether the mobile country code is known or not. */
   516     bool_t mcc_known_m;
   534     bool_t mcc_known_m;
   517 
   535 
   518     /** Defines whether a BT connection has been established. */
   536     /** Defines whether a BT connection has been established. */
   519     bool_t is_bt_connection_established_m;
   537     bool_t is_bt_connection_established_m;
   530     /** U-APSD settings for access classes. */
   548     /** U-APSD settings for access classes. */
   531     core_uapsd_settings_s uapsd_settings_m;
   549     core_uapsd_settings_s uapsd_settings_m;
   532 
   550 
   533     /** Power save settings for access classes. */
   551     /** Power save settings for access classes. */
   534     core_power_save_settings_s power_save_settings_m;
   552     core_power_save_settings_s power_save_settings_m;
   535     
   553 
   536     /** Block ACK usage per traffic stream. */
   554     /** Block ACK usage per traffic stream. */
   537     core_block_ack_usage_s block_ack_usage_m;
   555     core_block_ack_usage_s block_ack_usage_m;
   538 	
   556 
   539 	    
       
   540     /** List of IAP Ids whose rcpi values are weak  */
   557     /** List of IAP Ids whose rcpi values are weak  */
   541     core_type_list_c<u32_t> weak_iap_list_m;
   558     core_type_list_c<u32_t> weak_iap_list_m;
   542     
       
   543 
   559 
   544     /** Bitmask of enabled features. */
   560     /** Bitmask of enabled features. */
   545     u32_t features_m;
   561     u32_t features_m;
   546 
   562 
   547     };
   563     };