wlanutilities/wlanqtutilities/base/inc/wlanqtutilscommon.h
changeset 38 2dc6da6fb431
parent 29 dbe86d96ce5b
child 41 a87deff717bc
child 45 d9ec2b8c6bad
--- a/wlanutilities/wlanqtutilities/base/inc/wlanqtutilscommon.h	Thu May 27 13:59:00 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,101 +0,0 @@
-/*
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-#ifndef WLANQTUTILSCOMMON_H
-#define WLANQTUTILSCOMMON_H
-
-#ifdef BUILD_WLANQTUTILITIES_DLL
-#define WLANQTUTILITIESDLL_EXPORT Q_DECL_EXPORT
-#else
-#define WLANQTUTILITIESDLL_EXPORT Q_DECL_IMPORT
-#endif
-
-// Maximum length of WLAN SSID (limit also for number of characters for user input)
-static const int KMaxSsidLen = 32;
-// Maximum length of WEP key
-static const int KMaxWEPKeyLen = 64;
-// Maximum length of WPA key
-static const int KMaxWPAKeyLen = 256;
-
-/**
- * Bearer type.
- */
-enum WlanQtUtilsBearerType {
-    WlanQtUtilsBearerTypeNone = 0,     ///< None of the bearer types.
-    WlanQtUtilsBearerTypeCellular ,    ///< Cellular (2G, 3G, 3.5G) bearer type.
-    WlanQtUtilsBearerTypeWlan          ///< WLAN bearer type.
-};
-
-/**
- * Connection status.
- */
-enum WlanQtUtilsConnectionStatus {
-    WlanQtUtilsConnectionStatusNone = 0,      ///< None of the connection statuses.
-    WlanQtUtilsConnectionStatusConnecting,    ///< Connecting.
-    WlanQtUtilsConnectionStatusConnected,     ///< Connected.
-    WlanQtUtilsConnectionStatusDisconnected   ///< Disconnected.
-};
-
-/**
- * Signal strength category boundaries in dB (absolute value).
- * Smaller value means better signal.
- */
-// TODO: WLAN signal level values valid are copied from 08wk41 Sniffer. OK?
-// (WINS emulator gives just 0 which is equal to "Absolute max"...)
-enum
-{
-    WlanQtUtilsWlanSignalStrengthAbsoluteMax = 0, ///< Absolute maximum signal strength.
-    WlanQtUtilsWlanSignalStrengthMax = 60,        ///< Maximum signal strength.
-    WlanQtUtilsWlanSignalStrengthGood = 74,       ///< Good signal strength.
-    WlanQtUtilsWlanSignalStrengthLow = 87,        ///< signal strength.
-    WlanQtUtilsWlanSignalStrengthMin = 100,       ///< Minimum signal strength.
-    WlanQtUtilsWlanSignalUnavailable = 9999,      ///< Signal is unavailable.
-};
-
-/** WLAN signal is unknown. */
-const int WlanQtUtilsWlanSignalUnknown = 1000000;
-
-/** WLAN transmit power is unknown. */
-const unsigned WlanQtUtilsWlanTransmitPowerUnknown = 0xFFFFFFFF;
-
-/**
- * WLAN security modes.
- * Mapping functions exist for reading and writing these values
- * from / to ConnMon and CMM.
- */
-enum WlanQtUtilsWlanSecMode
-{
-    WlanQtUtilsWlanSecModeNone    = 100,    ///< None of the security modes.
-    WlanQtUtilsWlanSecModeOpen    = 101,    ///< Open security mode.
-    WlanQtUtilsWlanSecModeWep     = 102,    ///< WEP security mode.
-    WlanQtUtilsWlanSecMode802_1x  = 103,    ///< 802.1x security mode.
-    WlanQtUtilsWlanSecModeWpa     = 104,    ///< WPA security mode.
-    WlanQtUtilsWlanSecModeWpa2    = 105     ///< WPA@ security mode.
-};
-
-/**
- * WLAN connection modes.
- */
-enum WlanQtUtilsWlanConnMode
-{
-    WlanQtUtilsWlanConnModeNone           = 200,    ///< None of the connection modes.
-    WlanQtUtilsWlanConnModeInfraStructure = 201,    ///< Infrastructure connection mode.
-    WlanQtUtilsWlanConnModeAdHoc          = 202,    ///< Adhoc connection mode.
-    WlanQtUtilsWlanConnModeSecureInfra    = 203,    ///< Secure infrastructure connection mode.´
-};
-
-#endif // WLANQTUTILSCOMMON_H