Lines Matching refs:beacon
1234 struct wpabuf *beacon; in wps_set_ie() local
1251 beacon = wpabuf_alloc(400 + vendor_len); in wps_set_ie()
1252 if (beacon == NULL) in wps_set_ie()
1256 wpabuf_free(beacon); in wps_set_ie()
1264 if (wps_build_version(beacon) || in wps_set_ie()
1265 wps_build_wps_state(reg->wps, beacon) || in wps_set_ie()
1266 wps_build_ap_setup_locked(reg->wps, beacon) || in wps_set_ie()
1267 wps_build_selected_registrar(reg, beacon) || in wps_set_ie()
1268 wps_build_sel_reg_dev_password_id(reg, beacon) || in wps_set_ie()
1269 wps_build_sel_reg_config_methods(reg, beacon) || in wps_set_ie()
1270 wps_build_sel_pbc_reg_uuid_e(reg, beacon) || in wps_set_ie()
1271 (reg->dualband && wps_build_rf_bands(®->wps->dev, beacon)) || in wps_set_ie()
1272 wps_build_wfa_ext(beacon, 0, auth_macs, count) || in wps_set_ie()
1273 wps_build_vendor_ext(®->wps->dev, beacon)) { in wps_set_ie()
1274 wpabuf_free(beacon); in wps_set_ie()
1280 if (wps_build_dev_name(®->wps->dev, beacon) || in wps_set_ie()
1281 wps_build_primary_dev_type(®->wps->dev, beacon)) { in wps_set_ie()
1282 wpabuf_free(beacon); in wps_set_ie()
1304 wpabuf_free(beacon); in wps_set_ie()
1309 beacon = wps_ie_encapsulate(beacon); in wps_set_ie()
1312 if (!beacon || !probe) { in wps_set_ie()
1313 wpabuf_free(beacon); in wps_set_ie()
1336 wpabuf_put_data(beacon, ms_wps, sizeof(ms_wps)); in wps_set_ie()
1340 return wps_cb_set_ie(reg, beacon, probe); in wps_set_ie()