/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/ |
D | mlan_11n_aggr.c | 35 void wrapper_deliver_amsdu_subframe(pmlan_buffer amsdu_pmbuf, t_u8 *data, t_u16 pkt_len); 48 t_u32 pkt_len, pad; in wlan_11n_get_num_aggrpkts() local 54 pkt_len = mlan_ntohs((*(t_u16 *)(void *)(data + (2 * MLAN_MAC_ADDR_LENGTH)))); in wlan_11n_get_num_aggrpkts() 55 …pad = (((pkt_len + sizeof(Eth803Hdr_t)) & 3U)) ? (4U - ((pkt_len + sizeof(Eth803Hdr_t)) & 3U))… in wlan_11n_get_num_aggrpkts() 56 data += pkt_len + pad + sizeof(Eth803Hdr_t); in wlan_11n_get_num_aggrpkts() 57 total_pkt_len -= (t_s32)pkt_len + (t_s32)pad + (t_s32)sizeof(Eth803Hdr_t); in wlan_11n_get_num_aggrpkts() 78 t_u16 pkt_len; in wlan_11n_deaggregate_pkt() local 108 pkt_len = mlan_ntohs((*(t_u16 *)(void *)(data + (2 * MLAN_MAC_ADDR_LENGTH)))); in wlan_11n_deaggregate_pkt() 109 if ((t_s32)pkt_len > total_pkt_len) in wlan_11n_deaggregate_pkt() 111 …INTM(MERROR, "Error in packet length: total_pkt_len = %d, pkt_len = %d\n", total_pkt_len, pkt_len); in wlan_11n_deaggregate_pkt() [all …]
|
D | mlan_11v.c | 96 t_u16 pkt_len = 0; in wlan_send_mgmt_wnm_btm_resp() local 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() 352 t_u16 pkt_len; in wlan_send_mgmt_bss_trans_query() local 389 pkt_len = (t_u16)meas_pkt_len; in wlan_send_mgmt_bss_trans_query() 390 pmgmt_pkt_hdr->frm_len = pkt_len - (t_u16)sizeof(pmgmt_pkt_hdr->frm_len); in wlan_send_mgmt_bss_trans_query() 392 (void)wifi_inject_frame(WLAN_BSS_TYPE_STA, (t_u8 *)pmgmt_pkt_hdr, pkt_len); in wlan_send_mgmt_bss_trans_query()
|
D | wifi.c | 4119 t_u32 pkt_len = 0; in wifi_add_to_bypassq() local 4136 pkt_len = sizeof(TxPD) + INTF_HEADER_LEN; in wifi_add_to_bypassq() 4140 poutbuf = OSA_MemoryAllocate(link_point_len + pkt_len + len); in wifi_add_to_bypassq() 4150 (void)memset((t_u8 *)poutbuf, 0, link_point_len + pkt_len); in wifi_add_to_bypassq() 4152 …tack_buffer_copy_partial(pkt, (void *)((t_u8 *)poutbuf + link_point_len + pkt_len), (t_u16)len, 0); in wifi_add_to_bypassq() 4155 … process_pkt_hdrs((void *)((t_u8 *)poutbuf + link_point_len), pkt_len + len, interface, 0, 0); in wifi_add_to_bypassq() 4565 t_u32 pkt_len = 0; in raw_low_level_output() local 4570 pkt_len = sizeof(TxPD) + INTF_HEADER_LEN - 2; in raw_low_level_output() 4574 poutbuf = OSA_MemoryAllocate(link_point_len + pkt_len + len); in raw_low_level_output() 4586 (void)memset((t_u8 *)poutbuf, 0, link_point_len + pkt_len); in raw_low_level_output() [all …]
|
D | mlan_11k.c | 661 t_u16 pkt_len = 0; in wlan_send_mgmt_rm_beacon_report() local 692 pkt_len = (t_u16)(meas_pkt_len); 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() 760 t_u16 pkt_len = 0; in wlan_send_mgmt_link_measurement_report() local 790 pkt_len = (t_u16)meas_pkt_len; in wlan_send_mgmt_link_measurement_report() 791 pmgmt_pkt_hdr->frm_len = (t_u16)pkt_len - (t_u16)sizeof(t_u16); in wlan_send_mgmt_link_measurement_report() 794 (void)wifi_inject_frame(WLAN_BSS_TYPE_STA, (t_u8 *)pmgmt_pkt_hdr, pkt_len); in wlan_send_mgmt_link_measurement_report() 1029 t_u16 pkt_len; in wlan_send_mgmt_rm_neighbor_request() local 1075 pkt_len = (t_u16)meas_pkt_len; in wlan_send_mgmt_rm_neighbor_request() [all …]
|
D | mlan_mbo.c | 132 t_u16 pkt_len = 0; in wlan_send_mgmt_wnm_notification() local 161 pkt_len = (t_u16)meas_pkt_len; 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()
|
D | mlan_api.c | 844 t_u16 pkt_len = 67; in wifi_tcp_keep_alive() local 882 (void)memcpy((void *)pkt_tlv->ip_packet, (const void *)ip_packet, pkt_len); in wifi_tcp_keep_alive() 883 pkt_tlv->header.len = wlan_cpu_to_le16(sizeof(Eth803Hdr_t) + pkt_len); in wifi_tcp_keep_alive() 884 len = len + sizeof(MrvlIEtypesHeader_t) + sizeof(Eth803Hdr_t) + pkt_len; in wifi_tcp_keep_alive() 990 (void)memcpy(pkt_tlv->ip_packet, keep_alive->packet, keep_alive->pkt_len); in wifi_cloud_keep_alive() 991 … pkt_tlv->header.len = wlan_cpu_to_le16(sizeof(Eth803Hdr_t) + keep_alive->pkt_len); in wifi_cloud_keep_alive() 992 … = len + sizeof(MrvlIEtypesHeader_t) + sizeof(Eth803Hdr_t) + keep_alive->pkt_len; in wifi_cloud_keep_alive() 5184 t_u16 pkt_len) in wifi_PrepDefaultMgtMsg() argument 5191 pBuf = OSA_MemoryAllocate(pkt_len); in wifi_PrepDefaultMgtMsg() 5617 t_u16 pkt_len = 0; in wlan_send_mgmt_auth_request() local [all …]
|
D | mlan_glue.c | 145 void wrapper_deliver_amsdu_subframe(pmlan_buffer amsdu_pmbuf, t_u8 *data, t_u16 pkt_len); 309 void wrapper_deliver_amsdu_subframe(pmlan_buffer amsdu_pmbuf, t_u8 *data, t_u16 pkt_len) in wrapper_deliver_amsdu_subframe() argument 312 w_pkt_d("[amsdu] [push]: BSS Type: %d L: %d", prx_pd->bss_type, pkt_len); in wrapper_deliver_amsdu_subframe() 313 wm_wifi.amsdu_data_input_callback(prx_pd->bss_type, data, pkt_len); in wrapper_deliver_amsdu_subframe()
|
/hal_nxp-latest/mcux/middleware/wifi_nxp/port/net/zephyr/ |
D | net.c | 476 t_u32 pkt_len, outbuf_len; in nxp_wifi_internal_tx() local 562 pkt_len = in nxp_wifi_internal_tx() 569 memset(wmm_outbuf, 0x00, pkt_len + ETH_HDR_LEN); in nxp_wifi_internal_tx() 586 assert(pkt_len + net_pkt_len <= outbuf_len); in nxp_wifi_internal_tx() 588 memset(wmm_outbuf, 0x00, pkt_len); in nxp_wifi_internal_tx() 590 if (net_pkt_read(pkt, wmm_outbuf + pkt_len, net_pkt_len)) in nxp_wifi_internal_tx() 593 pkt_len += net_pkt_len; in nxp_wifi_internal_tx() 595 ret = wifi_low_level_output(interface, wmm_outbuf, pkt_len in nxp_wifi_internal_tx()
|
/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/incl/ |
D | mlan_11n_aggr.h | 26 int wlan_11n_form_amsdu_pkt(t_u8 *amsdu_buf, t_u8 *data, int pkt_len, int *pad);
|
D | mlan_api.h | 434 t_u16 pkt_len);
|
/hal_nxp-latest/mcux/middleware/wifi_nxp/incl/wifidriver/ |
D | wifi-decl.h | 907 t_u16 pkt_len; member
|
/hal_nxp-latest/mcux/middleware/wifi_nxp/wlcmgr/ |
D | wlan.c | 12007 cloud_keep_alive->pkt_len = pkt_len_default; in wlan_save_cloud_keep_alive_params() 12008 (void)memcpy(cloud_keep_alive->packet, packet_default, cloud_keep_alive->pkt_len); in wlan_save_cloud_keep_alive_params()
|