summaryrefslogtreecommitdiffstats
path: root/tdecore/tdenetworkconnections.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/tdenetworkconnections.cpp')
-rw-r--r--tdecore/tdenetworkconnections.cpp42
1 files changed, 41 insertions, 1 deletions
diff --git a/tdecore/tdenetworkconnections.cpp b/tdecore/tdenetworkconnections.cpp
index 70d528e9b..38d8a4e28 100644
--- a/tdecore/tdenetworkconnections.cpp
+++ b/tdecore/tdenetworkconnections.cpp
@@ -323,6 +323,27 @@ TDENetworkIPConfiguration::~TDENetworkIPConfiguration() {
}
/*================================================================================================*/
+/* TDENetworkWiFiSecurityConfiguration */
+/*================================================================================================*/
+
+TDENetworkWiFiSecurityConfiguration::TDENetworkWiFiSecurityConfiguration() {
+ valid = false;
+ secretsValid = false;
+ wepKeyIndex = 0;
+ keyType = TDENetworkWiFiKeyType::Other;
+ authType = TDENetworkWiFiAuthType::Other;
+ wpaVersion = TDENetworkWiFiWPAVersion::Any;
+ wepKeyFlags = TDENetworkPasswordHandlingFlags::None;
+ pskFlags = TDENetworkPasswordHandlingFlags::None;
+ leapPasswordFlags = TDENetworkPasswordHandlingFlags::None;
+ wepKeyType = TDENetworkWepKeyType::Hexadecimal;
+}
+
+TDENetworkWiFiSecurityConfiguration::~TDENetworkWiFiSecurityConfiguration() {
+ //
+}
+
+/*================================================================================================*/
/* TDENetworkWiFiDeviceInfo */
/*================================================================================================*/
@@ -377,6 +398,7 @@ TDENetworkWiFiAPInfo::~TDENetworkWiFiAPInfo() {
/*================================================================================================*/
TDENetworkConnection::TDENetworkConnection() {
+ readOnly = false;
autoConnect = false;
fullDuplex = true;
requireIPV4 = false;
@@ -401,11 +423,29 @@ TDEWiredEthernetConnection::~TDEWiredEthernetConnection() {
}
/*================================================================================================*/
+/* TDEWiredInfinibandConnection */
+/*================================================================================================*/
+
+TDEWiredInfinibandConnection::TDEWiredInfinibandConnection() : TDENetworkConnection() {
+ //
+}
+
+TDEWiredInfinibandConnection::~TDEWiredInfinibandConnection() {
+ //
+}
+
+/*================================================================================================*/
/* TDEWiFiConnection */
/*================================================================================================*/
TDEWiFiConnection::TDEWiFiConnection() : TDENetworkConnection() {
- //
+ operatingMode = TDEWiFiMode::Other;
+ bandRestriction = TDEWiFiFrequencyBand::None;
+ channelRestriction = -1;
+ bitRateRestriction = -1;
+ powerRestriction = -1;
+ isHiddenNetwork = false;
+ securityRequired = false;
}
TDEWiFiConnection::~TDEWiFiConnection() {