summaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
authorNiraj Kumar Goit <niraj.g@samsung.com>2016-06-09 22:16:47 +0530
committerNiraj Kumar Goit <niraj.g@samsung.com>2016-06-09 22:16:47 +0530
commitfc668cd071839f5788edf26c845a111d6379edcc (patch)
tree5120e6603f0303a23c190547c2052ed71e1aa89a /src/service.c
parent2f9471ef5ab7f0bad3a8dcb2ad31d95a6daac9e1 (diff)
downloadconnman-fc668cd071839f5788edf26c845a111d6379edcc.tar.gz
connman-fc668cd071839f5788edf26c845a111d6379edcc.tar.bz2
connman-fc668cd071839f5788edf26c845a111d6379edcc.zip
[SPIN] service: extend wifi ext info for passpoint.
Change-Id: Id4c411292b000280748aa98e2667efa7ca48bfd6 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Diffstat (limited to 'src/service.c')
-rwxr-xr-xsrc/service.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index 49312166..db8953c6 100755
--- a/src/service.c
+++ b/src/service.c
@@ -2718,11 +2718,13 @@ static void append_wifi_ext_info(DBusMessageIter *dict,
unsigned int maxrate;
uint16_t frequency;
const char *enc_mode;
+ gboolean passpoint;
bssid = connman_network_get_bssid(network);
maxrate = connman_network_get_maxrate(network);
frequency = connman_network_get_frequency(network);
enc_mode = connman_network_get_enc_mode(network);
+ passpoint = connman_network_get_is_hs20AP(network);
snprintf(bssid_str, WIFI_BSSID_STR_LEN, "%02x:%02x:%02x:%02x:%02x:%02x",
bssid[0], bssid[1], bssid[2],
@@ -2736,6 +2738,8 @@ static void append_wifi_ext_info(DBusMessageIter *dict,
DBUS_TYPE_UINT16, &frequency);
connman_dbus_dict_append_basic(dict, "EncryptionMode",
DBUS_TYPE_STRING, &enc_mode);
+ connman_dbus_dict_append_basic(dict, "Passpoint",
+ DBUS_TYPE_BOOLEAN, &passpoint);
}
#endif