Searched refs:mnc_len (Results 1 – 8 of 8) sorted by relevance
/external/wpa_supplicant_8/wpa_supplicant/ |
D | interworking.c | 730 static int plmn_id_match(struct wpabuf *anqp, const char *imsi, int mnc_len) in plmn_id_match() argument 776 imsi, mnc_len); in plmn_id_match() 814 size_t mnc_len, char prefix) in build_root_nai() argument 835 } else if (mnc_len && os_strlen(imsi) >= 3 + mnc_len) { in build_root_nai() 836 plmn_len = 3 + mnc_len; in build_root_nai() 1904 if (wpa_s->imsi[0] && wpa_s->mnc_len) in interworking_pcsc_read_imsi() 1915 wpa_s->mnc_len = scard_get_mnc_len(wpa_s->scard); in interworking_pcsc_read_imsi() 1917 wpa_s->imsi, wpa_s->mnc_len); in interworking_pcsc_read_imsi() 1946 wpa_s->mnc_len = eapol_sm_get_eap_proxy_imsi(wpa_s->eapol, -1, in interworking_credentials_available_3gpp() 1949 if (wpa_s->mnc_len > 0) { in interworking_credentials_available_3gpp() [all …]
|
D | wpas_glue.c | 944 wpa_s->mnc_len = eapol_sm_get_eap_proxy_imsi(wpa_s->eapol, -1, in wpa_supplicant_eap_proxy_cb() 946 if (wpa_s->mnc_len > 0) { in wpa_supplicant_eap_proxy_cb() 949 wpa_s->imsi, wpa_s->mnc_len); in wpa_supplicant_eap_proxy_cb()
|
D | wpa_supplicant_i.h | 619 int mnc_len; member
|
D | wpa_supplicant.c | 4855 wpa_s->mnc_len = scard_get_mnc_len(wpa_s->scard); in pcsc_reader_init() 4858 wpa_s->imsi, wpa_s->mnc_len); in pcsc_reader_init() 5919 wpa_s->mnc_len = eapol_sm_get_eap_proxy_imsi(wpa_s->eapol, -1, in wpa_supplicant_init_iface() 5921 if (wpa_s->mnc_len > 0) { in wpa_supplicant_init_iface() 5924 wpa_s->imsi, wpa_s->mnc_len); in wpa_supplicant_init_iface()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap.c | 176 int mnc_len) in eap_sm_append_3gpp_realm() argument 185 if (mnc_len != 2 && mnc_len != 3) in eap_sm_append_3gpp_realm() 186 mnc_len = 3; in eap_sm_append_3gpp_realm() 188 if (mnc_len == 2) { in eap_sm_append_3gpp_realm() 192 } else if (mnc_len == 3) { in eap_sm_append_3gpp_realm() 490 int mnc_len, pos; in eap_get_realm() local 493 mnc_len = sm->eapol_cb->get_imsi(sm->eapol_ctx, config->sim_num, in eap_get_realm() 495 if (mnc_len < 0) in eap_get_realm() 500 mnc_len) < 0) { in eap_get_realm() 1522 int i, mnc_len; in eap_sm_imsi_identity() local [all …]
|
D | eap_proxy_qmi_oc.c | 1662 int mnc_len = -1; in eap_proxy_build_identity() local 1971 mnc_len = card_mnc_len; in eap_proxy_build_identity() 1974 if ((mnc_len == 2) && (imsi_identity != NULL)) { in eap_proxy_build_identity() 1978 } else if ((mnc_len == 3) && (imsi_identity != NULL)) { in eap_proxy_build_identity() 2212 int mnc_len; in eap_proxy_get_imsi() local 2233 mnc_len = card_mnc_len; in eap_proxy_get_imsi() 2234 if (mnc_len < 2 || mnc_len > 3) in eap_proxy_get_imsi() 2235 mnc_len = 3; /* Default to 3 if MNC length is unknown */ in eap_proxy_get_imsi() 2240 return mnc_len; in eap_proxy_get_imsi()
|
/external/wpa_supplicant_8/hs20/client/ |
D | osu_client.c | 1668 int mnc_len = 3; in set_pps_cred_sim() local 1727 mnc_len = 3; in set_pps_cred_sim() 1729 mnc_len = 2; in set_pps_cred_sim() 1734 os_memcpy(buf, imsi, 3 + mnc_len); in set_pps_cred_sim() 1735 buf[3 + mnc_len] = '-'; in set_pps_cred_sim() 1736 os_strlcpy(buf + 3 + mnc_len + 1, imsi + 3 + mnc_len, in set_pps_cred_sim() 1737 sizeof(buf) - 3 - mnc_len - 1); in set_pps_cred_sim()
|
/external/wpa_supplicant_8/hostapd/ |
D | config_file.c | 1571 size_t mnc_len; in parse_3gpp_cell_net() local 1582 mnc_len = os_strlen(mnc); in parse_3gpp_cell_net() 1583 if (os_strlen(mcc) != 3 || (mnc_len != 2 && mnc_len != 3)) in parse_3gpp_cell_net() 1590 *ipos++ = (((mnc_len == 2) ? 0xf0 : ((mnc[2] - '0') << 4))) | in parse_3gpp_cell_net()
|