Home
last modified time | relevance | path

Searched refs:mnc_len (Results 1 – 6 of 6) sorted by relevance

/external/wpa_supplicant_8/wpa_supplicant/
Dinterworking.c667 static int plmn_id_match(struct wpabuf *anqp, const char *imsi, int mnc_len) in plmn_id_match() argument
713 imsi, mnc_len); in plmn_id_match()
751 size_t mnc_len, char prefix) in build_root_nai() argument
772 } else if (mnc_len && os_strlen(imsi) >= 3 + mnc_len) { in build_root_nai()
773 plmn_len = 3 + mnc_len; in build_root_nai()
1776 if (wpa_s->imsi[0] && wpa_s->mnc_len) in interworking_pcsc_read_imsi()
1787 wpa_s->mnc_len = scard_get_mnc_len(wpa_s->scard); in interworking_pcsc_read_imsi()
1789 wpa_s->imsi, wpa_s->mnc_len); in interworking_pcsc_read_imsi()
1813 wpa_s->mnc_len = eapol_sm_get_eap_proxy_imsi(wpa_s->eapol, in interworking_credentials_available_3gpp()
1816 if (wpa_s->mnc_len > 0) { in interworking_credentials_available_3gpp()
[all …]
Dwpa_supplicant_i.h504 int mnc_len; member
Dwpa_supplicant.c3218 wpa_s->mnc_len = scard_get_mnc_len(wpa_s->scard); in pcsc_reader_init()
3221 wpa_s->imsi, wpa_s->mnc_len); in pcsc_reader_init()
3813 wpa_s->mnc_len = eapol_sm_get_eap_proxy_imsi(wpa_s->eapol, wpa_s->imsi, in wpa_supplicant_init_iface()
3815 if (wpa_s->mnc_len > 0) { in wpa_supplicant_init_iface()
3818 wpa_s->imsi, wpa_s->mnc_len); in wpa_supplicant_init_iface()
/external/wpa_supplicant_8/src/eap_peer/
Deap.c978 int mnc_len; in eap_sm_append_3gpp_realm() local
987 mnc_len = scard_get_mnc_len(sm->scard_ctx); in eap_sm_append_3gpp_realm()
988 if (mnc_len < 0) in eap_sm_append_3gpp_realm()
989 mnc_len = mnc_len_from_imsi(imsi); in eap_sm_append_3gpp_realm()
990 if (mnc_len < 0) { in eap_sm_append_3gpp_realm()
993 mnc_len = 3; in eap_sm_append_3gpp_realm()
996 if (mnc_len == 2) { in eap_sm_append_3gpp_realm()
1000 } else if (mnc_len == 3) { in eap_sm_append_3gpp_realm()
/external/wpa_supplicant_8/hs20/client/
Dosu_client.c1537 int mnc_len = 3; in set_pps_cred_sim() local
1596 mnc_len = 3; in set_pps_cred_sim()
1598 mnc_len = 2; in set_pps_cred_sim()
1603 os_memcpy(buf, imsi, 3 + mnc_len); in set_pps_cred_sim()
1604 buf[3 + mnc_len] = '-'; in set_pps_cred_sim()
1605 os_strlcpy(buf + 3 + mnc_len + 1, imsi + 3 + mnc_len, in set_pps_cred_sim()
1606 sizeof(buf) - 3 - mnc_len - 1); in set_pps_cred_sim()
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c1284 size_t mnc_len; in parse_3gpp_cell_net() local
1295 mnc_len = os_strlen(mnc); in parse_3gpp_cell_net()
1296 if (os_strlen(mcc) != 3 || (mnc_len != 2 && mnc_len != 3)) in parse_3gpp_cell_net()
1303 *ipos++ = (((mnc_len == 2) ? 0xf0 : ((mnc[2] - '0') << 4))) | in parse_3gpp_cell_net()