wlan_plat/wlan_device_settings_api/inc/wlandevicesettingsinternalcrkeys.h
changeset 0 c40eb8fe8501
child 7 51a71243e562
child 13 ab7247ff6ef9
equal deleted inserted replaced
-1:000000000000 0:c40eb8fe8501
       
     1 /*
       
     2 * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Internal CenRep keys
       
    15 *
       
    16 */
       
    17 
       
    18 /*
       
    19 * %version: 11 %
       
    20 */
       
    21 
       
    22 #ifndef WLANDEVICESETTINGSINTERNALCRKEYS_H
       
    23 #define WLANDEVICESETTINGSINTERNALCRKEYS_H
       
    24 
       
    25 /**
       
    26  * Repository Id
       
    27  */
       
    28 const TUid KCRUidWlanDeviceSettingsRegistryId = {0x101f8e44};
       
    29 
       
    30 /**
       
    31  * The beacon interval in milliseconds to be used when creating an IBSS network.
       
    32  */
       
    33 const TUint32 KWlanBeacon =                              0x00000002;
       
    34 
       
    35 /**
       
    36  * The data rate used for sending probe requests. The value is determined by
       
    37  * multiplying the data rate by two; 1MB/s = 2, 2MB/s = 4 and so forth.
       
    38  */
       
    39 const TUint32 KWlanScanRate =                            0x00000004;
       
    40 
       
    41 /**
       
    42  * The RCPI threshold after which roaming to a better AP is attempted.
       
    43  */
       
    44 const TUint32 KWlanRcpiTrigger =                         0x00000005;
       
    45 
       
    46 /**
       
    47  * The minimum channel time for active scan in milliseconds.
       
    48  */
       
    49 const TUint32 KWlanMinActiveChannelTime =                0x00000006;
       
    50 
       
    51 /**
       
    52  * The maximum channel time for active scan in milliseconds.
       
    53  */
       
    54 const TUint32 KWlanMaxActiveChannelTime =                0x00000007;
       
    55 
       
    56 /**
       
    57  * The maximum amount of time allowed to transmit a packet before
       
    58  * it is discarded. The value is in milliseconds.
       
    59  */
       
    60 const TUint32 KWlanMaxTxMSDULifeTime =                   0x00000008;
       
    61 
       
    62 /**
       
    63  * Defines how many seconds the cached broadcast scan results are valid.
       
    64  */
       
    65 const TUint32 KWlanScanExpirationTimer =                 0x00000009;
       
    66 
       
    67 /**
       
    68  * The activity timeout value after which the WLAN drivers are unloaded.
       
    69  * Note that this setting applies only when the terminal is not connected
       
    70  * to a network. The value is in seconds.
       
    71  */
       
    72 const TUint32 KWlanUnloadDriverTimer =                   0x0000000A;
       
    73 
       
    74 /**
       
    75  * Defines how often roaming to better AP is attempted when the threshold
       
    76  * set in KWlanRcpiTrigger has been crossed. The value is in microseconds.
       
    77  */
       
    78 const TUint32 KWlanRoamTimer =                           0x0000000B;
       
    79 
       
    80 /**
       
    81  * Defines the how much better an AP has to be than the current AP
       
    82  * before roaming is attempted.
       
    83  */
       
    84 const TUint32 KWlanRcpiDifference =                      0x0000000C;
       
    85 
       
    86 /**
       
    87  * The amount of time to wait after a BSS lost indication before
       
    88  * attempting to roam. The value is in microseconds.
       
    89  */
       
    90 const TUint32 KWlanConnRegainTimer =                     0x0000000D;
       
    91 
       
    92 /**
       
    93  * The number of attempts to find suitable network during initial connect.
       
    94  */
       
    95 const TUint32 KWlanMaxTriesToFindNw =                    0x0000000E;
       
    96 
       
    97 /**
       
    98 * KWlanDelayBetweenFindNw 
       
    99 * Defines the delay between attempts to find network.
       
   100 * (microseconds)
       
   101 */
       
   102 const TUint32 KWlanDelayBetweenFindNw =                  0x0000000F;
       
   103 
       
   104 /**
       
   105  * Maximum transfer unit (MTU) size
       
   106  */
       
   107 const TUint32 KWlanMTU =                                 0x00000010;
       
   108 
       
   109 /**
       
   110 * KWlanMinPassiveChannelTime
       
   111 * Minimum channel time for passive scan.
       
   112 */
       
   113 const TUint32 KWlanMinPassiveChannelTime =               0x00000011;
       
   114 
       
   115 /**
       
   116 * KWlanMaxPassiveChannelTime
       
   117 * Maximum channel time for passive scan.
       
   118 */
       
   119 const TUint32 KWlanMaxPassiveChannelTime =               0x00000012;
       
   120 
       
   121 /**
       
   122 * KWlanMaxApFailureCount
       
   123 * Maximum amount of association failures.
       
   124 */
       
   125 const TUint32 KWlanMaxApFailureCount =                   0x00000013;
       
   126 
       
   127 /**
       
   128 * KWlanLongBeaconFindCount
       
   129 * Long beacon interval AP detection.
       
   130 */
       
   131 const TUint32 KWlanLongBeaconFindCount =                 0x00000014;
       
   132 
       
   133 /**
       
   134 * KWlanQosNullFrameInterval
       
   135 * QoS NULL data frame send interval.
       
   136 */
       
   137 const TUint32 KWlanQosNullFrameInterval =                0x00000015;
       
   138 
       
   139 /**
       
   140 * KWlanQosNullFrameTimeout
       
   141 * QoS NULL data frame send timeout.
       
   142 */
       
   143 const TUint32 KWlanQosNullFrameTimeout =                 0x00000016;
       
   144 
       
   145 /**
       
   146  * NULL data frame sending interval when no transmission in microseconds.
       
   147  */
       
   148 const TUint32 KWlanKeepAliveInterval =                   0x00000017;
       
   149 
       
   150 /**
       
   151  * RCPI threshold for direct scan stop in BSS lost.
       
   152  */
       
   153 const TUint32 KWlanScanStopRcpiThreshold =               0x00000018;
       
   154 
       
   155 /**
       
   156  * Minimum RCPI for available IAP.
       
   157  */
       
   158 const TUint32 KWlanMinRcpiForIapAvailability =           0x00000019;
       
   159 
       
   160 /**
       
   161  * Entry timeout for QoS NULL frame sending in microseconds.
       
   162  */
       
   163 const TUint32 KWlanQoSNullFrameEntryTimeout =            0x0000001A;
       
   164 
       
   165 /**
       
   166  * Deauthentications per AP before blacklisting.
       
   167  */
       
   168 const TUint32 KWlanMaxApDeauthenticationCount =          0x0000001B;
       
   169 
       
   170 /**
       
   171  * Deauthentication timeout for calculating AP's deauthentication count
       
   172  * (in microseconds).
       
   173  */
       
   174 const TUint32 KWlanApDeauthenticationTimeout =           0x0000001C;
       
   175 
       
   176 /**
       
   177  * Default value in seconds for BackGround Scan Interval
       
   178  */
       
   179 const TUint32 KWlanDefaultBGScanInterval =               0x0000001D;
       
   180 
       
   181 /**
       
   182  * Whether Broken Power Save note is shown to user.
       
   183  */
       
   184 const TUint32 KWlanShowBrokenPowerSaveNote =             0x0000001E;
       
   185 
       
   186 /**
       
   187  * Maximum amount of microseconds to sleep when waking up on DTIMs.
       
   188  */
       
   189 const TUint32 KWlanMaxDtimSkipInterval =                 0x0000001F;
       
   190 
       
   191 /**
       
   192  * Time interval in microseconds after which transition from Active mode 
       
   193  * to Light PS mode is considered.
       
   194  */
       
   195 const TUint32 KWlanPsActiveToLightTimeout =              0x00000020;
       
   196 
       
   197 /**
       
   198  * Frame count threshold used when considering transition from Active
       
   199  * to Light PS mode.
       
   200  */
       
   201 const TUint32 KWlanPsActiveToLightThreshold =            0x00000021;
       
   202 
       
   203 /**
       
   204  * Time interval in microseconds after which the frame counter used when 
       
   205  * considering transition from Light PS to Active mode is reset.
       
   206  */
       
   207 const TUint32 KWlanPsLightToActiveTimeout =              0x00000022;
       
   208 
       
   209 /**
       
   210  * Frame count threshold used when considering transition from Light PS
       
   211  * to Active mode.
       
   212  */
       
   213 const TUint32 KWlanPsLightToActiveThreshold =            0x00000023;
       
   214 
       
   215 /**
       
   216  * Time interval in microseconds after which transition from Light PS mode 
       
   217  * to Deep PS mode is considered.
       
   218  */
       
   219 const TUint32 KWlanPsLightToDeepTimeout =                0x00000024;
       
   220 
       
   221 /**
       
   222  * Frame count threshold used when considering transition from Light PS
       
   223  * to Deep PS mode.
       
   224  */
       
   225 const TUint32 KWlanPsLightToDeepThreshold =              0x00000025;
       
   226 
       
   227 /**
       
   228  * Received frame payload length (in bytes) threshold in U-APSD network for
       
   229  * Best Effort Access Category.
       
   230  */
       
   231 const TUint32 KWlanPsUapsdRxFrameLengthThreshold =       0x00000026;
       
   232 
       
   233 /**
       
   234  * The minimum delay between RCPI roam checks (in microseconds).
       
   235  */
       
   236 const TUint32 KWlanRcpiRoamMinInterval =                 0x00000027;
       
   237 
       
   238 /**
       
   239  * The maximum delay between RCPI roam checks (in microseconds).
       
   240  */
       
   241 const TUint32 KWlanRcpiRoamMaxInterval =                 0x00000028;
       
   242 
       
   243 /**
       
   244  * Defines how many times an RCPI roam check interval value is used
       
   245  * until the next interval value is calculated.
       
   246  */
       
   247 const TUint32 KWlanRcpiRoamAttemptsPerInterval =         0x00000029;
       
   248 
       
   249 /**
       
   250  * The factor the current interval value is multiplied by to
       
   251  * get the next interval value.
       
   252  */
       
   253 const TUint32 KWlanRcpiRoamNextIntervalFactor =          0x0000002A;
       
   254 
       
   255 /**
       
   256  * The value that is added to the interval value that has been
       
   257  * multiplied by KWlanRcpiRoamNextIntervalFactor.
       
   258  */
       
   259 const TUint32 KWlanRcpiRoamNextIntervalAddition =        0x0000002B;
       
   260 
       
   261 /**
       
   262  * Defines how long beacons/probe responses are stored in
       
   263  * the internal scan list (in microseconds).
       
   264  */
       
   265 const TUint32 KWlanScanListExpirationTime =              0x0000002C;
       
   266 
       
   267 /**
       
   268  * Defines how many Voice AC packets must be sent during a certain period
       
   269  * before QoS NULL data frame sending is started.
       
   270  */
       
   271 const TUint32 KWlanQoSNullFrameEntryTxCount =            0x0000002D;
       
   272 
       
   273 /**
       
   274  * The signal predictor algorithm target RCPI value for roam indication.
       
   275  */
       
   276 const TUint32 KWlanSpRcpiTarget =                        0x0000002E;
       
   277 
       
   278 /**
       
   279  * The signal predictor algorithm target time for roam indication (in microseconds).
       
   280  */
       
   281 const TUint32 KWlanSpTimeTarget =                        0x0000002F;
       
   282 
       
   283 /**
       
   284  * The minimum time interval for consecutive roam indications
       
   285  * from the signal predictor algorithm (in microseconds).
       
   286  */ 
       
   287 const TUint32 KWlanSpMinIndicationInterval =             0x00000030;
       
   288 
       
   289 /**
       
   290  * The minimum delay between BSS lost roam attempts (in microseconds).
       
   291  */
       
   292 const TUint32 KWlanBssLostRoamMinInterval =              0x00000031;
       
   293 
       
   294 /**
       
   295  * The maximum delay between BSS lost roam attempts (in microseconds).
       
   296  */
       
   297 const TUint32 KWlanBssLostRoamMaxInterval =              0x00000032;
       
   298 
       
   299 /**
       
   300  * Defines how many times a BSS lost roam interval value is used
       
   301  * until the next interval value is calculated.
       
   302  */
       
   303 const TUint32 KWlanBssLostRoamAttemptsPerInterval =      0x00000033;
       
   304 
       
   305 /**
       
   306  * The factor the current interval value is multiplied by to
       
   307  * get the next interval value.
       
   308  */
       
   309 const TUint32 KWlanBssLostRoamNextIntervalFactor =       0x00000034;
       
   310 
       
   311 /**
       
   312  * The value that is added to the interval value that has been
       
   313  * multiplied by KWlanBssLostRoamNextIntervalFactor.
       
   314  */
       
   315 const TUint32 KWlanBssLostRoamNextIntervalAddition =     0x00000035;
       
   316 
       
   317 /**
       
   318  * Defines how many attempts are made to find a suitable AP before
       
   319  * giving up during BSS lost.
       
   320  */
       
   321 const TUint32 KWlanBssLostRoamMaxTriesToFindNw =         0x00000036;
       
   322 
       
   323 /**
       
   324  * Defines how many microseconds to wait for traffic stream request response.
       
   325  */
       
   326 const TUint32 KWlanTrafficStreamCreationTimeout =        0x00000037;
       
   327 
       
   328 /**
       
   329  * The number of lost consecutive beacons after which beacon lost event
       
   330  * is indicated.
       
   331  */
       
   332 const TUint32 KWlanBeaconLostThreshold =                 0x00000038;
       
   333 
       
   334 /**
       
   335  * The number of lost consecutive beacons after which beacon lost event
       
   336  * is indicated during an active Bluetooth connection.
       
   337  */
       
   338 const TUint32 KWlanBtBeaconLostThreshold =               0x00000039;
       
   339 
       
   340 /**
       
   341  * The number of lost consecutive packets after which TX failure event
       
   342  * is indicated.
       
   343  */
       
   344 const TUint32 KWlanTxFailThreshold =                     0x0000003A;
       
   345 
       
   346 /**
       
   347  * The number of lost consecutive packets after which TX failure event
       
   348  * is indicated during an active Bluetooth connection.
       
   349  */
       
   350 const TUint32 KWlanBtTxFailThreshold =                   0x0000003B;
       
   351 
       
   352 /**
       
   353  * The number of seconds after which power save is enabled during
       
   354  * the initial association.
       
   355  */
       
   356 const TUint32 KWlanPowerSaveDelay =                      0x0000003C;
       
   357 
       
   358 /**
       
   359  * The amount of seconds region information is valid.
       
   360  */
       
   361 const TUint32 KWlanRegionExpirationTime =                0x0000003D;
       
   362 
       
   363 /**
       
   364  * Minimum interval for accepting subsequent RRM Beacon Requests
       
   365  * (in microseconds).
       
   366  */
       
   367 const TUint32 KWlanRrmMinMeasurementInterval =           0x0000003E;
       
   368 
       
   369 /**
       
   370  * Current PSM server mode where possible values are:
       
   371  * 0 = Normal mode
       
   372  * 1 = Power save
       
   373  * 2 = Partial power save
       
   374  */
       
   375 const TUint32 KWlanPsmSrvMode =                          0x0000003F;
       
   376 
       
   377 /**
       
   378  * Peak start time for WLAN background scan specifying hours and minutes.
       
   379  * Valid range is 0 to 2359 meaning 00:00 o'clock to 23:59 o'clock.
       
   380  */
       
   381 const TUint32 KWlanBgScanPeakPeriodStart =               0x00000040;
       
   382 
       
   383 /**
       
   384  * Peak end time for WLAN background scan specifying hours and minutes.
       
   385  * Valid range is 0 to 2359 meaning 00:00 o'clock to 23:59 o'clock.
       
   386  */
       
   387 const TUint32 KWlanBgScanPeakPeriodEnd =                 0x00000041;
       
   388 
       
   389 /**
       
   390  * WLAN background scan interval in seconds for peak period.
       
   391  */
       
   392 const TUint32 KWlanBgScanIntervalPeakPeriod =            0x00000042;
       
   393 
       
   394 /**
       
   395  * WLAN background scan interval in seconds for off-peak period.
       
   396  */
       
   397 const TUint32 KWlanBgScanIntervalOffPeakPeriod =         0x00000043;
       
   398 
       
   399 /**
       
   400  * Whether admission control traffic stream management is done automatically.
       
   401  */
       
   402 const TUint32 KWlanAutomaticTrafficStreamMgmt =          0x00000044;
       
   403 
       
   404 /**
       
   405  * Cached WLAN region where possible values are: 
       
   406  * 0 = Region is unknown 
       
   407  * 1 = Region is ETSI 
       
   408  * 2 = Region is FCC.
       
   409  */
       
   410 const TUint32 KWlanRegion =                              0x00000050;
       
   411 
       
   412 /**
       
   413  * Timestamp for cached WLAN region (minutes from 0AD nominal Gregorian).
       
   414  */
       
   415 const TInt32 KWlanRegionTimestamp =                      0x00000051;
       
   416 
       
   417 
       
   418 #endif      // WLANDEVICESETTINGSINTERNALCRKEYS_H