Lines Matching refs:beacon

73 	struct wpabuf *beacon = NULL, *proberesp = NULL, *assocresp = NULL;  in hostapd_build_ap_extra_ies()  local
88 if (add_buf_data(&beacon, buf, pos - buf) < 0) in hostapd_build_ap_extra_ies()
101 if (add_buf_data(&beacon, buf, pos - buf) < 0 || in hostapd_build_ap_extra_ies()
106 if (add_buf(&beacon, hapd->iface->fst_ies) < 0 || in hostapd_build_ap_extra_ies()
114 if (add_buf_data(&beacon, buf, pos - buf) < 0 || in hostapd_build_ap_extra_ies()
123 if (add_buf(&beacon, hapd->wps_beacon_ie) < 0 || in hostapd_build_ap_extra_ies()
128 if (add_buf(&beacon, hapd->p2p_beacon_ie) < 0 || in hostapd_build_ap_extra_ies()
135 if (wpabuf_resize(&beacon, 100) == 0) { in hostapd_build_ap_extra_ies()
137 start = wpabuf_put(beacon, 0); in hostapd_build_ap_extra_ies()
139 wpabuf_put(beacon, p - start); in hostapd_build_ap_extra_ies()
181 if (add_buf_data(&beacon, buf, pos - buf) < 0 || in hostapd_build_ap_extra_ies()
186 if (add_buf_data(&beacon, buf, pos - buf) < 0 || in hostapd_build_ap_extra_ies()
195 if (add_buf_data(&beacon, buf, pos - buf) < 0 || in hostapd_build_ap_extra_ies()
204 if (add_buf_data(&beacon, buf, pos - buf) < 0 || in hostapd_build_ap_extra_ies()
209 add_buf(&beacon, hapd->conf->vendor_elements); in hostapd_build_ap_extra_ies()
216 *beacon_ret = beacon; in hostapd_build_ap_extra_ies()
223 wpabuf_free(beacon); in hostapd_build_ap_extra_ies()
231 struct wpabuf *beacon, in hostapd_free_ap_extra_ies() argument
235 wpabuf_free(beacon); 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()