Added vsie information of AP in append_properties function. 60/158860/1
authorNiraj Kumar Goit <niraj.g@samsung.com>
Fri, 3 Nov 2017 12:18:33 +0000 (17:48 +0530)
committerNiraj Kumar Goit <niraj.g@samsung.com>
Fri, 3 Nov 2017 12:18:33 +0000 (17:48 +0530)
Change-Id: I97535663a8b591e4adbbac3c4bb0cd649a388672
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
src/service.c

index 0c9c897..facff69 100755 (executable)
@@ -3247,6 +3247,14 @@ static void append_properties(DBusMessageIter *dict, dbus_bool_t limited,
                connman_dbus_dict_append_basic(dict, "Frequency",
                                DBUS_TYPE_UINT16, &frequency);
        }
+       const void *wifi_vsie;
+       unsigned int wifi_vsie_len;
+       wifi_vsie = connman_network_get_blob(service->network, "WiFi.Vsie", &wifi_vsie_len);
+       if(wifi_vsie_len > 0) {
+               DBG("ConnMan, service->path=%s vsie length=%d", service->path, wifi_vsie_len);
+       }
+       connman_dbus_dict_append_fixed_array(dict, "Vsie", DBUS_TYPE_BYTE,
+                       &wifi_vsie, wifi_vsie_len);
 #endif
 
        str = __connman_service_type2string(service->type);