Lines Matching defs:beacon
72 struct wpabuf *beacon = NULL, *proberesp = NULL, *assocresp = NULL;
79 if (add_buf_data(&beacon, buf, pos - buf) < 0)
92 if (add_buf_data(&beacon, buf, pos - buf) < 0 ||
97 if (add_buf(&beacon, hapd->iface->fst_ies) < 0 ||
105 if (add_buf_data(&beacon, buf, pos - buf) < 0 ||
110 if (add_buf(&beacon, hapd->wps_beacon_ie) < 0 ||
115 if (add_buf(&beacon, hapd->p2p_beacon_ie) < 0 ||
122 if (wpabuf_resize(&beacon, 100) == 0) {
124 start = wpabuf_put(beacon, 0);
126 wpabuf_put(beacon, p - start);
168 if (add_buf_data(&beacon, buf, pos - buf) < 0 ||
173 if (add_buf_data(&beacon, buf, pos - buf) < 0 ||
182 if (add_buf_data(&beacon, buf, pos - buf) < 0 ||
191 if (add_buf_data(&beacon, buf, pos - buf) < 0 ||
196 add_buf(&beacon, hapd->conf->vendor_elements);
200 *beacon_ret = beacon;
207 wpabuf_free(beacon);
215 struct wpabuf *beacon,
219 wpabuf_free(beacon);
236 struct wpabuf *beacon, *proberesp, *assocresp;
242 if (hostapd_build_ap_extra_ies(hapd, &beacon, &proberesp, &assocresp) <
246 ret = hapd->driver->set_ap_wps_ie(hapd->drv_priv, beacon, proberesp,
249 hostapd_free_ap_extra_ies(hapd, beacon, proberesp, assocresp);