44 const TUint32 KWlanDefaultDelayBetweenFindNw = 1500000; // 1,5 seconds |
44 const TUint32 KWlanDefaultDelayBetweenFindNw = 1500000; // 1,5 seconds |
45 const TUint32 KWlanDefaultowerMode = 0; // 0 == enabled |
45 const TUint32 KWlanDefaultowerMode = 0; // 0 == enabled |
46 const TUint32 KWlanDefaultLongRetryLimit = 4; |
46 const TUint32 KWlanDefaultLongRetryLimit = 4; |
47 const TUint32 KWlanDefaultRTSThreshold = 2347; |
47 const TUint32 KWlanDefaultRTSThreshold = 2347; |
48 const TUint32 KWlanDefaultShortRetryLimit = 7; |
48 const TUint32 KWlanDefaultShortRetryLimit = 7; |
49 const TUint32 KWlanDefaultMinChanneltime = 7; |
49 const TUint32 KWlanDefaultMinChanneltime = 10; |
50 const TUint32 KWlanDefaultMaxChanneltime = 30; |
50 const TUint32 KWlanDefaultMaxChanneltime = 30; |
51 const TUint32 KWlanDefaultMaxTransmitMSDULifetime = 512; |
51 const TUint32 KWlanDefaultMaxTransmitMSDULifetime = 512; |
52 const TUint32 KWlanDefaultMinPassiveChannelTime = 110; |
52 const TUint32 KWlanDefaultMinPassiveChannelTime = 110; |
53 const TUint32 KWlanDefaultMaxPassiveChannelTime = 110; |
53 const TUint32 KWlanDefaultMaxPassiveChannelTime = 110; |
54 const TUint32 KWlanDefaultMaxApFailureCount = 5; |
54 const TUint32 KWlanDefaultMaxApFailureCount = 5; |
99 const TUint32 KWlanDefaultPsmServerMode = 0; // PSM server is in normal mode |
99 const TUint32 KWlanDefaultPsmServerMode = 0; // PSM server is in normal mode |
100 const TUint32 KWlanDefaultBgScanPeakPeriodStart = 600; // Peak starts at 06:00 o'clock |
100 const TUint32 KWlanDefaultBgScanPeakPeriodStart = 600; // Peak starts at 06:00 o'clock |
101 const TUint32 KWlanDefaultBgScanPeakPeriodEnd = 100; // Peak ends at 01:00 o'clock |
101 const TUint32 KWlanDefaultBgScanPeakPeriodEnd = 100; // Peak ends at 01:00 o'clock |
102 const TUint32 KWlanDefaultBgScanIntervalPeakPeriod = 600; // Background scan interval for peak hours is 600 s |
102 const TUint32 KWlanDefaultBgScanIntervalPeakPeriod = 600; // Background scan interval for peak hours is 600 s |
103 const TUint32 KWlanDefaultBgScanIntervalOffPeakPeriod = 1200; // Background scan interval for off-peak hours is 1200 s |
103 const TUint32 KWlanDefaultBgScanIntervalOffPeakPeriod = 1200; // Background scan interval for off-peak hours is 1200 s |
|
104 const TUint32 KWlanDefaultMinActiveBroadcastChannelTime = 10; |
|
105 const TUint32 KWlanDefaultMaxActiveBroadcastChannelTime = 110; |
104 |
106 |
105 // The value of backgroundScanInterval to deny periodic scanning |
107 // The value of backgroundScanInterval to deny periodic scanning |
106 const TUint KScanIntervalNever = 0; |
108 const TUint KScanIntervalNever = 0; |
107 |
109 |
108 class CCommsDatabase; |
110 class CCommsDatabase; |
126 TUint32 shortRetry; ///< How many times packets smaller than 'rts' are been resent. |
128 TUint32 shortRetry; ///< How many times packets smaller than 'rts' are been resent. |
127 TUint32 backgroundScanInterval; ///< Is WLAN indication icon been showed in UI. |
129 TUint32 backgroundScanInterval; ///< Is WLAN indication icon been showed in UI. |
128 TUint32 txPowerLevel; ///< Transmission power level in use. In mWs. |
130 TUint32 txPowerLevel; ///< Transmission power level in use. In mWs. |
129 TRate scanRate; ///< Data rate used in probe request. |
131 TRate scanRate; ///< Data rate used in probe request. |
130 TUint32 rcpiTrigger; ///< Default value for RSSI trigger. |
132 TUint32 rcpiTrigger; ///< Default value for RSSI trigger. |
131 TUint32 minActiveChannelTime; ///< Min time to listen channel in active scanning. |
133 TUint32 minActiveChannelTime; ///< Min time (TUs) to listen a channel in active direct scanning / during an active connection. |
132 TUint32 maxActiveChannelTime; ///< Max time to listen channel in active scanning. |
134 TUint32 maxActiveChannelTime; ///< Max time (TUs) to listen a channel in active direct scanning / during an active connection. |
133 TUint32 maxTxMSDULifeTime; ///< Max time to send one (fragmented) packet. |
135 TUint32 maxTxMSDULifeTime; ///< Max time to send one (fragmented) packet. |
134 TBool useDefaultSettings; ///< If ETrue default values are being used, EFalse use the user defined values. |
136 TBool useDefaultSettings; ///< If ETrue default values are being used, EFalse use the user defined values. |
135 TUint32 scanExpirationTimer; ///< Time after a new scan is done if required. Otherwise the last scan result is returned. |
137 TUint32 scanExpirationTimer; ///< Time after a new scan is done if required. Otherwise the last scan result is returned. |
136 TUint32 unloadDriverTimer; ///< Time to wait before unload WLAN drivers if no WLAN connection. |
138 TUint32 unloadDriverTimer; ///< Time to wait before unload WLAN drivers if no WLAN connection. |
137 TUint32 roamTimer; ///< Time of how often the roaming conditions is been checked (in microseconds). |
139 TUint32 roamTimer; ///< Time of how often the roaming conditions is been checked (in microseconds). |
190 TUint32 bgScanPeakPeriodStart; ///< The time WLAN background scanning peak period starts. |
192 TUint32 bgScanPeakPeriodStart; ///< The time WLAN background scanning peak period starts. |
191 TUint32 bgScanPeakPeriodEnd; ///< The time WLAN background scanning peak period ends. |
193 TUint32 bgScanPeakPeriodEnd; ///< The time WLAN background scanning peak period ends. |
192 TUint32 bgScanIntervalPeak; ///< WLAN background scan interval for peak period. |
194 TUint32 bgScanIntervalPeak; ///< WLAN background scan interval for peak period. |
193 TUint32 bgScanIntervalOffPeak; ///< WLAN background scan interval for off-peak period. |
195 TUint32 bgScanIntervalOffPeak; ///< WLAN background scan interval for off-peak period. |
194 TBool automaticTrafficStreamMgmt; ///< Whether admission control traffic stream management is done automatically. |
196 TBool automaticTrafficStreamMgmt; ///< Whether admission control traffic stream management is done automatically. |
|
197 TUint32 minActiveBroadcastChannelTime; ///< Min time (TUs) to listen a channel in active broadcast scanning when not connected. |
|
198 TUint32 maxActiveBroadcastChannelTime; ///< Max time (TUs) to listen a channel in active broadcast scanning when not connected. |
195 TUint32 region; ///< Last known WLAN region that is valid for 5 hours. This value is selected based on the information received from the APs or from cellular network (MCC). |
199 TUint32 region; ///< Last known WLAN region that is valid for 5 hours. This value is selected based on the information received from the APs or from cellular network (MCC). |
196 TInt32 regionTimestamp; ///< Timestamp for storing the latest WLAN region (region) to CenRep (minutes from 0AD nominal Gregorian). |
200 TInt32 regionTimestamp; ///< Timestamp for storing the latest WLAN region (region) to CenRep (minutes from 0AD nominal Gregorian). |
197 }; |
201 }; |
198 |
202 |
199 public: // Methods |
203 public: // Methods |