Searched refs:mnc_len (Results 1 – 8 of 8) sorted by relevance
/external/wpa_supplicant_8/wpa_supplicant/ |
D | interworking.c | 726 static int plmn_id_match(struct wpabuf *anqp, const char *imsi, int mnc_len) in plmn_id_match() argument 772 imsi, mnc_len); in plmn_id_match() 810 size_t mnc_len, char prefix) in build_root_nai() argument 831 } else if (mnc_len && os_strlen(imsi) >= 3 + mnc_len) { in build_root_nai() 832 plmn_len = 3 + mnc_len; in build_root_nai() 1858 if (wpa_s->imsi[0] && wpa_s->mnc_len) in interworking_pcsc_read_imsi() 1869 wpa_s->mnc_len = scard_get_mnc_len(wpa_s->scard); in interworking_pcsc_read_imsi() 1871 wpa_s->imsi, wpa_s->mnc_len); in interworking_pcsc_read_imsi() 1900 wpa_s->mnc_len = eapol_sm_get_eap_proxy_imsi(wpa_s->eapol, -1, in interworking_credentials_available_3gpp() 1903 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 | 613 int mnc_len; member
|
D | wpa_supplicant.c | 4424 wpa_s->mnc_len = scard_get_mnc_len(wpa_s->scard); in pcsc_reader_init() 4427 wpa_s->imsi, wpa_s->mnc_len); in pcsc_reader_init() 5463 wpa_s->mnc_len = eapol_sm_get_eap_proxy_imsi(wpa_s->eapol, -1, in wpa_supplicant_init_iface() 5465 if (wpa_s->mnc_len > 0) { in wpa_supplicant_init_iface() 5468 wpa_s->imsi, wpa_s->mnc_len); in wpa_supplicant_init_iface()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap.c | 174 int mnc_len) in eap_sm_append_3gpp_realm() argument 183 if (mnc_len != 2 && mnc_len != 3) in eap_sm_append_3gpp_realm() 184 mnc_len = 3; in eap_sm_append_3gpp_realm() 186 if (mnc_len == 2) { in eap_sm_append_3gpp_realm() 190 } else if (mnc_len == 3) { in eap_sm_append_3gpp_realm() 488 int mnc_len, pos; in eap_get_realm() local 491 mnc_len = sm->eapol_cb->get_imsi(sm->eapol_ctx, config->sim_num, in eap_get_realm() 493 if (mnc_len < 0) in eap_get_realm() 498 mnc_len) < 0) { in eap_get_realm() 1514 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 | 1563 int mnc_len = 3; in set_pps_cred_sim() local 1622 mnc_len = 3; in set_pps_cred_sim() 1624 mnc_len = 2; in set_pps_cred_sim() 1629 os_memcpy(buf, imsi, 3 + mnc_len); in set_pps_cred_sim() 1630 buf[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() 1632 sizeof(buf) - 3 - mnc_len - 1); in set_pps_cred_sim()
|
/external/wpa_supplicant_8/hostapd/ |
D | config_file.c | 1395 size_t mnc_len; in parse_3gpp_cell_net() local 1406 mnc_len = os_strlen(mnc); in parse_3gpp_cell_net() 1407 if (os_strlen(mcc) != 3 || (mnc_len != 2 && mnc_len != 3)) in parse_3gpp_cell_net() 1414 *ipos++ = (((mnc_len == 2) ? 0xf0 : ((mnc[2] - '0') << 4))) | in parse_3gpp_cell_net()
|