Home
last modified time | relevance | path

Searched refs:pmgmt_pkt_hdr (Results 1 – 9 of 9) sorted by relevance

/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/
Dmlan_11v.c93 wlan_mgmt_pkt *pmgmt_pkt_hdr = MNULL; in wlan_send_mgmt_wnm_btm_resp() local
98 pmgmt_pkt_hdr = wifi_PrepDefaultMgtMsg( in wlan_send_mgmt_wnm_btm_resp()
101 if (pmgmt_pkt_hdr == MNULL) in wlan_send_mgmt_wnm_btm_resp()
107 mgmt_fc_p = (IEEEtypes_FrameCtl_t *)(void *)&pmgmt_pkt_hdr->wlan_header.frm_ctl; in wlan_send_mgmt_wnm_btm_resp()
114 pos = (t_u8 *)pmgmt_pkt_hdr + sizeof(wlan_mgmt_pkt); in wlan_send_mgmt_wnm_btm_resp()
142 pkt_len = (t_u16)(pos - (t_u8 *)pmgmt_pkt_hdr); in wlan_send_mgmt_wnm_btm_resp()
143 pmgmt_pkt_hdr->frm_len = (t_u16)((t_u16)pkt_len - sizeof(t_u16)); in wlan_send_mgmt_wnm_btm_resp()
144 (void)wifi_inject_frame(WLAN_BSS_TYPE_STA, (t_u8 *)pmgmt_pkt_hdr, pkt_len); in wlan_send_mgmt_wnm_btm_resp()
146 OSA_MemoryFree(pmgmt_pkt_hdr); in wlan_send_mgmt_wnm_btm_resp()
148 OSA_MemoryPoolFree(buf_1536_MemoryPool, pmgmt_pkt_hdr); in wlan_send_mgmt_wnm_btm_resp()
[all …]
Dmlan_11k.c658 wlan_mgmt_pkt *pmgmt_pkt_hdr = MNULL; in wlan_send_mgmt_rm_beacon_report() local
664 pmgmt_pkt_hdr = wifi_PrepDefaultMgtMsg( in wlan_send_mgmt_rm_beacon_report()
667 if (pmgmt_pkt_hdr == MNULL) in wlan_send_mgmt_rm_beacon_report()
673 mgmt_fc_p = (IEEEtypes_FrameCtl_t *)(void *)&pmgmt_pkt_hdr->wlan_header.frm_ctl; in wlan_send_mgmt_rm_beacon_report()
680 pos = (t_u8 *)pmgmt_pkt_hdr + sizeof(wlan_mgmt_pkt); in wlan_send_mgmt_rm_beacon_report()
691 meas_pkt_len = pos - (t_u8 *)pmgmt_pkt_hdr; in wlan_send_mgmt_rm_beacon_report()
693 pmgmt_pkt_hdr->frm_len = (t_u16)pkt_len - (t_u16)sizeof(t_u16); in wlan_send_mgmt_rm_beacon_report()
696 (void)wifi_inject_frame(WLAN_BSS_TYPE_STA, (t_u8 *)pmgmt_pkt_hdr, pkt_len); in wlan_send_mgmt_rm_beacon_report()
698 OSA_MemoryFree(pmgmt_pkt_hdr); in wlan_send_mgmt_rm_beacon_report()
700 OSA_MemoryPoolFree(buf_1536_MemoryPool, pmgmt_pkt_hdr); in wlan_send_mgmt_rm_beacon_report()
[all …]
Dmlan_mbo.c129 wlan_mgmt_pkt *pmgmt_pkt_hdr = MNULL; in wlan_send_mgmt_wnm_notification() local
135 pmgmt_pkt_hdr = wifi_PrepDefaultMgtMsg( in wlan_send_mgmt_wnm_notification()
138 if (pmgmt_pkt_hdr == MNULL) in wlan_send_mgmt_wnm_notification()
144 mgmt_fc_p = (IEEEtypes_FrameCtl_t *)(void *)&pmgmt_pkt_hdr->wlan_header.frm_ctl; in wlan_send_mgmt_wnm_notification()
151 pos = (t_u8 *)pmgmt_pkt_hdr + sizeof(wlan_mgmt_pkt); in wlan_send_mgmt_wnm_notification()
162 pmgmt_pkt_hdr->frm_len = (t_u16)pkt_len - (t_u16)sizeof(t_u16); in wlan_send_mgmt_wnm_notification()
163 (void)wifi_inject_frame(WLAN_BSS_TYPE_STA, (t_u8 *)pmgmt_pkt_hdr, pkt_len); in wlan_send_mgmt_wnm_notification()
165 OSA_MemoryFree(pmgmt_pkt_hdr); in wlan_send_mgmt_wnm_notification()
167 OSA_MemoryPoolFree(buf_1536_MemoryPool, pmgmt_pkt_hdr); in wlan_send_mgmt_wnm_notification()
Dmlan_sta_rx.c175 wlan_mgmt_pkt *pmgmt_pkt_hdr = MNULL; in wlan_ops_process_rx_packet() local
214 pmgmt_pkt_hdr = (wlan_mgmt_pkt *)pmbuf->pdesc; in wlan_ops_process_rx_packet()
216 pmgmt_pkt_hdr->frm_len = wlan_le16_to_cpu(pmgmt_pkt_hdr->frm_len); in wlan_ops_process_rx_packet()
218 if ((pmgmt_pkt_hdr->wlan_header.frm_ctl & IEEE80211_FC_MGMT_FRAME_TYPE_MASK) == 0) in wlan_ops_process_rx_packet()
221 pmadapter->priv[pmbuf->bss_index], (t_u8 *)&pmgmt_pkt_hdr->wlan_header, in wlan_ops_process_rx_packet()
222pmgmt_pkt_hdr->frm_len + sizeof(wlan_mgmt_pkt) - sizeof(pmgmt_pkt_hdr->frm_len), prx_pd); in wlan_ops_process_rx_packet()
Dwifi.c3330 wlan_mgmt_pkt *pmgmt_pkt_hdr = MNULL; in wifi_is_wpa_supplicant_input() local
3335 pmgmt_pkt_hdr = (wlan_mgmt_pkt *)((t_u8 *)prx_pd + prx_pd->rx_pkt_offset); in wifi_is_wpa_supplicant_input()
3336 pmgmt_pkt_hdr->frm_len = wlan_le16_to_cpu(pmgmt_pkt_hdr->frm_len); in wifi_is_wpa_supplicant_input()
3338 if ((pmgmt_pkt_hdr->wlan_header.frm_ctl & IEEE80211_FC_MGMT_FRAME_TYPE_MASK) == 0) in wifi_is_wpa_supplicant_input()
3339 wlan_process_802dot11_mgmt_pkt2(priv, (t_u8 *)&pmgmt_pkt_hdr->wlan_header, in wifi_is_wpa_supplicant_input()
3340pmgmt_pkt_hdr->frm_len + sizeof(wlan_mgmt_pkt) - sizeof(pmgmt_pkt_hdr->frm_len), in wifi_is_wpa_supplicant_input()
5053 wlan_mgmt_pkt *pmgmt_pkt_hdr = MNULL; in wifi_nxp_send_mlme() local
5069 pmgmt_pkt_hdr = (wlan_mgmt_pkt *)&buf[0]; in wifi_nxp_send_mlme()
5071 pmgmt_pkt_hdr->frm_len = data_len + MLAN_MAC_ADDR_LENGTH; in wifi_nxp_send_mlme()
5073 pieee_pkt_hdr = (wlan_802_11_header *)(void *)&pmgmt_pkt_hdr->wlan_header; in wifi_nxp_send_mlme()
[all …]
Dmlan_misc.c343 wlan_mgmt_pkt *pmgmt_pkt_hdr = NULL; in wlan_bypass_802dot11_mgmt_pkt() local
350 pmgmt_pkt_hdr = (wlan_mgmt_pkt *)((t_u8 *)rxpd + rxpd->rx_pkt_offset); in wlan_bypass_802dot11_mgmt_pkt()
351 pieee_pkt_hdr = (wlan_802_11_header *)&pmgmt_pkt_hdr->wlan_header; in wlan_bypass_802dot11_mgmt_pkt()
366 if ((pmgmt_pkt_hdr->wlan_header.frm_ctl & IEEE80211_FC_MGMT_FRAME_TYPE_MASK) == 0) in wlan_bypass_802dot11_mgmt_pkt()
Dmlan_api.c5186 wlan_mgmt_pkt *pmgmt_pkt_hdr = MNULL; in wifi_PrepDefaultMgtMsg() local
5201 pmgmt_pkt_hdr = (wlan_mgmt_pkt *)(void *)pBuf; in wifi_PrepDefaultMgtMsg()
5203 mgmt_fc_p = (IEEEtypes_FrameCtl_t *)(void *)&pmgmt_pkt_hdr->wlan_header.frm_ctl; in wifi_PrepDefaultMgtMsg()
5206 (void)memcpy(pmgmt_pkt_hdr->wlan_header.addr1, DestAddr, MLAN_MAC_ADDR_LENGTH); in wifi_PrepDefaultMgtMsg()
5207 (void)memcpy(pmgmt_pkt_hdr->wlan_header.addr2, SrcAddr, MLAN_MAC_ADDR_LENGTH); in wifi_PrepDefaultMgtMsg()
5208 (void)memcpy(pmgmt_pkt_hdr->wlan_header.addr3, Bssid, MLAN_MAC_ADDR_LENGTH); in wifi_PrepDefaultMgtMsg()
5210 return pmgmt_pkt_hdr; in wifi_PrepDefaultMgtMsg()
5620 wlan_mgmt_pkt *pmgmt_pkt_hdr = MNULL; in wlan_send_mgmt_auth_request() local
5768pmgmt_pkt_hdr = wifi_PrepDefaultMgtMsg(SUBTYPE_AUTH, da, sa, da, sizeof(wlan_mgmt_pkt) + AUTH_REQU… in wlan_send_mgmt_auth_request()
5769 if (pmgmt_pkt_hdr == MNULL) in wlan_send_mgmt_auth_request()
[all …]
Dwifi-uap.c4656 wlan_mgmt_pkt *pmgmt_pkt_hdr = MNULL; in wifi_nxp_uap_disconnect() local
4662pmgmt_pkt_hdr = wifi_PrepDefaultMgtMsg(SUBTYPE_DEAUTH, (mlan_802_11_mac_addr *)(void *)priv->curr_… in wifi_nxp_uap_disconnect()
4664 if (pmgmt_pkt_hdr == MNULL) in wifi_nxp_uap_disconnect()
4670 pos = (t_u8 *)pmgmt_pkt_hdr + sizeof(wlan_mgmt_pkt); in wifi_nxp_uap_disconnect()
4673 payload_len = sizeof(reason) + sizeof(pmgmt_pkt_hdr->wlan_header); in wifi_nxp_uap_disconnect()
4679 …(void)memcpy((void *)mgmt_rx->frame.frame, (const void *)(&pmgmt_pkt_hdr->wlan_header), mgmt_rx->f… in wifi_nxp_uap_disconnect()
4692 OSA_MemoryFree(pmgmt_pkt_hdr); in wifi_nxp_uap_disconnect()
4694 OSA_MemoryPoolFree(buf_1536_MemoryPool, pmgmt_pkt_hdr); in wifi_nxp_uap_disconnect()
/hal_nxp-latest/mcux/middleware/wifi_nxp/wlcmgr/
Dwlan.c6535 wlan_mgmt_pkt *pmgmt_pkt_hdr = NULL; in wlcm_process_mgmt_frame() local
6537 pmgmt_pkt_hdr = (wlan_mgmt_pkt *)(void *)((uint8_t *)rxpd + rxpd->rx_pkt_offset); in wlcm_process_mgmt_frame()
6538 pmgmt_pkt_hdr->frm_len = wlan_le16_to_cpu(pmgmt_pkt_hdr->frm_len); in wlcm_process_mgmt_frame()
6539 … if ((pmgmt_pkt_hdr->wlan_header.frm_ctl & (t_u16)IEEE80211_FC_MGMT_FRAME_TYPE_MASK) == (t_u16)0U) in wlcm_process_mgmt_frame()
6543 mlan_adap->priv[0], (t_u8 *)&pmgmt_pkt_hdr->wlan_header, in wlcm_process_mgmt_frame()
6544 pmgmt_pkt_hdr->frm_len + sizeof(wlan_mgmt_pkt) - sizeof(pmgmt_pkt_hdr->frm_len), rxpd); in wlcm_process_mgmt_frame()