• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/wpa/src/common/

Lines Matching refs:resp

28 	void (*status_cb)(void *ctx, struct wpabuf *resp, int ok);
37 struct wpabuf *resp;
47 void (*tx)(void *ctx, int freq, const u8 *da, struct wpabuf *resp,
64 (unsigned long) wpabuf_len(response->resp));
66 response->resp, 0);
67 response->resp = NULL;
79 wpabuf_free(response->resp);
92 struct wpabuf *resp;
119 resp = gas_build_initial_resp(dialog_token, WLAN_STATUS_SUCCESS,
123 if (!resp) {
130 wpabuf_put_u8(resp, WLAN_EID_ADV_PROTO);
131 wpabuf_put_u8(resp, 1 + handler->adv_proto_id_len); /* Length */
132 wpabuf_put_u8(resp, 0x7f);
134 wpabuf_put_data(resp, handler->adv_proto_id, handler->adv_proto_id_len);
137 wpabuf_put_le16(resp, resp_frag_len);
139 wpabuf_put_buf(resp, query_resp);
149 response->resp = query_resp;
151 gas->tx(gas->ctx, freq, da, resp, comeback_delay ? 2000 : 0);
152 wpabuf_free(resp);
167 struct wpabuf *resp;
222 resp = handler->req_cb(handler->ctx, sa, query_req,
225 resp);
227 resp);
245 struct wpabuf *resp;
247 remaining = wpabuf_len(response->resp) - response->offset;
256 resp = gas_build_comeback_resp(response->dialog_token,
262 if (!resp) {
269 wpabuf_put_u8(resp, WLAN_EID_ADV_PROTO);
270 wpabuf_put_u8(resp, 1 + handler->adv_proto_id_len); /* Length */
271 wpabuf_put_u8(resp, 0x7f);
273 wpabuf_put_data(resp, handler->adv_proto_id, handler->adv_proto_id_len);
276 wpabuf_put_le16(resp, resp_frag_len);
277 wpabuf_put_data(resp, wpabuf_head_u8(response->resp) + response->offset,
282 gas->tx(gas->ctx, response->freq, response->dst, resp,
284 wpabuf_free(resp);
362 if (ack && response->offset < wpabuf_len(response->resp)) {
376 response->resp, ack);
377 response->resp = NULL;
466 void (*status_cb)(void *ctx, struct wpabuf *resp,