Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/wpa_supp_if/
Drtos_wpa_supp_if.c413 const struct ieee80211_mgmt *mgmt = NULL; in wifi_nxp_wpa_supp_event_proc_auth_resp() local
427 mgmt = (const struct ieee80211_mgmt *)frame; in wifi_nxp_wpa_supp_event_proc_auth_resp()
435 if (frame_len < 24 + sizeof(mgmt->u.auth)) in wifi_nxp_wpa_supp_event_proc_auth_resp()
443 memcpy(event.auth.peer, mgmt->sa, ETH_ALEN); in wifi_nxp_wpa_supp_event_proc_auth_resp()
445 event.auth.auth_type = le_to_host16(mgmt->u.auth.auth_alg); in wifi_nxp_wpa_supp_event_proc_auth_resp()
447 event.auth.auth_transaction = le_to_host16(mgmt->u.auth.auth_transaction); in wifi_nxp_wpa_supp_event_proc_auth_resp()
449 event.auth.status_code = le_to_host16(mgmt->u.auth.status_code); in wifi_nxp_wpa_supp_event_proc_auth_resp()
451 if (frame_len > 24 + sizeof(mgmt->u.auth)) in wifi_nxp_wpa_supp_event_proc_auth_resp()
453 event.auth.ies = mgmt->u.auth.variable; in wifi_nxp_wpa_supp_event_proc_auth_resp()
454 event.auth.ies_len = (frame_len - 24 - sizeof(mgmt->u.auth)); in wifi_nxp_wpa_supp_event_proc_auth_resp()
[all …]
/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/
Dwifi.c2742 IEEE80211_MGMT *mgmt = (IEEE80211_MGMT *)deauth_resp->frame.frame; in wpa_supp_handle_link_lost() local
2746 memset(mgmt, 0, sizeof(IEEE80211_MGMT)); in wpa_supp_handle_link_lost()
2748 mgmt->frame_control = SUBTYPE_DEAUTH; in wpa_supp_handle_link_lost()
2749 mgmt->duration = 0; in wpa_supp_handle_link_lost()
2750 mgmt->seq_ctrl = 0; in wpa_supp_handle_link_lost()
2751 mgmt->u.deauth_req.reason_code = WLAN_REASON_DEAUTH_LEAVING; in wpa_supp_handle_link_lost()
2753 memcpy((void *)mgmt->da, broadcast_addr, MLAN_MAC_ADDR_LENGTH); in wpa_supp_handle_link_lost()
2754 … memcpy((void *)mgmt->sa, priv->curr_bss_params.bss_descriptor.mac_address, MLAN_MAC_ADDR_LENGTH); in wpa_supp_handle_link_lost()
2755 …memcpy((void *)mgmt->bssid, priv->curr_bss_params.bss_descriptor.mac_address, MLAN_MAC_ADDR_LENGTH… in wpa_supp_handle_link_lost()
2793 IEEE80211_MGMT *mgmt = MNULL; in wlan_process_802dot11_mgmt_pkt2() local
[all …]