wlanutilities/wlanqtutilities/base/inc/wlanqtutilsap.h
changeset 60 822a45792fdd
parent 53 bdc64aa9b954
equal deleted inserted replaced
53:bdc64aa9b954 60:822a45792fdd
    53     
    53     
    54     /*!
    54     /*!
    55         Configuration IDs that can be read and set in this class.
    55         Configuration IDs that can be read and set in this class.
    56 
    56 
    57         ConfID's available for scan results:
    57         ConfID's available for scan results:
       
    58         - ConfIdName
    58         - ConfIdSsid
    59         - ConfIdSsid
    59         - ConfIdBssid
    60         - ConfIdBssid
    60         - ConfIdSignalStrength
    61         - ConfIdSignalStrength
    61         - ConfIdConnectionMode
    62         - ConfIdConnectionMode
    62         - ConfIdSecurityMode
    63         - ConfIdSecurityMode
    63         - ConfIdWpaPskUse
    64         - ConfIdWpaPskUse
    64         - ConfIdWpsSupported
    65         - ConfIdWpsSupported
    65 
    66 
    66         ConfID's for IAP creation and updates, these are
    67         ConfID's for IAP creation and updates, these are
    67         mandatory for all security modes: 
    68         mandatory for all security modes: 
       
    69         - ConfIdName
    68         - ConfIdSsid
    70         - ConfIdSsid
    69         - ConfIdConnectionMode
    71         - ConfIdConnectionMode
    70         - ConfIdSecurityMode
    72         - ConfIdSecurityMode
    71         - ConfIdWepKey1     (Empty if not used) 
    73         - ConfIdWepKey1     (Empty if not used) 
    72         - ConfIdWepKey2     (Empty if not used)
    74         - ConfIdWepKey2     (Empty if not used)
    75         - ConfIdWepDefaultIndex
    77         - ConfIdWepDefaultIndex
    76         - ConfIdWpaPskUse
    78         - ConfIdWpaPskUse
    77         - ConfIdWpaPsk      (Empty if not used)
    79         - ConfIdWpaPsk      (Empty if not used)
    78         - ConfIdHidden
    80         - ConfIdHidden
    79         - ConfIdWlanScanSSID
    81         - ConfIdWlanScanSSID
       
    82         
       
    83         Values available for IAPs when reading:
       
    84         - ConfIdIapId
       
    85         - ConfIdName
       
    86         - ConfIdSsid
       
    87         - ConfIdNetworkId
       
    88         - ConfIdConnectionMode
       
    89         - ConfIdSecurityMode
       
    90         - ConfIdWpaPskUse
    80     */
    91     */
    81     enum ConfId {
    92     enum ConfId {
    82         //! QString: WLAN Network Name (SSID)
    93         //! QString: Name
    83         ConfIdSsid = 0,
    94         ConfIdName = 1,
       
    95         //! QByteArray: WLAN Network Name (SSID)
       
    96         ConfIdSsid = 2,
    84         //! QByteArray: Basic Service Set Identifier
    97         //! QByteArray: Basic Service Set Identifier
    85         ConfIdBssid = 1,
    98         ConfIdBssid = 3,
    86         //! int: signal strength in RSSI (dBm)
    99         //! int: signal strength in RSSI (dBm)
    87         ConfIdSignalStrength = 2,
   100         ConfIdSignalStrength = 4,
    88         //! int: (CMManagerShim::WlanNetMode)
   101         //! int: (CMManagerShim::WlanNetMode)
    89         ConfIdConnectionMode = 3,
   102         ConfIdConnectionMode = 5,
       
   103         //! int: IAP ID
       
   104         ConfIdIapId = 6,
       
   105         //! int: Network ID
       
   106         ConfIdNetworkId = 7,
    90         //! int: (CMManagerShim::WlanSecMode)
   107         //! int: (CMManagerShim::WlanSecMode)
    91         ConfIdSecurityMode = 4,
   108         ConfIdSecurityMode = 8,
    92         //! bool: true - WPA PSK, false - WPA EAP
   109         //! bool: true - WPA PSK, false - WPA EAP
    93         ConfIdWpaPskUse = 5,
   110         ConfIdWpaPskUse = 9,
    94         //! QString: Pre-Shared Key for WPA
   111         //! QString: Pre-Shared Key for WPA
    95         //! Length: 8-63 - Ascii key
   112         //! Length: 8-63 - Ascii key
    96         //! Length: 64 - Hex key
   113         //! Length: 64 - Hex key
    97         ConfIdWpaPsk = 6,
   114         ConfIdWpaPsk = 10,
    98         //! QString: WEP Key for index 1:
   115         //! QString: WEP Key for index 1:
    99         //! HEX: 
   116         //! HEX: 
   100         //! - 64 bit: allowed key length = 10
   117         //! - 64 bit: allowed key length = 10
   101         //! - 128 bit: allowed key length = 26
   118         //! - 128 bit: allowed key length = 26
   102         //! 
   119         //! 
   103         //! ASCII:
   120         //! ASCII:
   104         //! - 64 bit: allowed key length = 5   
   121         //! - 64 bit: allowed key length = 5   
   105         //! - 128 bit: allowed key length = 13
   122         //! - 128 bit: allowed key length = 13
   106         ConfIdWepKey1 = 7,
   123         ConfIdWepKey1 = 11,
   107         //! QString: WEP Key for index 2
   124         //! QString: WEP Key for index 2
   108         ConfIdWepKey2 = 8,
   125         ConfIdWepKey2 = 12,
   109         //! QString: WEP Key for index 3
   126         //! QString: WEP Key for index 3
   110         ConfIdWepKey3 = 9,
   127         ConfIdWepKey3 = 13,
   111         //! QString: WEP Key for index 4
   128         //! QString: WEP Key for index 4
   112         ConfIdWepKey4 = 10,
   129         ConfIdWepKey4 = 14,
   113         //! int: (CMManagerShim::WlanWepKeyIndex): Default WEP Key index
   130         //! int: (CMManagerShim::WlanWepKeyIndex): Default WEP Key index
   114         ConfIdWepDefaultIndex = 11,
   131         ConfIdWepDefaultIndex = 15,
   115         //! bool: Is WLAN hidden (CMManagerShim::CmHidden).
   132         //! bool: Is WLAN hidden (CMManagerShim::CmHidden).
   116         ConfIdHidden = 12,
   133         ConfIdHidden = 16,
   117         //! bool: Does WLAN AP need explicit scanning (CMManagerShim::WlanScanSSID)
   134         //! bool: Does WLAN AP need explicit scanning (CMManagerShim::WlanScanSSID)
   118         ConfIdWlanScanSSID = 13,
   135         ConfIdWlanScanSSID = 17,
   119         //! bool: true - Wifi Protected setup is supported, false - not
   136         //! bool: true - Wifi Protected setup is supported, false - not
   120         ConfIdWpsSupported = 14
   137         ConfIdWpsSupported = 18,
   121     };
   138     };
   122 
   139 
   123     /*!
   140     /*!
   124         Function pointer type for string comparison operation customization.
   141         Function pointer type for string comparison operation customization.
   125         Used for AP comparison in \a compare.
   142         Used for AP comparison in \a compare.