char bssid[NET_MAX_MAC_ADDR_LEN+1]; /** Basic service set identification */
unsigned char Strength; /** Strength : between 0 and 100 */
unsigned int frequency; /** Frequency band(MHz) */
- unsigned int max_rate; /** Maximum speed of the line(bps) */
+ int max_rate; /** Maximum speed of the line(Mbps) */
char PassphraseRequired; /** If a passphrase has been set already or if no
passphrase is needed, then this property will
be set to FALSE. */
Name: capi-network-wifi-manager
Summary: Network Wi-Fi library in TIZEN C API
-Version: 1.0.39
+Version: 1.0.40
Release: 1
Group: System/Network
License: Apache-2.0
if (value != NULL)
g_strlcpy(ProfInfo->bssid, value, NET_MAX_MAC_ADDR_LEN);
- } else if (g_strcmp0(key, "MaxRate") == 0) {
- ProfInfo->max_rate = (unsigned int)g_variant_get_uint32(var);
+ } else if (g_strcmp0(key, "MaxSpeed") == 0) {
+ ProfInfo->max_rate = g_variant_get_int32(var);
} else if (g_strcmp0(key, "Frequency") == 0) {
ProfInfo->frequency = (unsigned int)g_variant_get_uint16(var);
}
net_profile_info_s *profile_info = ap;
- *max_speed = (int)profile_info->max_rate / 1000000;
+ *max_speed = profile_info->max_rate;
__NETWORK_CAPI_FUNC_EXIT__;