Home
last modified time | relevance | path

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

/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()
2518 u16 msdu_len; in ath11k_dp_rx_process_msdu() local
2547 msdu_len = ath11k_dp_rx_h_msdu_start_msdu_len(ab, rx_desc); in ath11k_dp_rx_process_msdu()
2553 if ((msdu_len + hal_rx_desc_sz) > DP_RX_BUFFER_SIZE) { in ath11k_dp_rx_process_msdu()
2556 ath11k_warn(ab, "invalid msdu len %u\n", msdu_len); in ath11k_dp_rx_process_msdu()
2563 skb_put(msdu, hal_rx_desc_sz + l3_pad_bytes + msdu_len); in ath11k_dp_rx_process_msdu()
[all …]
H A Dhal_rx.h458 u16 msdu_len; /* 14 bits for length */ member
/linux/drivers/net/wireless/ath/ath10k/
H A Dhtt_rx.c360 int msdu_len, msdu_chaining = 0; in ath10k_htt_rx_amsdu_pop() local
411 msdu_len = MS(__le32_to_cpu(rx_desc_msdu_start_common->info0), in ath10k_htt_rx_amsdu_pop()
416 msdu_len = 0; in ath10k_htt_rx_amsdu_pop()
419 skb_put(msdu, min(msdu_len, ath10k_htt_rx_msdu_size(hw))); in ath10k_htt_rx_amsdu_pop()
420 msdu_len -= msdu->len; in ath10k_htt_rx_amsdu_pop()
432 skb_put(msdu, min(msdu_len, HTT_RX_BUF_SIZE)); in ath10k_htt_rx_amsdu_pop()
433 msdu_len -= msdu->len; in ath10k_htt_rx_amsdu_pop()
514 int amsdu_len = __le16_to_cpu(ind_desc->msdu_len); in ath10k_htt_rx_handle_amsdu_mon_32()
528 __le16_to_cpu(ind_desc->msdu_len), in ath10k_htt_rx_handle_amsdu_mon_32()
569 __le16_to_cpu(ind_desc->msdu_len), amsdu_len); in ath10k_htt_rx_handle_amsdu_mon_32()
[all …]
H A Dhtt.h1077 __le16 msdu_len; member
1092 __le16 msdu_len; member
1099 __le16 msdu_len; member
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/
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()