/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 1671 struct ieee80211_mgmt *mgmt; local 1990 const struct ieee80211_mgmt *mgmt; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
wnm_sta.c | 46 struct ieee80211_mgmt *mgmt; local 99 mgmt = os_zalloc(sizeof(*mgmt) + wnmsleep_ie_len + wnmtfs_ie_len); 100 if (mgmt == NULL) { 108 os_memcpy(mgmt->da, wpa_s->bssid, ETH_ALEN); 109 os_memcpy(mgmt->sa, wpa_s->own_addr, ETH_ALEN); 110 os_memcpy(mgmt->bssid, wpa_s->bssid, ETH_ALEN); 111 mgmt->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, 113 mgmt->u.action.category = WLAN_ACTION_WNM; 114 mgmt->u.action.u.wnm_sleep_req.action = WNM_SLEEP_MODE_REQ 302 struct ieee80211_mgmt *mgmt; local [all...] |
ap.c | 321 const struct ieee80211_mgmt *mgmt; local 324 mgmt = (const struct ieee80211_mgmt *) buf; 325 hdr_len = (const u8 *) &mgmt->u.action.u.vs_public_action.action - buf; 328 wpas_p2p_rx_action(wpa_s, mgmt->da, mgmt->sa, mgmt->bssid, 329 mgmt->u.action.category, 330 &mgmt->u.action.u.vs_public_action.action, 373 const struct ieee80211_mgmt *mgmt; local 376 mgmt = (const struct ieee80211_mgmt *) buf [all...] |
events.c | 429 wpa_dbg(wpa_s, MSG_DEBUG, " skip RSN IE - key mgmt " 439 wpa_dbg(wpa_s, MSG_DEBUG, " skip RSN IE - no mgmt " 486 wpa_dbg(wpa_s, MSG_DEBUG, " skip WPA IE - key mgmt " 2722 const struct ieee80211_mgmt *mgmt; local [all...] |
/external/wpa_supplicant_8/hostapd/ |
ctrl_iface.c | 499 struct ieee80211_mgmt *mgmt; local 509 mgmt = (struct ieee80211_mgmt *) buf; 510 mgmt->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, 512 os_memcpy(mgmt->da, addr, ETH_ALEN); 513 os_memcpy(mgmt->sa, hapd->own_addr, ETH_ALEN); 514 os_memcpy(mgmt->bssid, hapd->own_addr, ETH_ALEN); 515 mgmt->u.action.category = WLAN_ACTION_WNM; 516 mgmt->u.action.u.bss_tm_req.action = WNM_BSS_TRANS_MGMT_REQ; 517 mgmt->u.action.u.bss_tm_req.dialog_token = 1; 518 mgmt->u.action.u.bss_tm_req.req_mode 542 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 | 1044 const struct ieee80211_mgmt *mgmt; local 1048 mgmt = (const struct ieee80211_mgmt *) frame; 1049 if (len < 24 + sizeof(mgmt->u.auth)) { 1055 os_memcpy(drv->auth_bssid, mgmt->sa, ETH_ALEN); 1057 os_memcpy(event.auth.peer, mgmt->sa, ETH_ALEN); 1058 event.auth.auth_type = le_to_host16(mgmt->u.auth.auth_alg); 1060 le_to_host16(mgmt->u.auth.auth_transaction); 1061 event.auth.status_code = le_to_host16(mgmt->u.auth.status_code); 1062 if (len > 24 + sizeof(mgmt->u.auth)) { 1063 event.auth.ies = mgmt->u.auth.variable 1105 const struct ieee80211_mgmt *mgmt; local 1306 const struct ieee80211_mgmt *mgmt; local 1389 const struct ieee80211_mgmt *mgmt; local 1455 const struct ieee80211_mgmt *mgmt; local 5712 struct ieee80211_mgmt *mgmt; local 7292 int mgmt = WLAN_AKM_SUITE_PSK; local 8115 struct ieee80211_mgmt mgmt; local 8139 struct ieee80211_mgmt mgmt; local [all...] |