Lines Matching defs:resp
129 struct ieee80211_mgmt *resp;
171 resp = os_zalloc(sizeof(*resp) + oci_ie_len);
172 if (!resp) {
182 resp->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT,
184 os_memcpy(resp->da, sa, ETH_ALEN);
185 os_memcpy(resp->sa, hapd->own_addr, ETH_ALEN);
186 os_memcpy(resp->bssid, hapd->own_addr, ETH_ALEN);
187 resp->u.action.category = WLAN_ACTION_SA_QUERY;
188 resp->u.action.u.sa_query_req.action = WLAN_SA_QUERY_RESPONSE;
189 os_memcpy(resp->u.action.u.sa_query_req.trans_id, trans_id,
191 end = resp->u.action.u.sa_query_req.variable;
198 if (hostapd_drv_send_mlme(hapd, resp, end - (u8 *) resp, 0) < 0)
201 os_free(resp);