Lines Matching refs:beacon
1112 struct wpabuf *beacon; in wps_set_ie() local
1129 beacon = wpabuf_alloc(400 + vendor_len); in wps_set_ie()
1130 if (beacon == NULL) in wps_set_ie()
1134 wpabuf_free(beacon); in wps_set_ie()
1142 if (wps_build_version(beacon) || in wps_set_ie()
1143 wps_build_wps_state(reg->wps, beacon) || in wps_set_ie()
1144 wps_build_ap_setup_locked(reg->wps, beacon) || in wps_set_ie()
1145 wps_build_selected_registrar(reg, beacon) || in wps_set_ie()
1146 wps_build_sel_reg_dev_password_id(reg, beacon) || in wps_set_ie()
1147 wps_build_sel_reg_config_methods(reg, beacon) || in wps_set_ie()
1148 wps_build_sel_pbc_reg_uuid_e(reg, beacon) || in wps_set_ie()
1149 (reg->dualband && wps_build_rf_bands(®->wps->dev, beacon)) || in wps_set_ie()
1150 wps_build_wfa_ext(beacon, 0, auth_macs, count) || in wps_set_ie()
1151 wps_build_vendor_ext(®->wps->dev, beacon)) { in wps_set_ie()
1152 wpabuf_free(beacon); in wps_set_ie()
1158 if (wps_build_dev_name(®->wps->dev, beacon) || in wps_set_ie()
1159 wps_build_primary_dev_type(®->wps->dev, beacon)) { in wps_set_ie()
1160 wpabuf_free(beacon); in wps_set_ie()
1182 wpabuf_free(beacon); in wps_set_ie()
1187 beacon = wps_ie_encapsulate(beacon); in wps_set_ie()
1190 if (!beacon || !probe) { in wps_set_ie()
1191 wpabuf_free(beacon); in wps_set_ie()
1214 wpabuf_put_data(beacon, ms_wps, sizeof(ms_wps)); in wps_set_ie()
1218 return wps_cb_set_ie(reg, beacon, probe); in wps_set_ie()