/external/wpa_supplicant_8/src/ap/ |
D | wnm_ap.c | 49 struct ieee80211_mgmt *mgmt; in ieee802_11_send_wnmsleep_resp() local 91 mgmt = os_zalloc(sizeof(*mgmt) + wnmsleep_ie_len + in ieee802_11_send_wnmsleep_resp() 93 if (mgmt == NULL) { in ieee802_11_send_wnmsleep_resp() 98 os_memcpy(mgmt->da, addr, ETH_ALEN); in ieee802_11_send_wnmsleep_resp() 99 os_memcpy(mgmt->sa, hapd->own_addr, ETH_ALEN); in ieee802_11_send_wnmsleep_resp() 100 os_memcpy(mgmt->bssid, hapd->own_addr, ETH_ALEN); in ieee802_11_send_wnmsleep_resp() 101 mgmt->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, in ieee802_11_send_wnmsleep_resp() 103 mgmt->u.action.category = WLAN_ACTION_WNM; in ieee802_11_send_wnmsleep_resp() 104 mgmt->u.action.u.wnm_sleep_resp.action = WNM_SLEEP_MODE_RESP; in ieee802_11_send_wnmsleep_resp() 105 mgmt->u.action.u.wnm_sleep_resp.dialogtoken = dialog_token; in ieee802_11_send_wnmsleep_resp() [all …]
|
D | ieee802_11.c | 444 const struct ieee80211_mgmt *mgmt, size_t len, in handle_auth_sae() argument 465 resp = sae_parse_commit(sta->sae, mgmt->u.auth.variable, in handle_auth_sae() 466 ((const u8 *) mgmt) + len - in handle_auth_sae() 467 mgmt->u.auth.variable, &token, in handle_auth_sae() 504 if (sae_check_confirm(sta->sae, mgmt->u.auth.variable, in handle_auth_sae() 505 ((u8 *) mgmt) + len - in handle_auth_sae() 506 mgmt->u.auth.variable) < 0) { in handle_auth_sae() 534 send_auth_reply(hapd, mgmt->sa, mgmt->bssid, WLAN_AUTH_SAE, in handle_auth_sae() 544 const struct ieee80211_mgmt *mgmt, size_t len) in handle_auth() argument 560 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.auth)) { in handle_auth() [all …]
|
D | ctrl_iface_ap.c | 222 struct ieee80211_mgmt *mgmt; in p2p_manager_disconnect() local 229 mgmt = os_zalloc(sizeof(*mgmt) + 100); in p2p_manager_disconnect() 230 if (mgmt == NULL) in p2p_manager_disconnect() 233 mgmt->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, stype); in p2p_manager_disconnect() 237 fc2str(mgmt->frame_control)); in p2p_manager_disconnect() 239 os_memcpy(mgmt->da, addr, ETH_ALEN); in p2p_manager_disconnect() 240 os_memcpy(mgmt->sa, hapd->own_addr, ETH_ALEN); in p2p_manager_disconnect() 241 os_memcpy(mgmt->bssid, hapd->own_addr, ETH_ALEN); in p2p_manager_disconnect() 243 mgmt->u.deauth.reason_code = in p2p_manager_disconnect() 245 pos = (u8 *) (&mgmt->u.deauth.reason_code + 1); in p2p_manager_disconnect() [all …]
|
D | wmm.c | 232 const struct ieee80211_mgmt *mgmt, in wmm_addts_req() argument 235 const u8 *end = ((const u8 *) mgmt) + len; in wmm_addts_req() 245 mgmt->u.action.u.wmm_action.dialog_token, in wmm_addts_req() 246 MAC2STR(mgmt->sa)); in wmm_addts_req() 251 wmm_send_action(hapd, mgmt->sa, tspec, WMM_ACTION_CODE_ADDTS_RESP, in wmm_addts_req() 252 mgmt->u.action.u.wmm_action.dialog_token, res); in wmm_addts_req() 257 const struct ieee80211_mgmt *mgmt, size_t len) in hostapd_wmm_action() argument 261 const u8 *pos = ((const u8 *) mgmt) + IEEE80211_HDRLEN + 4; in hostapd_wmm_action() 263 struct sta_info *sta = ap_get_sta(hapd, mgmt->sa); in hostapd_wmm_action() 269 hostapd_logger(hapd, mgmt->sa, HOSTAPD_MODULE_IEEE80211, in hostapd_wmm_action() [all …]
|
D | ieee802_11_shared.c | 52 struct ieee80211_mgmt mgmt; in ieee802_11_send_sa_query_req() local 60 os_memset(&mgmt, 0, sizeof(mgmt)); in ieee802_11_send_sa_query_req() 61 mgmt.frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, in ieee802_11_send_sa_query_req() 63 os_memcpy(mgmt.da, addr, ETH_ALEN); in ieee802_11_send_sa_query_req() 64 os_memcpy(mgmt.sa, hapd->own_addr, ETH_ALEN); in ieee802_11_send_sa_query_req() 65 os_memcpy(mgmt.bssid, hapd->own_addr, ETH_ALEN); in ieee802_11_send_sa_query_req() 66 mgmt.u.action.category = WLAN_ACTION_SA_QUERY; in ieee802_11_send_sa_query_req() 67 mgmt.u.action.u.sa_query_req.action = WLAN_SA_QUERY_REQUEST; in ieee802_11_send_sa_query_req() 68 os_memcpy(mgmt.u.action.u.sa_query_req.trans_id, trans_id, in ieee802_11_send_sa_query_req() 70 end = mgmt.u.action.u.sa_query_req.trans_id + WLAN_SA_QUERY_TR_ID_LEN; in ieee802_11_send_sa_query_req() [all …]
|
D | beacon.c | 504 const struct ieee80211_mgmt *mgmt, size_t len, in handle_probe_req() argument 516 ie = mgmt->u.probe_req.variable; in handle_probe_req() 517 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.probe_req)) in handle_probe_req() 519 ie_len = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.probe_req)); in handle_probe_req() 523 mgmt->sa, mgmt->da, mgmt->bssid, in handle_probe_req() 532 MAC2STR(mgmt->sa)); in handle_probe_req() 539 MAC2STR(mgmt->sa)); in handle_probe_req() 573 "broadcast SSID ignored", MAC2STR(mgmt->sa)); in handle_probe_req() 577 sta = ap_get_sta(hapd, mgmt->sa); in handle_probe_req() 595 if (!(mgmt->da[0] & 0x01)) { in handle_probe_req() [all …]
|
D | ieee802_11_ht.c | 207 const struct ieee80211_mgmt *mgmt, size_t len) in hostapd_2040_coex_action() argument 214 const u8 *data = ((const u8 *) mgmt) + 1; in hostapd_2040_coex_action() 216 hostapd_logger(hapd, mgmt->sa, HOSTAPD_MODULE_IEEE80211, in hostapd_2040_coex_action() 218 mgmt->u.action.u.public_action.action); in hostapd_2040_coex_action() 232 hostapd_logger(hapd, mgmt->sa, in hostapd_2040_coex_action() 240 hostapd_logger(hapd, mgmt->sa, in hostapd_2040_coex_action() 254 hostapd_logger(hapd, mgmt->sa, in hostapd_2040_coex_action() 267 hostapd_logger(hapd, mgmt->sa, in hostapd_2040_coex_action()
|
D | drv_callbacks.c | 618 struct ieee80211_mgmt *mgmt; in hostapd_action_rx() local 628 mgmt = (struct ieee80211_mgmt *) drv_mgmt->frame; in hostapd_action_rx() 629 fc = le_to_host16(mgmt->frame_control); in hostapd_action_rx() 634 mgmt->u.action.category, (int) plen); in hostapd_action_rx() 636 sta = ap_get_sta(hapd, mgmt->sa); in hostapd_action_rx() 642 if (mgmt->u.action.category == WLAN_ACTION_FT) { in hostapd_action_rx() 648 if (mgmt->u.action.category == WLAN_ACTION_SA_QUERY && plen >= 4) { in hostapd_action_rx() 650 hapd, mgmt->sa, in hostapd_action_rx() 651 mgmt->u.action.u.sa_query_resp.action, in hostapd_action_rx() 652 mgmt->u.action.u.sa_query_resp.trans_id); in hostapd_action_rx() [all …]
|
D | wnm_ap.h | 15 const struct ieee80211_mgmt *mgmt, size_t len);
|
D | wmm.h | 20 const struct ieee80211_mgmt *mgmt, size_t len);
|
D | ap_list.c | 170 const struct ieee80211_mgmt *mgmt, in ap_list_process_beacon() argument 181 ap = ap_get_ap(iface, mgmt->bssid); in ap_list_process_beacon() 183 ap = ap_ap_add(iface, mgmt->bssid); in ap_list_process_beacon()
|
D | beacon.h | 16 const struct ieee80211_mgmt *mgmt, size_t len,
|
D | ap_list.h | 36 const struct ieee80211_mgmt *mgmt,
|
D | gas_serv.c | 1215 const struct ieee80211_mgmt *mgmt; in gas_serv_rx_public_action() local 1219 mgmt = (const struct ieee80211_mgmt *) buf; in gas_serv_rx_public_action() 1222 if (mgmt->u.action.category != WLAN_ACTION_PUBLIC && in gas_serv_rx_public_action() 1223 mgmt->u.action.category != WLAN_ACTION_PROTECTED_DUAL) in gas_serv_rx_public_action() 1230 prot = mgmt->u.action.category == WLAN_ACTION_PROTECTED_DUAL; in gas_serv_rx_public_action() 1231 sa = mgmt->sa; in gas_serv_rx_public_action()
|
D | ieee802_11.h | 24 const struct ieee80211_mgmt *mgmt, size_t len);
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wnm_sta.c | 52 struct ieee80211_mgmt *mgmt; in ieee802_11_send_wnmsleep_req() local 105 mgmt = os_zalloc(sizeof(*mgmt) + wnmsleep_ie_len + wnmtfs_ie_len); in ieee802_11_send_wnmsleep_req() 106 if (mgmt == NULL) { in ieee802_11_send_wnmsleep_req() 114 os_memcpy(mgmt->da, wpa_s->bssid, ETH_ALEN); in ieee802_11_send_wnmsleep_req() 115 os_memcpy(mgmt->sa, wpa_s->own_addr, ETH_ALEN); in ieee802_11_send_wnmsleep_req() 116 os_memcpy(mgmt->bssid, wpa_s->bssid, ETH_ALEN); in ieee802_11_send_wnmsleep_req() 117 mgmt->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, in ieee802_11_send_wnmsleep_req() 119 mgmt->u.action.category = WLAN_ACTION_WNM; in ieee802_11_send_wnmsleep_req() 120 mgmt->u.action.u.wnm_sleep_req.action = WNM_SLEEP_MODE_REQ; in ieee802_11_send_wnmsleep_req() 121 mgmt->u.action.u.wnm_sleep_req.dialogtoken = 1; in ieee802_11_send_wnmsleep_req() [all …]
|
D | events.c | 2806 const struct ieee80211_mgmt *mgmt; local 2814 mgmt = (const struct ieee80211_mgmt *) frame; 2821 MAC2STR(mgmt->sa), category, (int) plen, freq); 2833 sme_sa_query_rx(wpa_s, mgmt->sa, payload, plen); 2840 if (mgmt->u.action.category == WLAN_ACTION_WNM) { 2841 ieee802_11_rx_wnm_action(wpa_s, mgmt, len); 2847 if ((mgmt->u.action.category == WLAN_ACTION_PUBLIC || 2848 mgmt->u.action.category == WLAN_ACTION_PROTECTED_DUAL) && 2849 gas_query_rx(wpa_s->gas, mgmt->da, mgmt->sa, mgmt->bssid, 2850 mgmt->u.action.category, [all …]
|
D | ap.c | 375 const struct ieee80211_mgmt *mgmt; in ap_public_action_rx() local 377 mgmt = (const struct ieee80211_mgmt *) buf; in ap_public_action_rx() 380 if (mgmt->u.action.category != WLAN_ACTION_PUBLIC) in ap_public_action_rx() 382 wpas_p2p_rx_action(wpa_s, mgmt->da, mgmt->sa, mgmt->bssid, in ap_public_action_rx() 383 mgmt->u.action.category, in ap_public_action_rx() 440 const struct ieee80211_mgmt *mgmt; in ap_vendor_action_rx() local 442 mgmt = (const struct ieee80211_mgmt *) buf; in ap_vendor_action_rx() 445 wpas_p2p_rx_action(wpa_s, mgmt->da, mgmt->sa, mgmt->bssid, in ap_vendor_action_rx() 446 mgmt->u.action.category, in ap_vendor_action_rx()
|
D | wnm_sta.h | 70 const struct ieee80211_mgmt *mgmt, size_t len);
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_atheros.c | 777 const struct ieee80211_mgmt *mgmt; in atheros_raw_recv_wps() local 783 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.probe_req)) in atheros_raw_recv_wps() 785 mgmt = (const struct ieee80211_mgmt *) buf; in atheros_raw_recv_wps() 787 fc = le_to_host16(mgmt->frame_control); in atheros_raw_recv_wps() 793 event.rx_probe_req.sa = mgmt->sa; in atheros_raw_recv_wps() 794 event.rx_probe_req.da = mgmt->da; in atheros_raw_recv_wps() 795 event.rx_probe_req.bssid = mgmt->bssid; in atheros_raw_recv_wps() 796 event.rx_probe_req.ie = mgmt->u.probe_req.variable; in atheros_raw_recv_wps() 798 len - (IEEE80211_HDRLEN + sizeof(mgmt->u.probe_req)); in atheros_raw_recv_wps() 809 const struct ieee80211_mgmt *mgmt; in atheros_raw_recv_11r() local [all …]
|
D | driver_hostap.c | 1028 struct ieee80211_mgmt mgmt; in hostap_sta_deauth() local 1040 memset(&mgmt, 0, sizeof(mgmt)); in hostap_sta_deauth() 1041 mgmt.frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, in hostap_sta_deauth() 1043 memcpy(mgmt.da, addr, ETH_ALEN); in hostap_sta_deauth() 1044 memcpy(mgmt.sa, own_addr, ETH_ALEN); in hostap_sta_deauth() 1045 memcpy(mgmt.bssid, own_addr, ETH_ALEN); in hostap_sta_deauth() 1046 mgmt.u.deauth.reason_code = host_to_le16(reason); in hostap_sta_deauth() 1047 return hostap_send_mlme(drv, (u8 *) &mgmt, IEEE80211_HDRLEN + in hostap_sta_deauth() 1048 sizeof(mgmt.u.deauth), 0); in hostap_sta_deauth() 1075 struct ieee80211_mgmt mgmt; in hostap_sta_disassoc() local [all …]
|
D | driver_nl80211.c | 1456 const struct ieee80211_mgmt *mgmt; in mlme_event_auth() local 1471 mgmt = (const struct ieee80211_mgmt *) frame; in mlme_event_auth() 1472 if (len < 24 + sizeof(mgmt->u.auth)) { in mlme_event_auth() 1478 os_memcpy(drv->auth_bssid, mgmt->sa, ETH_ALEN); in mlme_event_auth() 1481 os_memcpy(event.auth.peer, mgmt->sa, ETH_ALEN); in mlme_event_auth() 1482 event.auth.auth_type = le_to_host16(mgmt->u.auth.auth_alg); in mlme_event_auth() 1484 le_to_host16(mgmt->u.auth.auth_transaction); in mlme_event_auth() 1485 event.auth.status_code = le_to_host16(mgmt->u.auth.status_code); in mlme_event_auth() 1486 if (len > 24 + sizeof(mgmt->u.auth)) { in mlme_event_auth() 1487 event.auth.ies = mgmt->u.auth.variable; in mlme_event_auth() [all …]
|
D | driver_madwifi.c | 708 const struct ieee80211_mgmt *mgmt; in madwifi_raw_receive() local 714 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.probe_req)) in madwifi_raw_receive() 716 mgmt = (const struct ieee80211_mgmt *) buf; in madwifi_raw_receive() 718 fc = le_to_host16(mgmt->frame_control); in madwifi_raw_receive() 724 event.rx_probe_req.sa = mgmt->sa; in madwifi_raw_receive() 725 event.rx_probe_req.da = mgmt->da; in madwifi_raw_receive() 726 event.rx_probe_req.bssid = mgmt->bssid; in madwifi_raw_receive() 727 event.rx_probe_req.ie = mgmt->u.probe_req.variable; in madwifi_raw_receive() 729 len - (IEEE80211_HDRLEN + sizeof(mgmt->u.probe_req)); in madwifi_raw_receive()
|
D | driver_test.c | 1837 const struct ieee80211_mgmt *mgmt; in wpa_driver_test_mlme() local 1876 mgmt = (const struct ieee80211_mgmt *) data; in wpa_driver_test_mlme() 1877 fc = le_to_host16(mgmt->frame_control); in wpa_driver_test_mlme() 1883 event.rx_probe_req.sa = mgmt->sa; in wpa_driver_test_mlme() 1884 event.rx_probe_req.da = mgmt->da; in wpa_driver_test_mlme() 1885 event.rx_probe_req.bssid = mgmt->bssid; in wpa_driver_test_mlme() 1886 event.rx_probe_req.ie = mgmt->u.probe_req.variable; in wpa_driver_test_mlme() 1888 data_len - (mgmt->u.probe_req.variable - data); in wpa_driver_test_mlme()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/iana/ |
D | IANAObjectIdentifiers.java | 17 static final ASN1ObjectIdentifier mgmt = internet.branch("2"); field
|