Lines Matching refs:resp
333 struct ieee80211_mgmt *resp;
349 resp = os_zalloc(buflen);
350 if (resp == NULL)
353 epos = ((u8 *) resp) + MAX_PROBERESP_LEN;
355 resp->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT,
358 os_memcpy(resp->da, req->sa, ETH_ALEN);
359 os_memcpy(resp->sa, hapd->own_addr, ETH_ALEN);
361 os_memcpy(resp->bssid, hapd->own_addr, ETH_ALEN);
362 resp->u.probe_resp.beacon_int =
366 resp->u.probe_resp.capab_info =
369 pos = resp->u.probe_resp.variable;
411 pos = hostapd_add_csa_elems(hapd, pos, (u8 *)resp,
454 *resp_len = pos - (u8 *) resp;
455 return (u8 *) resp;
503 u8 *resp;
657 resp = hostapd_gen_probe_resp(hapd, sta, mgmt, elems.p2p != NULL,
659 if (resp == NULL)
669 if (hostapd_drv_send_mlme(hapd, resp, resp_len, noack) < 0)
672 os_free(resp);
724 u8 *resp = NULL;
870 resp = hostapd_probe_resp_offloads(hapd, &resp_len);
878 params->proberesp = resp;