Home
last modified time | relevance | path

Searched refs:mgmt (Results 1 – 25 of 28) sorted by relevance

12

/external/wpa_supplicant_8/src/ap/
Dwnm_ap.c50 struct ieee80211_mgmt *mgmt; in ieee802_11_send_wnmsleep_resp() local
92 mgmt = os_zalloc(sizeof(*mgmt) + wnmsleep_ie_len + in ieee802_11_send_wnmsleep_resp()
94 if (mgmt == NULL) { in ieee802_11_send_wnmsleep_resp()
99 os_memcpy(mgmt->da, addr, ETH_ALEN); in ieee802_11_send_wnmsleep_resp()
100 os_memcpy(mgmt->sa, hapd->own_addr, ETH_ALEN); in ieee802_11_send_wnmsleep_resp()
101 os_memcpy(mgmt->bssid, hapd->own_addr, ETH_ALEN); in ieee802_11_send_wnmsleep_resp()
102 mgmt->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, in ieee802_11_send_wnmsleep_resp()
104 mgmt->u.action.category = WLAN_ACTION_WNM; in ieee802_11_send_wnmsleep_resp()
105 mgmt->u.action.u.wnm_sleep_resp.action = WNM_SLEEP_MODE_RESP; in ieee802_11_send_wnmsleep_resp()
106 mgmt->u.action.u.wnm_sleep_resp.dialogtoken = dialog_token; in ieee802_11_send_wnmsleep_resp()
[all …]
Dieee802_11.c693 const struct ieee80211_mgmt *mgmt, size_t len, in handle_auth_sae() argument
720 pos = mgmt->u.auth.variable; in handle_auth_sae()
721 end = ((const u8 *) mgmt) + len; in handle_auth_sae()
754 if (auth_sae_send_commit(hapd, sta, mgmt->bssid, 0)) { in handle_auth_sae()
768 resp = sae_parse_commit(sta->sae, mgmt->u.auth.variable, in handle_auth_sae()
769 ((const u8 *) mgmt) + len - in handle_auth_sae()
770 mgmt->u.auth.variable, &token, in handle_auth_sae()
801 resp = sae_sm_step(hapd, sta, mgmt->bssid, auth_transaction); in handle_auth_sae()
811 if (sae_check_confirm(sta->sae, mgmt->u.auth.variable, in handle_auth_sae()
812 ((u8 *) mgmt) + len - in handle_auth_sae()
[all …]
Dctrl_iface_ap.c239 struct ieee80211_mgmt *mgmt; in p2p_manager_disconnect() local
246 mgmt = os_zalloc(sizeof(*mgmt) + 100); in p2p_manager_disconnect()
247 if (mgmt == NULL) in p2p_manager_disconnect()
250 mgmt->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, stype); in p2p_manager_disconnect()
254 fc2str(mgmt->frame_control)); in p2p_manager_disconnect()
256 os_memcpy(mgmt->da, addr, ETH_ALEN); in p2p_manager_disconnect()
257 os_memcpy(mgmt->sa, hapd->own_addr, ETH_ALEN); in p2p_manager_disconnect()
258 os_memcpy(mgmt->bssid, hapd->own_addr, ETH_ALEN); in p2p_manager_disconnect()
260 mgmt->u.deauth.reason_code = in p2p_manager_disconnect()
262 pos = (u8 *) (&mgmt->u.deauth.reason_code + 1); in p2p_manager_disconnect()
[all …]
Dwmm.c232 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 …]
Dieee802_11_shared.c52 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 …]
Dbeacon.c543 const struct ieee80211_mgmt *mgmt, size_t len, in handle_probe_req() argument
554 ie = mgmt->u.probe_req.variable; in handle_probe_req()
555 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.probe_req)) in handle_probe_req()
557 ie_len = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.probe_req)); in handle_probe_req()
561 mgmt->sa, mgmt->da, mgmt->bssid, in handle_probe_req()
570 MAC2STR(mgmt->sa)); in handle_probe_req()
577 MAC2STR(mgmt->sa)); in handle_probe_req()
632 "broadcast SSID ignored", MAC2STR(mgmt->sa)); in handle_probe_req()
649 if (!(mgmt->da[0] & 0x01)) { in handle_probe_req()
652 MAC2STR(mgmt->sa), in handle_probe_req()
[all …]
Dieee802_11_ht.c207 const struct ieee80211_mgmt *mgmt, size_t len) in hostapd_2040_coex_action() argument
214 const u8 *start = (const u8 *) mgmt; in hostapd_2040_coex_action()
217 hostapd_logger(hapd, mgmt->sa, HOSTAPD_MODULE_IEEE80211, in hostapd_2040_coex_action()
219 mgmt->u.action.u.public_action.action); in hostapd_2040_coex_action()
241 hostapd_logger(hapd, mgmt->sa, in hostapd_2040_coex_action()
249 hostapd_logger(hapd, mgmt->sa, in hostapd_2040_coex_action()
274 hostapd_logger(hapd, mgmt->sa, in hostapd_2040_coex_action()
288 hostapd_logger(hapd, mgmt->sa, in hostapd_2040_coex_action()
Ddrv_callbacks.c712 struct ieee80211_mgmt *mgmt; in hostapd_action_rx() local
722 mgmt = (struct ieee80211_mgmt *) drv_mgmt->frame; in hostapd_action_rx()
723 fc = le_to_host16(mgmt->frame_control); in hostapd_action_rx()
728 mgmt->u.action.category, (int) plen); in hostapd_action_rx()
730 sta = ap_get_sta(hapd, mgmt->sa); in hostapd_action_rx()
736 if (mgmt->u.action.category == WLAN_ACTION_FT) { in hostapd_action_rx()
742 if (mgmt->u.action.category == WLAN_ACTION_SA_QUERY && plen >= 4) { in hostapd_action_rx()
744 hapd, mgmt->sa, in hostapd_action_rx()
745 mgmt->u.action.u.sa_query_resp.action, in hostapd_action_rx()
746 mgmt->u.action.u.sa_query_resp.trans_id); in hostapd_action_rx()
[all …]
Dap_list.c170 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()
Dwmm.h20 const struct ieee80211_mgmt *mgmt, size_t len);
Dbeacon.h16 const struct ieee80211_mgmt *mgmt, size_t len,
Dwnm_ap.h15 const struct ieee80211_mgmt *mgmt, size_t len);
Dap_list.h36 const struct ieee80211_mgmt *mgmt,
Dgas_serv.c1239 const struct ieee80211_mgmt *mgmt; in gas_serv_rx_public_action() local
1243 mgmt = (const struct ieee80211_mgmt *) buf; in gas_serv_rx_public_action()
1246 if (mgmt->u.action.category != WLAN_ACTION_PUBLIC && in gas_serv_rx_public_action()
1247 mgmt->u.action.category != WLAN_ACTION_PROTECTED_DUAL) in gas_serv_rx_public_action()
1254 prot = mgmt->u.action.category == WLAN_ACTION_PROTECTED_DUAL; in gas_serv_rx_public_action()
1255 sa = mgmt->sa; in gas_serv_rx_public_action()
/external/wpa_supplicant_8/wpa_supplicant/
Dwnm_sta.c53 struct ieee80211_mgmt *mgmt; in ieee802_11_send_wnmsleep_req() local
106 mgmt = os_zalloc(sizeof(*mgmt) + wnmsleep_ie_len + wnmtfs_ie_len); in ieee802_11_send_wnmsleep_req()
107 if (mgmt == NULL) { in ieee802_11_send_wnmsleep_req()
115 os_memcpy(mgmt->da, wpa_s->bssid, ETH_ALEN); in ieee802_11_send_wnmsleep_req()
116 os_memcpy(mgmt->sa, wpa_s->own_addr, ETH_ALEN); in ieee802_11_send_wnmsleep_req()
117 os_memcpy(mgmt->bssid, wpa_s->bssid, ETH_ALEN); in ieee802_11_send_wnmsleep_req()
118 mgmt->frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, in ieee802_11_send_wnmsleep_req()
120 mgmt->u.action.category = WLAN_ACTION_WNM; in ieee802_11_send_wnmsleep_req()
121 mgmt->u.action.u.wnm_sleep_req.action = WNM_SLEEP_MODE_REQ; in ieee802_11_send_wnmsleep_req()
122 mgmt->u.action.u.wnm_sleep_req.dialogtoken = 1; in ieee802_11_send_wnmsleep_req()
[all …]
Dmesh_mpm.h25 const struct ieee80211_mgmt *mgmt, size_t len);
31 const struct ieee80211_mgmt *mgmt, in mesh_mpm_action_rx() argument
Dmesh_mpm.c607 const struct ieee80211_mgmt *mgmt; in wpa_mesh_new_mesh_peer() local
610 mgmt = wpabuf_head(data->mesh_pending_auth); in wpa_mesh_new_mesh_peer()
613 os_memcmp(mgmt->sa, addr, ETH_ALEN) == 0) { in wpa_mesh_new_mesh_peer()
866 const struct ieee80211_mgmt *mgmt, size_t len) in mesh_mpm_action_rx() argument
880 if (mgmt->u.action.category != WLAN_ACTION_SELF_PROTECTED) in mesh_mpm_action_rx()
883 action_field = mgmt->u.action.u.slf_prot_action.action; in mesh_mpm_action_rx()
889 ies = mgmt->u.action.u.slf_prot_action.variable; in mesh_mpm_action_rx()
890 ie_len = (const u8 *) mgmt + len - in mesh_mpm_action_rx()
891 mgmt->u.action.u.slf_prot_action.variable; in mesh_mpm_action_rx()
953 sta = ap_get_sta(hapd, mgmt->sa); in mesh_mpm_action_rx()
[all …]
Devents.c3031 const struct ieee80211_mgmt *mgmt; local
3039 mgmt = (const struct ieee80211_mgmt *) frame;
3046 MAC2STR(mgmt->sa), category, (int) plen, freq);
3049 wmm_ac_rx_action(wpa_s, mgmt->da, mgmt->sa, payload, plen);
3063 sme_sa_query_rx(wpa_s, mgmt->sa, payload, plen);
3070 if (mgmt->u.action.category == WLAN_ACTION_WNM) {
3071 ieee802_11_rx_wnm_action(wpa_s, mgmt, len);
3077 if ((mgmt->u.action.category == WLAN_ACTION_PUBLIC ||
3078 mgmt->u.action.category == WLAN_ACTION_PROTECTED_DUAL) &&
3079 gas_query_rx(wpa_s->gas, mgmt->da, mgmt->sa, mgmt->bssid,
[all …]
Dap.c404 const struct ieee80211_mgmt *mgmt; in ap_public_action_rx() local
406 mgmt = (const struct ieee80211_mgmt *) buf; in ap_public_action_rx()
409 if (mgmt->u.action.category != WLAN_ACTION_PUBLIC) in ap_public_action_rx()
411 wpas_p2p_rx_action(wpa_s, mgmt->da, mgmt->sa, mgmt->bssid, in ap_public_action_rx()
412 mgmt->u.action.category, in ap_public_action_rx()
469 const struct ieee80211_mgmt *mgmt; in ap_vendor_action_rx() local
471 mgmt = (const struct ieee80211_mgmt *) buf; in ap_vendor_action_rx()
474 wpas_p2p_rx_action(wpa_s, mgmt->da, mgmt->sa, mgmt->bssid, in ap_vendor_action_rx()
475 mgmt->u.action.category, in ap_vendor_action_rx()
Dwnm_sta.h56 const struct ieee80211_mgmt *mgmt, size_t len);
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_event.c144 const struct ieee80211_mgmt *mgmt; in mlme_event_auth() local
159 mgmt = (const struct ieee80211_mgmt *) frame; in mlme_event_auth()
160 if (len < 24 + sizeof(mgmt->u.auth)) { in mlme_event_auth()
166 os_memcpy(drv->auth_bssid, mgmt->sa, ETH_ALEN); in mlme_event_auth()
169 os_memcpy(event.auth.peer, mgmt->sa, ETH_ALEN); in mlme_event_auth()
170 event.auth.auth_type = le_to_host16(mgmt->u.auth.auth_alg); in mlme_event_auth()
172 le_to_host16(mgmt->u.auth.auth_transaction); in mlme_event_auth()
173 event.auth.status_code = le_to_host16(mgmt->u.auth.status_code); in mlme_event_auth()
174 if (len > 24 + sizeof(mgmt->u.auth)) { in mlme_event_auth()
175 event.auth.ies = mgmt->u.auth.variable; in mlme_event_auth()
[all …]
Ddriver_hostap.c1036 struct ieee80211_mgmt mgmt; in hostap_sta_deauth() local
1048 memset(&mgmt, 0, sizeof(mgmt)); in hostap_sta_deauth()
1049 mgmt.frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, in hostap_sta_deauth()
1051 memcpy(mgmt.da, addr, ETH_ALEN); in hostap_sta_deauth()
1052 memcpy(mgmt.sa, own_addr, ETH_ALEN); in hostap_sta_deauth()
1053 memcpy(mgmt.bssid, own_addr, ETH_ALEN); in hostap_sta_deauth()
1054 mgmt.u.deauth.reason_code = host_to_le16(reason); in hostap_sta_deauth()
1055 return hostap_send_mlme(drv, (u8 *) &mgmt, IEEE80211_HDRLEN + in hostap_sta_deauth()
1056 sizeof(mgmt.u.deauth), 0); in hostap_sta_deauth()
1084 struct ieee80211_mgmt mgmt; in hostap_sta_disassoc() local
[all …]
Ddriver_atheros.c831 const struct ieee80211_mgmt *mgmt; in atheros_raw_receive() local
840 mgmt = (const struct ieee80211_mgmt *) buf; in atheros_raw_receive()
842 fc = le_to_host16(mgmt->frame_control); in atheros_raw_receive()
853 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.probe_req)) in atheros_raw_receive()
857 event.rx_probe_req.sa = mgmt->sa; in atheros_raw_receive()
858 event.rx_probe_req.da = mgmt->da; in atheros_raw_receive()
859 event.rx_probe_req.bssid = mgmt->bssid; in atheros_raw_receive()
860 event.rx_probe_req.ie = mgmt->u.probe_req.variable; in atheros_raw_receive()
862 len - (IEEE80211_HDRLEN + sizeof(mgmt->u.probe_req)); in atheros_raw_receive()
867 if (os_memcmp(drv->own_addr, mgmt->bssid, ETH_ALEN) != 0) { in atheros_raw_receive()
[all …]
Ddriver_nl80211.c3115 const struct ieee80211_mgmt *mgmt; in wpa_driver_nl80211_send_frame() local
3118 mgmt = (const struct ieee80211_mgmt *) data; in wpa_driver_nl80211_send_frame()
3119 fc = le_to_host16(mgmt->frame_control); in wpa_driver_nl80211_send_frame()
3142 struct ieee80211_mgmt *mgmt; in wpa_driver_nl80211_send_mlme() local
3146 mgmt = (struct ieee80211_mgmt *) data; in wpa_driver_nl80211_send_mlme()
3147 fc = le_to_host16(mgmt->frame_control); in wpa_driver_nl80211_send_mlme()
3150 MAC2STR(mgmt->da), noack, freq, no_cck, offchanok, wait_time, in wpa_driver_nl80211_send_mlme()
3194 u16 auth_alg = le_to_host16(mgmt->u.auth.auth_alg); in wpa_driver_nl80211_send_mlme()
3195 u16 auth_trans = le_to_host16(mgmt->u.auth.auth_transaction); in wpa_driver_nl80211_send_mlme()
4599 int mgmt = WLAN_AKM_SUITE_PSK; in nl80211_connect_common() local
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/iana/
DIANAObjectIdentifiers.java17 static final ASN1ObjectIdentifier mgmt = internet.branch("2"); field

12