Lines Matching refs:proberesp
73 struct wpabuf *beacon = NULL, *proberesp = NULL, *assocresp = NULL; in hostapd_build_ap_extra_ies() local
82 add_buf_data(&proberesp, buf, pos - buf) < 0) in hostapd_build_ap_extra_ies()
91 if (add_buf_data(&proberesp, buf, pos - buf) < 0) in hostapd_build_ap_extra_ies()
102 add_buf_data(&proberesp, buf, pos - buf) < 0) in hostapd_build_ap_extra_ies()
107 add_buf(&proberesp, hapd->iface->fst_ies) < 0 || in hostapd_build_ap_extra_ies()
115 add_buf_data(&proberesp, buf, pos - buf) < 0) in hostapd_build_ap_extra_ies()
124 add_buf(&proberesp, hapd->wps_probe_resp_ie) < 0) in hostapd_build_ap_extra_ies()
129 add_buf(&proberesp, hapd->p2p_probe_resp_ie) < 0) in hostapd_build_ap_extra_ies()
142 if (wpabuf_resize(&proberesp, 100) == 0) { in hostapd_build_ap_extra_ies()
144 start = wpabuf_put(proberesp, 0); in hostapd_build_ap_extra_ies()
146 wpabuf_put(proberesp, p - start); in hostapd_build_ap_extra_ies()
182 add_buf_data(&proberesp, buf, pos - buf) < 0) in hostapd_build_ap_extra_ies()
187 add_buf_data(&proberesp, buf, pos - buf) < 0) in hostapd_build_ap_extra_ies()
196 add_buf_data(&proberesp, buf, pos - buf) < 0 || in hostapd_build_ap_extra_ies()
205 add_buf_data(&proberesp, buf, pos - buf) < 0) in hostapd_build_ap_extra_ies()
210 add_buf(&proberesp, hapd->conf->vendor_elements); in hostapd_build_ap_extra_ies()
212 add_buf(&proberesp, hapd->conf->presp_elements); in hostapd_build_ap_extra_ies()
217 *proberesp_ret = proberesp; in hostapd_build_ap_extra_ies()
224 wpabuf_free(proberesp); in hostapd_build_ap_extra_ies()
232 struct wpabuf *proberesp, in hostapd_free_ap_extra_ies() argument
236 wpabuf_free(proberesp); in hostapd_free_ap_extra_ies()
252 struct wpabuf *beacon, *proberesp, *assocresp; in hostapd_set_ap_wps_ie() local
258 if (hostapd_build_ap_extra_ies(hapd, &beacon, &proberesp, &assocresp) < in hostapd_set_ap_wps_ie()
262 ret = hapd->driver->set_ap_wps_ie(hapd->drv_priv, beacon, proberesp, in hostapd_set_ap_wps_ie()
265 hostapd_free_ap_extra_ies(hapd, beacon, proberesp, assocresp); in hostapd_set_ap_wps_ie()