ipcm_plat/commsdat_wlan_api/inc/wlancdbcols.h
changeset 0 5a93021fdf25
equal deleted inserted replaced
-1:000000000000 0:5a93021fdf25
       
     1 /*
       
     2 * Copyright (c) 2004 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: 
       
    15 *      Database table and column names for WLAN related Commsdb data.   
       
    16 *      
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef WLAN_CDB_COLS_H
       
    22 #define WLAN_CDB_COLS_H
       
    23 
       
    24 // ---------------------------------------------------------
       
    25 //
       
    26 // WLAN Service Table
       
    27 //
       
    28 // ---------------------------------------------------------
       
    29 
       
    30 #define WLAN_SERVICE                _S("WLANServiceTable")
       
    31 
       
    32 // WLAN Table rows
       
    33 #define WLAN_SERVICE_ID             _S("ServiceID")                 // to which iap these settings belong to
       
    34 
       
    35 // Columns for WLAN security table
       
    36 #define WLAN_CONNECTION_MODE        _S("WlanConnectionMode")
       
    37 #define NU_WLAN_SSID                _S("WlanSSID")
       
    38 #define NU_WLAN_WEP_KEY1            _S("WlanWepKey1InHex")
       
    39 #define NU_WLAN_WEP_KEY2            _S("WlanWepKey2InHex")
       
    40 #define NU_WLAN_WEP_KEY3            _S("WlanWepKey3InHex")
       
    41 #define NU_WLAN_WEP_KEY4            _S("WlanWepKey4InHex")
       
    42 #define WLAN_WEP_KEY1_FORMAT        _S("WlanWepKey1Format")
       
    43 #define WLAN_WEP_KEY2_FORMAT        _S("WlanWepKey2Format")
       
    44 #define WLAN_WEP_KEY3_FORMAT        _S("WlanWepKey3Format")
       
    45 #define WLAN_WEP_KEY4_FORMAT        _S("WlanWepKey4Format")
       
    46 #define WLAN_WEP_INDEX              _S("WlanWepKeyIndex")        
       
    47 
       
    48 #define WLAN_SECURITY_MODE          _S("WlanSecurityMode")          // Encryption type
       
    49 #define NU_WLAN_AUTHENTICATION_MODE _S("WlanAuthenticationMode")    // authentication type, none, wep, wpa, wpapresharedkey
       
    50 
       
    51 #define WLAN_ENABLE_WPA_PSK         _S("UseWpaPreSharedKey")
       
    52 #define WLAN_WPA_PRE_SHARED_KEY     _S("WlanWpaPreSharedKey")       // Shared key
       
    53 #define WLAN_WPA_KEY_LENGTH         _S("WlanWpaKeyLength")          // Key length
       
    54 #define WLAN_EAPS                   _S("WlanEapList")
       
    55 #define WLAN_SCAN_SSID              _S("WlanScanSSID")
       
    56 #define NU_WLAN_CHANNEL_ID          _S("WlanChannelId")
       
    57 #define WLAN_USED_SSID              _S("WlanUsedSSID")
       
    58 
       
    59 #define WLAN_ALLOW_SSID_ROAMING     _S("WlanAllowSSIDRoaming")
       
    60 
       
    61 #define WLAN_ENABLED_EAPS           _S("WlanEnabledEapList")
       
    62 #define WLAN_DISABLED_EAPS          _S("WlanDisabledEapList")
       
    63 
       
    64 
       
    65 #define KWlanWpaPskLength           64
       
    66 
       
    67 #define WLAN_WEP_NOT_IN_USE         -1
       
    68 
       
    69 
       
    70 // ---------------------------------------------------------
       
    71 //
       
    72 // WLAN Device Settings
       
    73 //
       
    74 // ---------------------------------------------------------
       
    75 // Ids for Wlan settings type.
       
    76 #define KWlanDefaultSettings                    0
       
    77 #define KWlanUserSettings                       1
       
    78 
       
    79 #define WLAN_DEVICE_SETTINGS                    _S("WLANDeviceTable")
       
    80 #define WLAN_TABLE_VERSION                      _S("Version")
       
    81 
       
    82 #define WLAN_DEVICE_SETTINGS_TYPE               _S("WlanDeviceSettingsType")
       
    83 
       
    84 #define WLAN_BG_SCAN_INTERVAL                   _S("WlanBgScanInterval")
       
    85 #define WLAN_SAVED_BG_SCAN_INTERVAL             _S("WlanSavedBgScanInterval")
       
    86 
       
    87 #define WLAN_USE_DEFAULT_SETTINGS               _S("WlanUseDefaultSettings")
       
    88 #define WLAN_LONG_RETRY                         _S("WlanLongRetry")
       
    89 #define WLAN_SHORT_RETRY                        _S("WlanShortRetry")
       
    90 #define WLAN_RTS_THRESHOLD                      _S("WlanRTS")
       
    91 #define NU_WLAN_TX_POWER_LEVEL                  _S("WlanTxPowerLevel")
       
    92 #define WLAN_ALLOW_RADIO_MEASUREMENTS           _S("AllowRadioMeasurements")
       
    93 #define WLAN_POWER_MODE                         _S("WlanPowerMode")
       
    94 
       
    95 
       
    96 
       
    97 // ---------------------------------------------------------
       
    98 //
       
    99 // WLAN Secondary SSID table
       
   100 //
       
   101 // ---------------------------------------------------------
       
   102 // table name
       
   103 #define WLAN_SECONDARY_SSID                     _S("SecondarySSID")
       
   104 // table fields
       
   105 #define WLAN_SEC_SSID_SERVICE_ID                _S("ServiceId")
       
   106 #define WLAN_SEC_SSID_NAME                      _S("SecSSIDName")
       
   107 #define WLAN_SEC_SSID_SCANNED_SSID              _S("ScannedSSID")
       
   108 #define WLAN_SEC_SSID_USED_SSID                 _S("UsedSSID")
       
   109 #define WLAN_SEC_SSID_ID                        _S("SecSSIDID")
       
   110 
       
   111 // ---------------------------------------------------------
       
   112 //
       
   113 // Destination Network table
       
   114 //
       
   115 // ---------------------------------------------------------
       
   116 // table name
       
   117 #define DEST_NETWORK                            _S("DestinationNetwork")
       
   118 // table fields
       
   119 #define DEST_NW_SHOW_ROAMING                    _S("ShowRoaming")
       
   120 #define DEST_NW_ACCESS_NWID                     _S("AccessNWID")
       
   121 
       
   122 
       
   123 #endif