wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/src/wlanconversionutil.cpp
equal
deleted
inserted
replaced
14 * Description: Handles type conversion between adaptation and core layers |
14 * Description: Handles type conversion between adaptation and core layers |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: 86.1.2 % |
19 * %version: 89 % |
20 */ |
20 */ |
21 |
21 |
22 #include <in_sock.h> |
22 #include <in_sock.h> |
23 #include <e32math.h> |
23 #include <e32math.h> |
24 #include <in_iface.h> |
24 #include <in_iface.h> |
99 TSSID& aAmSSID, |
99 TSSID& aAmSSID, |
100 const core_ssid_s& aCoreSSID ) |
100 const core_ssid_s& aCoreSSID ) |
101 { |
101 { |
102 Mem::Copy( aAmSSID.ssid, aCoreSSID.ssid, aCoreSSID.length ); |
102 Mem::Copy( aAmSSID.ssid, aCoreSSID.ssid, aCoreSSID.length ); |
103 aAmSSID.ssidLength = aCoreSSID.length; |
103 aAmSSID.ssidLength = aCoreSSID.length; |
|
104 } |
|
105 |
|
106 // --------------------------------------------------------- |
|
107 // TWlanConversionUtil::ConvertWpaPreSharedKey() |
|
108 // --------------------------------------------------------- |
|
109 // |
|
110 void TWlanConversionUtil::ConvertWpaPreSharedKey( |
|
111 core_wpa_preshared_key_s& aWpaPreSharedKey, |
|
112 const TDesC8& aWspPin ) |
|
113 { |
|
114 Mem::Copy( |
|
115 aWpaPreSharedKey.key_data, |
|
116 aWspPin.Ptr(), |
|
117 aWspPin.Length() ); |
|
118 aWpaPreSharedKey.key_length = aWspPin.Length(); |
104 } |
119 } |
105 |
120 |
106 // --------------------------------------------------------- |
121 // --------------------------------------------------------- |
107 // TWlanConversionUtil::ConvertScanRate() |
122 // TWlanConversionUtil::ConvertScanRate() |
108 // --------------------------------------------------------- |
123 // --------------------------------------------------------- |