diff options
author | Mayank Haarit <mayank.h@samsung.com> | 2018-04-20 20:57:32 +0530 |
---|---|---|
committer | Mayank Haarit <mayank.h@samsung.com> | 2018-04-20 15:39:29 +0000 |
commit | 6c73f51b34fa18a1a9b4582f0e1dfcaee8f2fa5e (patch) | |
tree | c1df62ff68b833ec3a00f05617bb77cbdf85c588 /plugins/wifi.c | |
parent | dce2054780e8142aebe5a7d11c4751040437f7ec (diff) | |
download | connman-6c73f51b34fa18a1a9b4582f0e1dfcaee8f2fa5e.tar.gz connman-6c73f51b34fa18a1a9b4582f0e1dfcaee8f2fa5e.tar.bz2 connman-6c73f51b34fa18a1a9b4582f0e1dfcaee8f2fa5e.zip |
Add BSSID , signal strength and frequency list of the APssubmit/tizen/20180424.084858accepted/tizen/unified/20180425.062309
This patch sends the list of BSSID, signal strength and
frequency of an APs having same SSID and Security type.
Change-Id: I368d37de310687ca173418dfad91fae7082b2357
Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
Diffstat (limited to 'plugins/wifi.c')
-rwxr-xr-x | plugins/wifi.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c index 91732bd0..aad3b2cc 100755 --- a/plugins/wifi.c +++ b/plugins/wifi.c @@ -3509,6 +3509,8 @@ static void network_added(GSupplicantNetwork *supplicant_network) g_supplicant_network_get_keymgmt(supplicant_network)); connman_network_set_bool(network, "WiFi.HS20AP", g_supplicant_network_is_hs20AP(supplicant_network)); + connman_network_set_bssid_list(network, + (GSList *)g_supplicant_network_get_bssid_list(supplicant_network)); #endif connman_network_set_available(network, true); connman_network_set_string(network, "WiFi.Mode", mode); @@ -3597,6 +3599,7 @@ static void network_changed(GSupplicantNetwork *network, const char *property) uint16_t frequency; bool wps; const unsigned char *country_code; + GSList *bssid_list; #endif interface = g_supplicant_network_get_interface(network); @@ -3631,6 +3634,8 @@ static void network_changed(GSupplicantNetwork *network, const char *property) connman_network_set_bool(connman_network, "WiFi.WPS", wps); country_code = g_supplicant_network_get_countrycode(network); connman_network_set_countrycode(connman_network, country_code); + bssid_list = (GSList *)g_supplicant_network_get_bssid_list(network); + connman_network_set_bssid_list(connman_network, bssid_list); #endif } |