Home
last modified time | relevance | path

Searched refs:msdu_len (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/net/wireless/ath/ath12k/wifi7/
H A Ddp_rx.c420 u8 l3pad_bytes, int msdu_len, in ath12k_wifi7_dp_rx_msdu_coalesce() argument
438 if (WARN_ON_ONCE(msdu_len <= buf_first_len)) { in ath12k_wifi7_dp_rx_msdu_coalesce()
439 skb_put(first, buf_first_hdr_len + msdu_len); in ath12k_wifi7_dp_rx_msdu_coalesce()
460 space_extra = msdu_len - (buf_first_len + skb_tailroom(first)); in ath12k_wifi7_dp_rx_msdu_coalesce()
475 rem_len = msdu_len - buf_first_len; in ath12k_wifi7_dp_rx_msdu_coalesce()
515 u16 msdu_len; in ath12k_wifi7_dp_rx_process_msdu() local
539 msdu_len = rx_info->msdu_len; in ath12k_wifi7_dp_rx_process_msdu()
545 if ((msdu_len + hal_rx_desc_sz) > DP_RX_BUFFER_SIZE) { in ath12k_wifi7_dp_rx_process_msdu()
547 ath12k_warn(dp->ab, "invalid msdu len %u\n", msdu_len); in ath12k_wifi7_dp_rx_process_msdu()
552 skb_put(msdu, hal_rx_desc_sz + l3_pad_bytes + msdu_len); in ath12k_wifi7_dp_rx_process_msdu()
[all …]
H A Dhal_qcc2072.c412 rx_desc_data->msdu_len = ath12k_hal_rx_desc_get_msdu_len_qcc2072(ldesc); in ath12k_hal_extract_rx_desc_data_qcc2072()
H A Dhal_wcn7850.c614 rx_desc_data->msdu_len = ath12k_hal_rx_desc_get_msdu_len_wcn7850(ldesc); in ath12k_hal_extract_rx_desc_data_wcn7850()
H A Dhal_qcn9274.c934 rx_desc_data->msdu_len = ath12k_hal_rx_desc_get_msdu_len_qcn9274(ldesc); in ath12k_hal_extract_rx_desc_data_qcn9274()
H A Ddp_mon.c52 *frag_len = info->msdu_len - *total_len; in ath12k_wifi7_dp_mon_get_buf_len()
54 *frag_len = info->msdu_len; in ath12k_wifi7_dp_mon_get_buf_len()
/linux/drivers/net/wireless/ath/ath11k/
H A Ddp_rx.c1756 u8 l3pad_bytes, int msdu_len) in ath11k_dp_rx_msdu_coalesce() argument
1774 if (WARN_ON_ONCE(msdu_len <= buf_first_len)) { in ath11k_dp_rx_msdu_coalesce()
1775 skb_put(first, buf_first_hdr_len + msdu_len); in ath11k_dp_rx_msdu_coalesce()
1796 space_extra = msdu_len - (buf_first_len + skb_tailroom(first)); in ath11k_dp_rx_msdu_coalesce()
1811 rem_len = msdu_len - buf_first_len; in ath11k_dp_rx_msdu_coalesce()
2541 u16 msdu_len; in ath11k_dp_rx_process_msdu() local
2570 msdu_len = ath11k_dp_rx_h_msdu_start_msdu_len(ab, rx_desc); in ath11k_dp_rx_process_msdu()
2576 if ((msdu_len + hal_rx_desc_sz) > DP_RX_BUFFER_SIZE) { in ath11k_dp_rx_process_msdu()
2579 ath11k_warn(ab, "invalid msdu len %u\n", msdu_len); in ath11k_dp_rx_process_msdu()
2586 skb_put(msdu, hal_rx_desc_sz + l3_pad_bytes + msdu_len); in ath11k_dp_rx_process_msdu()
[all …]
/linux/drivers/net/wireless/ath/ath10k/
H A Dhtt_rx.c359 int msdu_len, msdu_chaining = 0; in ath10k_htt_rx_amsdu_pop() local
410 msdu_len = MS(__le32_to_cpu(rx_desc_msdu_start_common->info0), in ath10k_htt_rx_amsdu_pop()
415 msdu_len = 0; in ath10k_htt_rx_amsdu_pop()
418 skb_put(msdu, min(msdu_len, ath10k_htt_rx_msdu_size(hw))); in ath10k_htt_rx_amsdu_pop()
419 msdu_len -= msdu->len; in ath10k_htt_rx_amsdu_pop()
431 skb_put(msdu, min(msdu_len, HTT_RX_BUF_SIZE)); in ath10k_htt_rx_amsdu_pop()
432 msdu_len -= msdu->len; in ath10k_htt_rx_amsdu_pop()
513 int amsdu_len = __le16_to_cpu(ind_desc->msdu_len); in ath10k_htt_rx_handle_amsdu_mon_32()
527 __le16_to_cpu(ind_desc->msdu_len), in ath10k_htt_rx_handle_amsdu_mon_32()
568 __le16_to_cpu(ind_desc->msdu_len), amsdu_len); in ath10k_htt_rx_handle_amsdu_mon_32()
[all …]
H A Dwmi.c2318 u32 msdu_len; in ath10k_wmi_op_pull_mgmt_rx_ev() local
2343 msdu_len = __le32_to_cpu(arg->buf_len); in ath10k_wmi_op_pull_mgmt_rx_ev()
2344 if (skb->len < msdu_len) in ath10k_wmi_op_pull_mgmt_rx_ev()
2356 skb_trim(skb, msdu_len); in ath10k_wmi_op_pull_mgmt_rx_ev()
2368 u32 msdu_len; in ath10k_wmi_10_4_op_pull_mgmt_rx_ev() local
2387 msdu_len = __le32_to_cpu(arg->buf_len); in ath10k_wmi_10_4_op_pull_mgmt_rx_ev()
2388 if (skb->len < msdu_len) in ath10k_wmi_10_4_op_pull_mgmt_rx_ev()
2399 skb_trim(skb, msdu_len); in ath10k_wmi_10_4_op_pull_mgmt_rx_ev()
/linux/drivers/net/wireless/ath/ath12k/
H A Dhal.h614 u16 msdu_len; /* 14 bits for length */ member
744 u16 msdu_len; member
/linux/drivers/net/
H A Dmacsec.c522 unsigned int msdu_len = macsec_msdu_len(skb); in macsec_count_tx() local
527 txsc_stats->stats.OutOctetsEncrypted += msdu_len; in macsec_count_tx()
531 txsc_stats->stats.OutOctetsProtected += msdu_len; in macsec_count_tx()
764 unsigned int msdu_len = macsec_msdu_len(skb); in macsec_post_decrypt() local
767 rxsc_stats->stats.InOctetsDecrypted += msdu_len; in macsec_post_decrypt()
769 rxsc_stats->stats.InOctetsValidated += msdu_len; in macsec_post_decrypt()