Searched refs:spp_node (Results 1 – 2 of 2) sorted by relevance
/external/wpa_supplicant_8/hs20/server/ |
D | spp_server.c | 627 xml_node_t *spp_node = NULL; in build_post_dev_data_response() local 630 spp_node = xml_node_create_root(ctx->xml, SPP_NS_URI, "spp", &ns, in build_post_dev_data_response() 632 if (spp_node == NULL) in build_post_dev_data_response() 637 xml_node_add_attr(ctx->xml, spp_node, ns, "sppVersion", "1.0"); in build_post_dev_data_response() 638 xml_node_add_attr(ctx->xml, spp_node, ns, "sessionID", session_id); in build_post_dev_data_response() 639 xml_node_add_attr(ctx->xml, spp_node, ns, "sppStatus", status); in build_post_dev_data_response() 643 node = xml_node_create(ctx->xml, spp_node, ns, "sppError"); in build_post_dev_data_response() 649 return spp_node; in build_post_dev_data_response() 653 static int add_update_node(struct hs20_svc *ctx, xml_node_t *spp_node, in add_update_node() argument 668 node = xml_node_create_text(ctx->xml, spp_node, ns, "updateNode", str); in add_update_node() [all …]
|
/external/wpa_supplicant_8/hs20/client/ |
D | spp_client.c | 113 xml_node_t *spp_node; in build_spp_post_dev_data() local 117 spp_node = xml_node_create_root(ctx->xml, SPP_NS_URI, "spp", &ns, in build_spp_post_dev_data() 119 if (spp_node == NULL) in build_spp_post_dev_data() 124 xml_node_add_attr(ctx->xml, spp_node, ns, "sppVersion", "1.0"); in build_spp_post_dev_data() 125 xml_node_add_attr(ctx->xml, spp_node, NULL, "requestReason", reason); in build_spp_post_dev_data() 127 xml_node_add_attr(ctx->xml, spp_node, ns, "sessionID", in build_spp_post_dev_data() 129 xml_node_add_attr(ctx->xml, spp_node, NULL, "redirectURI", in build_spp_post_dev_data() 132 xml_node_create_text(ctx->xml, spp_node, ns, "supportedSPPVersions", in build_spp_post_dev_data() 134 xml_node_create_text(ctx->xml, spp_node, ns, "supportedMOList", in build_spp_post_dev_data() 138 add_mo_container(ctx->xml, ns, spp_node, URN_OMA_DM_DEVINFO, in build_spp_post_dev_data() [all …]
|