/external/wpa_supplicant_8/src/ap/ |
ctrl_iface_ap.c | 137 struct ieee80211_mgmt *mgmt; local 144 mgmt = os_zalloc(sizeof(*mgmt) + 100); 145 if (mgmt == NULL) 152 mgmt->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, stype); 153 os_memcpy(mgmt->da, addr, ETH_ALEN); 154 os_memcpy(mgmt->sa, hapd->own_addr, ETH_ALEN); 155 os_memcpy(mgmt->bssid, hapd->own_addr, ETH_ALEN); 157 mgmt->u.deauth.reason_code = 159 pos = (u8 *) (&mgmt->u.deauth.reason_code + 1) 202 struct ieee80211_mgmt mgmt; local 263 struct ieee80211_mgmt mgmt; local [all...] |
wnm_ap.c | 48 struct ieee80211_mgmt *mgmt; local 90 mgmt = os_zalloc(sizeof(*mgmt) + wnmsleep_ie_len + 92 if (mgmt == NULL) { 97 os_memcpy(mgmt->da, addr, ETH_ALEN); 98 os_memcpy(mgmt->sa, hapd->own_addr, ETH_ALEN); 99 os_memcpy(mgmt->bssid, hapd->own_addr, ETH_ALEN); 100 mgmt->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, 102 mgmt->u.action.category = WLAN_ACTION_WNM; 103 mgmt->u.action.u.wnm_sleep_resp.action = WNM_SLEEP_MODE_RESP [all...] |
ieee802_11_shared.c | 52 struct ieee80211_mgmt mgmt; local 60 os_memset(&mgmt, 0, sizeof(mgmt)); 61 mgmt.frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, 63 os_memcpy(mgmt.da, addr, ETH_ALEN); 64 os_memcpy(mgmt.sa, hapd->own_addr, ETH_ALEN); 65 os_memcpy(mgmt.bssid, hapd->own_addr, ETH_ALEN); 66 mgmt.u.action.category = WLAN_ACTION_SA_QUERY; 67 mgmt.u.action.u.sa_query_req.action = WLAN_SA_QUERY_REQUEST; 68 os_memcpy(mgmt.u.action.u.sa_query_req.trans_id, trans_id [all...] |
gas_serv.c | 1135 const struct ieee80211_mgmt *mgmt; local 1139 mgmt = (const struct ieee80211_mgmt *) buf; 1140 hdr_len = (const u8 *) &mgmt->u.action.u.vs_public_action.action - buf; 1143 if (mgmt->u.action.category != WLAN_ACTION_PUBLIC) 1145 sa = mgmt->sa; 1147 data = &mgmt->u.action.u.public_action.action;
|
ieee802_11.c | 440 const struct ieee80211_mgmt *mgmt, size_t len, 461 resp = sae_parse_commit(sta->sae, mgmt->u.auth.variable, 462 ((const u8 *) mgmt) + len - 463 mgmt->u.auth.variable, &token, 499 if (sae_check_confirm(sta->sae, mgmt->u.auth.variable, 500 ((u8 *) mgmt) + len - 501 mgmt->u.auth.variable) < 0) { 528 send_auth_reply(hapd, mgmt->sa, mgmt->bssid, WLAN_AUTH_SAE, 538 const struct ieee80211_mgmt *mgmt, size_t len 1705 struct ieee80211_mgmt *mgmt; local 2055 const struct ieee80211_mgmt *mgmt; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
wnm_sta.c | 51 struct ieee80211_mgmt *mgmt; local 104 mgmt = os_zalloc(sizeof(*mgmt) + wnmsleep_ie_len + wnmtfs_ie_len); 105 if (mgmt == NULL) { 113 os_memcpy(mgmt->da, wpa_s->bssid, ETH_ALEN); 114 os_memcpy(mgmt->sa, wpa_s->own_addr, ETH_ALEN); 115 os_memcpy(mgmt->bssid, wpa_s->bssid, ETH_ALEN); 116 mgmt->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, 118 mgmt->u.action.category = WLAN_ACTION_WNM; 119 mgmt->u.action.u.wnm_sleep_req.action = WNM_SLEEP_MODE_REQ 501 struct ieee80211_mgmt *mgmt; local 703 struct ieee80211_mgmt *mgmt; local [all...] |
ap.c | 322 const struct ieee80211_mgmt *mgmt; local 325 mgmt = (const struct ieee80211_mgmt *) buf; 326 hdr_len = (const u8 *) &mgmt->u.action.u.vs_public_action.action - buf; 329 wpas_p2p_rx_action(wpa_s, mgmt->da, mgmt->sa, mgmt->bssid, 330 mgmt->u.action.category, 331 &mgmt->u.action.u.vs_public_action.action, 387 const struct ieee80211_mgmt *mgmt; local 390 mgmt = (const struct ieee80211_mgmt *) buf [all...] |
events.c | 439 wpa_dbg(wpa_s, MSG_DEBUG, " skip RSN IE - key mgmt " 449 wpa_dbg(wpa_s, MSG_DEBUG, " skip RSN IE - no mgmt " 496 wpa_dbg(wpa_s, MSG_DEBUG, " skip WPA IE - key mgmt " 2849 const struct ieee80211_mgmt *mgmt; local [all...] |
/external/wpa_supplicant_8/hostapd/ |
ctrl_iface.c | 569 struct ieee80211_mgmt *mgmt; local 579 mgmt = (struct ieee80211_mgmt *) buf; 580 mgmt->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, 582 os_memcpy(mgmt->da, addr, ETH_ALEN); 583 os_memcpy(mgmt->sa, hapd->own_addr, ETH_ALEN); 584 os_memcpy(mgmt->bssid, hapd->own_addr, ETH_ALEN); 585 mgmt->u.action.category = WLAN_ACTION_WNM; 586 mgmt->u.action.u.bss_tm_req.action = WNM_BSS_TRANS_MGMT_REQ; 587 mgmt->u.action.u.bss_tm_req.dialog_token = 1; 588 mgmt->u.action.u.bss_tm_req.req_mode 612 struct ieee80211_mgmt *mgmt; local [all...] |
/external/wpa_supplicant_8/src/drivers/ |
driver_hostap.c | 1028 struct ieee80211_mgmt mgmt; local 1040 memset(&mgmt, 0, sizeof(mgmt)); 1041 mgmt.frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, 1043 memcpy(mgmt.da, addr, ETH_ALEN); 1044 memcpy(mgmt.sa, own_addr, ETH_ALEN); 1045 memcpy(mgmt.bssid, own_addr, ETH_ALEN); 1046 mgmt.u.deauth.reason_code = host_to_le16(reason); 1047 return hostap_send_mlme(drv, (u8 *) &mgmt, IEEE80211_HDRLEN + 1048 sizeof(mgmt.u.deauth), 0) 1075 struct ieee80211_mgmt mgmt; local [all...] |
driver_madwifi.c | 712 const struct ieee80211_mgmt *mgmt; local 718 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.probe_req)) 720 mgmt = (const struct ieee80211_mgmt *) buf; 722 fc = le_to_host16(mgmt->frame_control); 728 event.rx_probe_req.sa = mgmt->sa; 729 event.rx_probe_req.da = mgmt->da; 730 event.rx_probe_req.bssid = mgmt->bssid; 731 event.rx_probe_req.ie = mgmt->u.probe_req.variable; 733 len - (IEEE80211_HDRLEN + sizeof(mgmt->u.probe_req)); [all...] |
driver_atheros.c | 739 const struct ieee80211_mgmt *mgmt; local 745 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.probe_req)) 747 mgmt = (const struct ieee80211_mgmt *) buf; 749 fc = le_to_host16(mgmt->frame_control); 755 event.rx_probe_req.sa = mgmt->sa; 756 event.rx_probe_req.da = mgmt->da; 757 event.rx_probe_req.bssid = mgmt->bssid; 758 event.rx_probe_req.ie = mgmt->u.probe_req.variable; 760 len - (IEEE80211_HDRLEN + sizeof(mgmt->u.probe_req)); 771 const struct ieee80211_mgmt *mgmt; local 850 const struct ieee80211_mgmt *mgmt; local 883 const struct ieee80211_mgmt *mgmt; local 1328 const struct ieee80211_mgmt *mgmt; local 1846 const struct ieee80211_mgmt *mgmt; local [all...] |
driver_test.c | 809 wpa_printf(MSG_ERROR, "%s: received non-mgmt frame", 1898 const struct ieee80211_mgmt *mgmt; local 3119 const struct ieee80211_mgmt *mgmt; local [all...] |
driver_nl80211.c | 1251 const struct ieee80211_mgmt *mgmt; local 1255 mgmt = (const struct ieee80211_mgmt *) frame; 1256 if (len < 24 + sizeof(mgmt->u.auth)) { 1262 os_memcpy(drv->auth_bssid, mgmt->sa, ETH_ALEN); 1265 os_memcpy(event.auth.peer, mgmt->sa, ETH_ALEN); 1266 event.auth.auth_type = le_to_host16(mgmt->u.auth.auth_alg); 1268 le_to_host16(mgmt->u.auth.auth_transaction); 1269 event.auth.status_code = le_to_host16(mgmt->u.auth.status_code); 1270 if (len > 24 + sizeof(mgmt->u.auth)) { 1271 event.auth.ies = mgmt->u.auth.variable 1315 const struct ieee80211_mgmt *mgmt; local 1519 const struct ieee80211_mgmt *mgmt; local 1602 const struct ieee80211_mgmt *mgmt; local 1684 const struct ieee80211_mgmt *mgmt; local 6144 struct ieee80211_mgmt *mgmt; local 7802 int mgmt = WLAN_AKM_SUITE_PSK; local 8637 struct ieee80211_mgmt mgmt; local 8661 struct ieee80211_mgmt mgmt; local [all...] |