Lines Matching defs:beacon
73 struct wpabuf *beacon = NULL, *proberesp = NULL, *assocresp = NULL;
88 if (add_buf_data(&beacon, buf, pos - buf) < 0)
101 if (add_buf_data(&beacon, buf, pos - buf) < 0 ||
106 if (add_buf(&beacon, hapd->iface->fst_ies) < 0 ||
114 if (add_buf_data(&beacon, buf, pos - buf) < 0 ||
123 if (add_buf(&beacon, hapd->wps_beacon_ie) < 0 ||
128 if (add_buf(&beacon, hapd->p2p_beacon_ie) < 0 ||
135 if (wpabuf_resize(&beacon, 100) == 0) {
137 start = wpabuf_put(beacon, 0);
139 wpabuf_put(beacon, p - start);
181 if (add_buf_data(&beacon, buf, pos - buf) < 0 ||
186 if (add_buf_data(&beacon, buf, pos - buf) < 0 ||
195 if (add_buf_data(&beacon, buf, pos - buf) < 0 ||
204 if (add_buf_data(&beacon, buf, pos - buf) < 0 ||
209 add_buf(&beacon, hapd->conf->vendor_elements);
216 *beacon_ret = beacon;
223 wpabuf_free(beacon);
231 struct wpabuf *beacon,
235 wpabuf_free(beacon);
252 struct wpabuf *beacon, *proberesp, *assocresp;
258 if (hostapd_build_ap_extra_ies(hapd, &beacon, &proberesp, &assocresp) <
262 ret = hapd->driver->set_ap_wps_ie(hapd->drv_priv, beacon, proberesp,
265 hostapd_free_ap_extra_ies(hapd, beacon, proberesp, assocresp);