Lines Matching refs:ssid_len

126 			       const u8 *ssid, size_t ssid_len);
132 const u8 *ssid, size_t ssid_len);
137 const u8 *ssid, size_t ssid_len);
454 params->ssids[0].ssid_len = P2P_WILDCARD_SSID_LEN; in wpas_p2p_scan()
563 size_t ssid_len, int *go) in wpas_get_p2p_group() argument
570 s->ssid_len != ssid_len || in wpas_get_p2p_group()
571 os_memcmp(ssid, s->ssid, ssid_len) != 0) in wpas_get_p2p_group()
1111 const u8 *ssid, size_t ssid_len) in wpas_p2p_persistent_group() argument
1124 bss = wpa_bss_get(wpa_s, bssid, ssid, ssid_len); in wpas_p2p_persistent_group()
1133 bss = wpa_bss_get(wpa_s, iface_addr, ssid, ssid_len); in wpas_p2p_persistent_group()
1190 s->ssid_len == ssid->ssid_len && in wpas_p2p_store_persistent_group()
1191 os_memcmp(ssid->ssid, s->ssid, ssid->ssid_len) == 0) in wpas_p2p_store_persistent_group()
1245 if (s->ssid == NULL || s->ssid_len < ssid->ssid_len) { in wpas_p2p_store_persistent_group()
1247 s->ssid = os_malloc(ssid->ssid_len); in wpas_p2p_store_persistent_group()
1250 s->ssid_len = ssid->ssid_len; in wpas_p2p_store_persistent_group()
1251 os_memcpy(s->ssid, ssid->ssid, s->ssid_len); in wpas_p2p_store_persistent_group()
1286 if (s->ssid_len == ssid->ssid_len && in wpas_p2p_add_persistent_group_client()
1287 os_memcmp(s->ssid, ssid->ssid, s->ssid_len) == 0) in wpas_p2p_add_persistent_group_client()
1362 ssid_txt = wpa_ssid_txt(ssid->ssid, ssid->ssid_len); in wpas_p2p_group_started()
1451 ssid->ssid_len); in wpas_group_formation_completed()
1742 res->ssid, res->ssid_len); in wpas_start_wps_enrollee()
1782 ssid->ssid_len); in wpas_p2p_add_psk_list()
2101 ssid->ssid = os_zalloc(params->ssid_len + 1); in wpas_start_wps_go()
2103 os_memcpy(ssid->ssid, params->ssid, params->ssid_len); in wpas_start_wps_go()
2104 ssid->ssid_len = params->ssid_len; in wpas_start_wps_go()
2856 group_id_len - ETH_ALEN == s->ssid_len && in wpas_prov_disc_req()
2858 s->ssid_len) == 0) in wpas_prov_disc_req()
3183 size_t ssid_len, int *go, u8 *group_bssid, in wpas_invitation_process() argument
3201 MAC2STR(sa), wpa_ssid_txt(ssid, ssid_len)); in wpas_invitation_process()
3231 grp = wpas_get_p2p_group(wpa_s, ssid, ssid_len, go); in wpas_invitation_process()
3251 s->ssid_len == ssid_len && in wpas_invitation_process()
3252 os_memcmp(ssid, s->ssid, ssid_len) == 0) in wpas_invitation_process()
3343 const u8 *ssid, size_t ssid_len, in wpas_invitation_received() argument
3352 s->ssid_len == ssid_len && in wpas_invitation_received()
3353 os_memcmp(ssid, s->ssid, ssid_len) == 0) in wpas_invitation_received()
3360 MAC2STR(sa), op_freq, wpa_ssid_txt(ssid, ssid_len)); in wpas_invitation_received()
3396 ssid, ssid_len); in wpas_invitation_received()
3495 ssid->ssid, ssid->ssid_len); in wpas_remove_persistent_client()
3601 freq, wpa_ssid_txt(ssid->ssid, ssid->ssid_len)); in wpas_invitation_result()
4164 const u8 *ssid, size_t ssid_len) in wpas_get_p2p_go_iface() argument
4174 if (s->ssid_len != ssid_len || in wpas_get_p2p_go_iface()
4175 os_memcmp(ssid, s->ssid, ssid_len) != 0) in wpas_get_p2p_go_iface()
4317 size_t ssid_len, u8 *go_dev_addr, in wpas_get_persistent_group() argument
4324 s = wpas_p2p_get_persistent(wpa_s, addr, ssid, ssid_len); in wpas_get_persistent_group()
4326 os_memcpy(ret_ssid, s->ssid, s->ssid_len); in wpas_get_persistent_group()
4327 *ret_ssid_len = s->ssid_len; in wpas_get_persistent_group()
4350 u8 *ssid, size_t *ssid_len, int *group_iface, in wpas_get_go_info() argument
4384 os_memcpy(ssid, s->ssid, s->ssid_len); in wpas_get_go_info()
4385 *ssid_len = s->ssid_len; in wpas_get_go_info()
4392 const u8 *ssid, size_t ssid_len) in wpas_remove_stale_groups() argument
4401 if (go && ssid && ssid_len && in wpas_remove_stale_groups()
4402 s->ssid_len == ssid_len && in wpas_remove_stale_groups()
4404 os_memcmp(ssid, s->ssid, ssid_len) == 0) in wpas_remove_stale_groups()
4573 if (s && s->ssid_len == stale->ssid_len && in wpas_p2ps_prov_complete()
4575 os_memcmp(stale->ssid, s->ssid, s->ssid_len) == 0) in wpas_p2ps_prov_complete()
5211 ssid ? ssid->ssid_len : 0, in wpas_p2p_start_go_neg()
5231 ssid ? ssid->ssid_len : 0, pref_freq, in wpas_p2p_auth_go_neg()
5475 wpa_ssid_txt(bss->ssid, bss->ssid_len)); in wpas_p2p_scan_res_join()
5567 const u8 *ssid, size_t ssid_len) in wpas_p2p_join_scan_req() argument
5580 if (ssid && ssid_len) { in wpas_p2p_join_scan_req()
5582 params.ssids[0].ssid_len = ssid_len; in wpas_p2p_join_scan_req()
5583 os_memcpy(wpa_s->p2p_join_ssid, ssid, ssid_len); in wpas_p2p_join_scan_req()
5584 wpa_s->p2p_join_ssid_len = ssid_len; in wpas_p2p_join_scan_req()
5587 params.ssids[0].ssid_len = P2P_WILDCARD_SSID_LEN; in wpas_p2p_join_scan_req()
5677 const u8 *ssid, size_t ssid_len) in wpas_p2p_join() argument
5683 if (ssid && ssid_len) { in wpas_p2p_join()
5685 wpa_ssid_txt(ssid, ssid_len)); in wpas_p2p_join()
5698 wpas_p2p_join_scan_req(wpa_s, op_freq, ssid, ssid_len); in wpas_p2p_join()
5704 const u8 *ssid, size_t ssid_len) in wpas_p2p_join_start() argument
5737 if (freq && ssid && ssid_len) { in wpas_p2p_join_start()
5739 res.ssid_len = ssid_len; in wpas_p2p_join_start()
5740 os_memcpy(res.ssid, ssid, ssid_len); in wpas_p2p_join_start()
5742 if (ssid && ssid_len) { in wpas_p2p_join_start()
5744 ssid, ssid_len); in wpas_p2p_join_start()
5751 res.ssid_len = bss->ssid_len; in wpas_p2p_join_start()
5752 os_memcpy(res.ssid, bss->ssid, bss->ssid_len); in wpas_p2p_join_start()
5755 wpa_ssid_txt(bss->ssid, bss->ssid_len)); in wpas_p2p_join_start()
5756 } else if (ssid && ssid_len) { in wpas_p2p_join_start()
5757 res.ssid_len = ssid_len; in wpas_p2p_join_start()
5758 os_memcpy(res.ssid, ssid, ssid_len); in wpas_p2p_join_start()
5760 wpa_ssid_txt(ssid, ssid_len)); in wpas_p2p_join_start()
6980 ssid->ssid = os_malloc(params->ssid_len); in wpas_start_p2p_client()
6985 os_memcpy(ssid->ssid, params->ssid, params->ssid_len); in wpas_start_p2p_client()
6986 ssid->ssid_len = params->ssid_len; in wpas_start_p2p_client()
7056 if (wpas_get_p2p_group(wpa_s, ssid->ssid, ssid->ssid_len, &go) && in wpas_p2p_group_add_persistent()
7140 os_memcpy(params.ssid, ssid->ssid, ssid->ssid_len); in wpas_p2p_group_add_persistent()
7141 params.ssid_len = ssid->ssid_len; in wpas_p2p_group_add_persistent()
7224 os_memcpy(cfg->ssid, ssid->ssid, ssid->ssid_len); in wpas_p2p_group_init()
7225 cfg->ssid_len = ssid->ssid_len; in wpas_p2p_group_init()
7258 ssid->ssid_len); in wpas_p2p_wps_success()
7761 ssid->ssid, ssid->ssid_len, force_freq, go_dev_addr, in wpas_p2p_invite()
7807 ssid->ssid, ssid->ssid_len); in wpas_p2p_invite_group()
7845 ssid->ssid, ssid->ssid_len, force_freq, in wpas_p2p_invite_group()
7883 ssid->ssid_len); in wpas_p2p_completed()
8641 size_t ssid_len) in wpas_p2p_get_persistent() argument
8650 (ssid_len != s->ssid_len || in wpas_p2p_get_persistent()
8651 os_memcmp(ssid, s->ssid, ssid_len) != 0)) in wpas_p2p_get_persistent()
8871 ssid->ssid_len); in wpas_p2p_new_psk_cb()
9084 ssid->ssid_len) <= 0) { in wpas_p2p_4way_hs_failed()
9093 ssid->ssid_len); in wpas_p2p_4way_hs_failed()
9218 ssid ? ssid->ssid_len : 0); in wpas_p2p_nfc_handover_req()
9251 ssid ? ssid->ssid_len : 0); in wpas_p2p_nfc_handover_sel()
9338 ssid->ssid, ssid->ssid_len); in wpas_p2p_nfc_auth_join()
9343 ssid->ssid, ssid->ssid_len, ssid->frequency, in wpas_p2p_nfc_auth_join()