Home | History | Annotate | Download | only in p2p

Lines Matching refs:resp

2275 	struct ieee80211_mgmt *resp;
2278 resp = wpabuf_put(buf, offsetof(struct ieee80211_mgmt,
2281 resp->frame_control = host_to_le16((WLAN_FC_TYPE_MGMT << 2) |
2283 os_memcpy(resp->da, addr, ETH_ALEN);
2284 os_memcpy(resp->sa, p2p->cfg->dev_addr, ETH_ALEN);
2285 os_memcpy(resp->bssid, p2p->cfg->dev_addr, ETH_ALEN);
2286 resp->u.probe_resp.beacon_int = host_to_le16(100);
2288 resp->u.probe_resp.capab_info =
2476 p2p_dbg(p2p, "Probe Resp generated elsewhere - do not generate additional response");
4510 struct wpabuf *resp;
4513 resp = wpabuf_alloc(100 + noa_len);
4514 if (resp == NULL)
4517 p2p_buf_add_action_hdr(resp, P2P_PRESENCE_RESP, dialog_token);
4518 len = p2p_buf_add_ie_hdr(resp);
4519 p2p_buf_add_status(resp, status);
4521 wpabuf_put_u8(resp, P2P_ATTR_NOTICE_OF_ABSENCE);
4522 wpabuf_put_le16(resp, noa_len);
4523 wpabuf_put_data(resp, noa, noa_len);
4525 p2p_buf_add_noa(resp, 0, 0, 0, NULL, NULL);
4526 p2p_buf_update_ie_hdr(resp, len);
4528 return resp;
4538 struct wpabuf *resp;
4581 resp = p2p_build_presence_resp(status, noa_len > 0 ? noa : NULL,
4586 if (resp == NULL)
4591 wpabuf_head(resp), wpabuf_len(resp), 200) < 0) {
4594 wpabuf_free(resp);