+net-config (0.1.75) unstable; urgency=low
+
+ * Modify background scan policy
+ * disallow to request bg scan in case the state is connected and rssi is below level 2
+ * Git: slp/pkgs/n/net-config
+ * Tag: net-config_0.1.75
+
+ -- Sanghoon Cho <sanghoon80.cho@samsung.com> Fri, 13 Apr 2012 16:37:55 +0900
+
net-config (0.1.74) unstable; urgency=low
* Fix Wi-Fi power bug when Wi-Fi direct is on
Name: net-config
Summary: TIZEN Network Configuration Module
-Version: 0.1.74
+Version: 0.1.75
Release: 1
Group: System/Network
License: Apache License Version 2.0
*/
#include <glib.h>
+#include <vconf.h>
+#include <vconf-keys.h>
#include "log.h"
#include "dbus.h"
#include "util.h"
#include "wifi.h"
+#include "wifi-state.h"
#include "wifi-background-scan.h"
#define SCAN_INITIAL_DELAY 10
NULL
};
+ int snr_level = 0;
+
+ vconf_get_int(VCONFKEY_WIFI_STRENGTH, &snr_level);
+ if (netconfig_wifi_state_get_service_state() == NETCONFIG_WIFI_CONNECTED)
+ if (__netconfig_wifi_bgscan_get_mode() == WIFI_BGSCAN_MODE_EXPONENTIAL)
+ if (snr_level > 2)
+ return FALSE;
+
+ if (netconfig_wifi_state_get_service_state() == NETCONFIG_WIFI_CONNECTING)
+ return FALSE;
+
param_array[0] = path;
param_array[1] = request;
param_array[2] = param1;