Lines Matching refs:imsi
1561 char *imsi, *eaptype, *str, buf[20]; in set_pps_cred_sim() local
1603 imsi = xml_node_get_text(ctx->xml, node); in set_pps_cred_sim()
1604 if (imsi == NULL) { in set_pps_cred_sim()
1608 wpa_printf(MSG_INFO, " - Credential/SIM/IMSI = %s", imsi); in set_pps_cred_sim()
1609 imsi_len = os_strlen(imsi); in set_pps_cred_sim()
1612 xml_node_get_text_free(ctx->xml, imsi); in set_pps_cred_sim()
1621 if (os_strncmp(imsi + 3, pos + 3, 3) == 0) in set_pps_cred_sim()
1623 else if (os_strncmp(imsi + 3, pos + 4, 2) == 0) in set_pps_cred_sim()
1629 os_memcpy(buf, imsi, 3 + mnc_len); in set_pps_cred_sim()
1631 os_strlcpy(buf + 3 + mnc_len + 1, imsi + 3 + mnc_len, in set_pps_cred_sim()
1634 xml_node_get_text_free(ctx->xml, imsi); in set_pps_cred_sim()