| /src/external/bsd/wpa/dist/src/ap/ |
| rrm.c | 98 const struct ieee80211_mgmt *mgmt = (const struct ieee80211_mgmt *) buf; local 103 token = mgmt->u.action.u.rrm.dialog_token; 104 pos = mgmt->u.action.u.rrm.variable; 124 hostapd_handle_beacon_report(hapd, mgmt->sa, token, 281 const struct ieee80211_mgmt *mgmt = (const struct ieee80211_mgmt *) buf; local 296 token = mgmt->u.action.u.rrm.dialog_token; 297 pos = mgmt->u.action.u.rrm.variable; 332 hostapd_send_nei_report_resp(hapd, mgmt->sa, token, &ssid, lci, civic, 352 const struct ieee80211_mgmt *mgmt = (const struct ieee80211_mgmt *) buf; local 358 pos = mgmt->u.action.u.rrm.variable 387 const struct ieee80211_mgmt *mgmt = (const struct ieee80211_mgmt *) buf; local [all...] |
| ieee802_11_shared.c | 68 struct ieee80211_mgmt *mgmt; local 114 mgmt = os_zalloc(sizeof(*mgmt) + oci_ie_len); 115 if (!mgmt) { 127 mgmt->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, 129 os_memcpy(mgmt->da, addr, ETH_ALEN); 130 os_memcpy(mgmt->sa, own_addr, ETH_ALEN); 131 os_memcpy(mgmt->bssid, own_addr, ETH_ALEN); 132 mgmt->u.action.category = WLAN_ACTION_SA_QUERY; 133 mgmt->u.action.u.sa_query_req.action = WLAN_SA_QUERY_REQUEST [all...] |
| wnm_ap.c | 66 struct ieee80211_mgmt *mgmt; local 151 mgmt = os_zalloc(sizeof(*mgmt) + wnmsleep_ie_len + 155 if (mgmt == NULL) { 164 os_memcpy(mgmt->da, addr, ETH_ALEN); 165 os_memcpy(mgmt->sa, own_addr, ETH_ALEN); 166 os_memcpy(mgmt->bssid, own_addr, ETH_ALEN); 167 mgmt->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, 169 mgmt->u.action.category = WLAN_ACTION_WNM; 170 mgmt->u.action.u.wnm_sleep_resp.action = WNM_SLEEP_MODE_RESP 386 struct ieee80211_mgmt *mgmt; local 847 struct ieee80211_mgmt *mgmt; local 913 struct ieee80211_mgmt *mgmt; local 966 struct ieee80211_mgmt *mgmt; local 1064 struct ieee80211_mgmt *mgmt; local [all...] |
| ctrl_iface_ap.c | 570 struct ieee80211_mgmt *mgmt; local 574 mgmt = os_zalloc(sizeof(*mgmt) + 100); 575 if (mgmt == NULL) 578 mgmt->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, stype); 582 fc2str(le_to_host16(mgmt->frame_control))); 584 os_memcpy(mgmt->da, addr, ETH_ALEN); 585 os_memcpy(mgmt->sa, hapd->own_addr, ETH_ALEN); 586 os_memcpy(mgmt->bssid, hapd->own_addr, ETH_ALEN); 588 mgmt->u.deauth.reason_code 636 struct ieee80211_mgmt mgmt; local 698 struct ieee80211_mgmt mgmt; local [all...] |
| drv_callbacks.c | 1644 struct ieee80211_mgmt *mgmt; local 1655 mgmt = (struct ieee80211_mgmt *) drv_mgmt->frame; 1656 fc = le_to_host16(mgmt->frame_control); 1660 action = (u8 *) &mgmt->u.action.u; 1663 mgmt->u.action.category, *action, 1664 MAC2STR(mgmt->sa), MAC2STR(mgmt->da), (int) plen); 1666 sta = ap_get_sta(hapd, mgmt->sa); 1672 if (mgmt->u.action.category == WLAN_ACTION_FT) { 1673 wpa_ft_action_rx(sta->wpa_sm, (u8 *) &mgmt->u.action, plen) [all...] |
| gas_serv.c | 1847 const struct ieee80211_mgmt *mgmt; local 1851 mgmt = (const struct ieee80211_mgmt *) buf; 1854 if (mgmt->u.action.category != WLAN_ACTION_PUBLIC && 1855 mgmt->u.action.category != WLAN_ACTION_PROTECTED_DUAL) 1862 prot = mgmt->u.action.category == WLAN_ACTION_PROTECTED_DUAL; 1863 sa = mgmt->sa; 1869 std_addr3 = is_broadcast_ether_addr(mgmt->bssid);
|
| ieee802_11.c | 85 const struct ieee80211_mgmt *mgmt, size_t len, 328 * TODO: Also consider driver support for TPC to set Spectrum Mgmt bit 1307 const struct ieee80211_mgmt *mgmt, size_t len, 1324 pos = mgmt->u.auth.variable; 1325 end = ((const u8 *) mgmt) + len; 1382 pos = mgmt->u.auth.variable; 1383 end = ((const u8 *) mgmt) + len; 1457 pos = mgmt->u.auth.variable; 1458 end = ((const u8 *) mgmt) + len; 1475 resp = sae_parse_commit(sta->sae, mgmt->u.auth.variable 1760 const struct ieee80211_mgmt *mgmt; local 6230 struct ieee80211_mgmt *mgmt; local 6844 const struct ieee80211_mgmt *mgmt; local [all...] |
| wpa_auth.c | 3197 const struct ieee80211_mgmt *mgmt, size_t frame_len, 3217 end = ((const u8 *) mgmt) + frame_len; 3218 fc = le_to_host16(mgmt->frame_control); 3221 ie_start = mgmt->u.reassoc_req.variable; 3223 ie_start = mgmt->u.assoc_req.variable; 3248 aad[0] = mgmt->sa; 3251 aad[1] = mgmt->da; 3263 aad[4] = (const u8 *) &mgmt->u.assoc_req.capab_info; 3290 struct ieee80211_mgmt *mgmt; local 3302 mgmt = (struct ieee80211_mgmt *) buf [all...] |
| /src/external/bsd/wpa/dist/src/pasn/ |
| pasn_initiator.c | 1025 const struct ieee80211_mgmt *mgmt, 1030 if (!mgmt || len < offsetof(struct ieee80211_mgmt, u.auth.variable)) 1034 fc = le_to_host16(mgmt->frame_control); 1040 if (!ether_addr_equal(mgmt->bssid, pasn->bssid)) 1043 if (rx && (!ether_addr_equal(mgmt->da, pasn->own_addr) || 1044 !ether_addr_equal(mgmt->sa, pasn->peer_addr))) 1047 if (!rx && (!ether_addr_equal(mgmt->sa, pasn->own_addr) || 1048 !ether_addr_equal(mgmt->da, pasn->peer_addr))) 1052 if (mgmt->u.auth.auth_alg != host_to_le16(WLAN_AUTH_PASN)) 1065 const struct ieee80211_mgmt *mgmt local 1370 const struct ieee80211_mgmt *mgmt = local [all...] |
| /src/sys/dev/ic/ |
| stivar.h | 55 sti_mgmt_t mgmt; member in struct:sti_rom
|
| stireg.h | 322 STI_DEP(mgmt); variable
|
| /src/external/bsd/wpa/dist/wpa_supplicant/ |
| mesh_mpm.c | 86 wpa_msg(wpa_s, MSG_DEBUG, "MPM: Invalid peer mgmt ie"); 862 const struct ieee80211_mgmt *mgmt; local 865 mgmt = wpabuf_head(data->mesh_pending_auth); 868 ether_addr_equal(mgmt->sa, addr)) { 1155 const struct ieee80211_mgmt *mgmt, size_t len) 1170 if (mgmt->u.action.category != WLAN_ACTION_SELF_PROTECTED) 1173 action_field = mgmt->u.action.u.slf_prot_action.action; 1179 ies = mgmt->u.action.u.slf_prot_action.variable; 1180 ie_len = (const u8 *) mgmt + len - 1181 mgmt->u.action.u.slf_prot_action.variable [all...] |
| ap.c | 834 const struct ieee80211_mgmt *mgmt; local 836 mgmt = (const struct ieee80211_mgmt *) buf; 839 if (mgmt->u.action.category != WLAN_ACTION_PUBLIC) 841 wpas_p2p_rx_action(wpa_s, mgmt->da, mgmt->sa, mgmt->bssid, 842 mgmt->u.action.category, 900 const struct ieee80211_mgmt *mgmt; local 902 mgmt = (const struct ieee80211_mgmt *) buf; 905 wpas_p2p_rx_action(wpa_s, mgmt->da, mgmt->sa, mgmt->bssid [all...] |
| wnm_sta.c | 59 struct ieee80211_mgmt *mgmt; local 153 mgmt = os_zalloc(sizeof(*mgmt) + wnmsleep_ie_len + wnmtfs_ie_len + 155 if (mgmt == NULL) { 163 os_memcpy(mgmt->da, wpa_s->bssid, ETH_ALEN); 164 os_memcpy(mgmt->sa, wpa_s->own_addr, ETH_ALEN); 165 os_memcpy(mgmt->bssid, wpa_s->bssid, ETH_ALEN); 166 mgmt->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, 168 mgmt->u.action.category = WLAN_ACTION_WNM; 169 mgmt->u.action.u.wnm_sleep_req.action = WNM_SLEEP_MODE_REQ [all...] |
| events.c | 742 " skip RSN IE - group mgmt cipher mismatch"); 764 " skip RSN IE - key mgmt mismatch"); 773 " skip RSN IE - no mgmt frame protection"); 781 " skip RSN IE - no mgmt frame protection enabled but AP requires it"); 870 " skip WPA IE - key mgmt mismatch"); 3356 wpa_dbg(wpa_s, MSG_DEBUG, "WPA: using MGMT group cipher %s", 3359 wpa_dbg(wpa_s, MSG_DEBUG, "WPA: not using MGMT group cipher"); 5291 const struct ieee80211_mgmt *mgmt; local 5299 mgmt = (const struct ieee80211_mgmt *) frame; 5306 MAC2STR(mgmt->sa), category, (int) plen, freq) 6418 const struct ieee80211_mgmt *mgmt; local [all...] |
| /src/external/bsd/wpa/dist/src/drivers/ |
| driver_hostap.c | 1038 struct ieee80211_mgmt mgmt; local 1050 memset(&mgmt, 0, sizeof(mgmt)); 1051 mgmt.frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, 1053 memcpy(mgmt.da, addr, ETH_ALEN); 1054 memcpy(mgmt.sa, own_addr, ETH_ALEN); 1055 memcpy(mgmt.bssid, own_addr, ETH_ALEN); 1056 mgmt.u.deauth.reason_code = host_to_le16(reason); 1057 return hostap_send_mlme(drv, (u8 *) &mgmt, IEEE80211_HDRLEN + 1058 sizeof(mgmt.u.deauth), 0, 0, NULL, 0, 0, 0, -1) 1086 struct ieee80211_mgmt mgmt; local [all...] |
| driver_atheros.c | 859 const struct ieee80211_mgmt *mgmt; local 868 mgmt = (const struct ieee80211_mgmt *) buf; 870 fc = le_to_host16(mgmt->frame_control); 885 event.rx_probe_req.sa = mgmt->sa; 886 event.rx_probe_req.da = mgmt->da; 887 event.rx_probe_req.bssid = mgmt->bssid; 895 (ether_addr_equal(drv->own_addr, mgmt->bssid) || 896 is_broadcast_ether_addr(mgmt->bssid))) { 904 if (!ether_addr_equal(drv->own_addr, mgmt->bssid)) { 912 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_req) 1393 const struct ieee80211_mgmt *mgmt; local 1973 const struct ieee80211_mgmt *mgmt; local [all...] |
| driver_nl80211_event.c | 200 const struct ieee80211_mgmt *mgmt; local 215 mgmt = (const struct ieee80211_mgmt *) frame; 216 if (len < 24 + sizeof(mgmt->u.auth)) { 222 os_memcpy(drv->auth_bssid, mgmt->sa, ETH_ALEN); 225 os_memcpy(event.auth.peer, mgmt->sa, ETH_ALEN); 226 event.auth.auth_type = le_to_host16(mgmt->u.auth.auth_alg); 228 le_to_host16(mgmt->u.auth.auth_transaction); 229 event.auth.status_code = le_to_host16(mgmt->u.auth.status_code); 230 if (len > 24 + sizeof(mgmt->u.auth)) { 231 event.auth.ies = mgmt->u.auth.variable 263 const struct ieee80211_mgmt *mgmt; local 1341 const struct ieee80211_mgmt *mgmt; local 1452 const struct ieee80211_mgmt *mgmt; local 1580 const struct ieee80211_mgmt *mgmt; local 1616 const struct ieee80211_mgmt *mgmt; local 1700 const struct ieee80211_mgmt *mgmt; local [all...] |
| driver_nl80211.c | 2458 wpa_printf(MSG_DEBUG, "nl80211: Mgmt reporting " 2463 bss->nl_mgmt = nl_create_handle(bss->nl_cb, "mgmt"); 2504 wpa_printf(MSG_DEBUG, "nl80211: Subscribe to mgmt frames with non-AP " 2690 "nl80211: Subscribe to mgmt frames with mesh handle %p", 2797 wpa_printf(MSG_DEBUG, "nl80211: Subscribe to mgmt frames with AP " 2828 wpa_printf(MSG_DEBUG, "nl80211: Subscribe to mgmt frames with AP " 2857 wpa_printf(MSG_DEBUG, "nl80211: Unsubscribe mgmt frames handle %p " 4251 struct ieee80211_mgmt *mgmt; local 4258 mgmt = (struct ieee80211_mgmt *) data; 4259 fc = le_to_host16(mgmt->frame_control) 6884 u32 *mgmt; local 8249 struct ieee80211_mgmt mgmt; local 8285 struct ieee80211_mgmt mgmt; local [all...] |
| /src/external/bsd/wpa/dist/src/rsn_supp/ |
| wpa.c | 6186 const struct ieee80211_mgmt *mgmt; local 6214 mgmt = (const struct ieee80211_mgmt *) resp; 6215 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_resp)) 6220 ie_start = mgmt->u.assoc_resp.variable;
|