Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/wireless/ath/ath10k/
Dtrace.h289 TP_PROTO(struct ath10k *ar, u16 msdu_id, u16 msdu_len,
292 TP_ARGS(ar, msdu_id, msdu_len, vdev_id, tid),
298 __field(u16, msdu_len)
307 __entry->msdu_len = msdu_len;
317 __entry->msdu_len,
Dhtt_rx.c355 int msdu_len, msdu_chaining = 0; in ath10k_htt_rx_amsdu_pop() local
406 msdu_len = MS(__le32_to_cpu(rx_desc_msdu_start_common->info0), in ath10k_htt_rx_amsdu_pop()
411 msdu_len = 0; in ath10k_htt_rx_amsdu_pop()
414 skb_put(msdu, min(msdu_len, ath10k_htt_rx_msdu_size(hw))); in ath10k_htt_rx_amsdu_pop()
415 msdu_len -= msdu->len; in ath10k_htt_rx_amsdu_pop()
427 skb_put(msdu, min(msdu_len, HTT_RX_BUF_SIZE)); in ath10k_htt_rx_amsdu_pop()
428 msdu_len -= msdu->len; in ath10k_htt_rx_amsdu_pop()
509 int amsdu_len = __le16_to_cpu(ind_desc->msdu_len); in ath10k_htt_rx_handle_amsdu_mon_32()
523 __le16_to_cpu(ind_desc->msdu_len), in ath10k_htt_rx_handle_amsdu_mon_32()
564 __le16_to_cpu(ind_desc->msdu_len), amsdu_len); in ath10k_htt_rx_handle_amsdu_mon_32()
[all …]
Dhtt.h1077 __le16 msdu_len; member
1092 __le16 msdu_len; member
1099 __le16 msdu_len; member
Dwmi.c2291 u32 msdu_len; in ath10k_wmi_op_pull_mgmt_rx_ev() local
2316 msdu_len = __le32_to_cpu(arg->buf_len); in ath10k_wmi_op_pull_mgmt_rx_ev()
2317 if (skb->len < msdu_len) in ath10k_wmi_op_pull_mgmt_rx_ev()
2329 skb_trim(skb, msdu_len); in ath10k_wmi_op_pull_mgmt_rx_ev()
2341 u32 msdu_len; in ath10k_wmi_10_4_op_pull_mgmt_rx_ev() local
2360 msdu_len = __le32_to_cpu(arg->buf_len); in ath10k_wmi_10_4_op_pull_mgmt_rx_ev()
2361 if (skb->len < msdu_len) in ath10k_wmi_10_4_op_pull_mgmt_rx_ev()
2372 skb_trim(skb, msdu_len); in ath10k_wmi_10_4_op_pull_mgmt_rx_ev()
Dwmi-tlv.c947 u32 msdu_len; in ath10k_wmi_tlv_op_pull_mgmt_rx_ev() local
975 msdu_len = __le32_to_cpu(arg->buf_len); in ath10k_wmi_tlv_op_pull_mgmt_rx_ev()
977 if (skb->len < (frame - skb->data) + msdu_len) { in ath10k_wmi_tlv_op_pull_mgmt_rx_ev()
986 skb_put(skb, msdu_len); in ath10k_wmi_tlv_op_pull_mgmt_rx_ev()
/linux-6.6.21/drivers/net/wireless/ath/ath12k/
Ddp_rx.c1777 u8 l3pad_bytes, int msdu_len) in ath12k_dp_rx_msdu_coalesce() argument
1794 if (WARN_ON_ONCE(msdu_len <= buf_first_len)) { in ath12k_dp_rx_msdu_coalesce()
1795 skb_put(first, buf_first_hdr_len + msdu_len); in ath12k_dp_rx_msdu_coalesce()
1816 space_extra = msdu_len - (buf_first_len + skb_tailroom(first)); in ath12k_dp_rx_msdu_coalesce()
1831 rem_len = msdu_len - buf_first_len; in ath12k_dp_rx_msdu_coalesce()
2494 u16 msdu_len; in ath12k_dp_rx_process_msdu() local
2516 msdu_len = ath12k_dp_rx_h_msdu_len(ab, lrx_desc); in ath12k_dp_rx_process_msdu()
2522 if ((msdu_len + hal_rx_desc_sz) > DP_RX_BUFFER_SIZE) { in ath12k_dp_rx_process_msdu()
2524 ath12k_warn(ab, "invalid msdu len %u\n", msdu_len); in ath12k_dp_rx_process_msdu()
2529 skb_put(msdu, hal_rx_desc_sz + l3_pad_bytes + msdu_len); in ath12k_dp_rx_process_msdu()
[all …]
Dhal_rx.h470 u16 msdu_len; /* 14 bits for length */ member
/linux-6.6.21/drivers/net/wireless/ath/ath11k/
Ddp_rx.c1768 u8 l3pad_bytes, int msdu_len) in ath11k_dp_rx_msdu_coalesce() argument
1785 if (WARN_ON_ONCE(msdu_len <= buf_first_len)) { in ath11k_dp_rx_msdu_coalesce()
1786 skb_put(first, buf_first_hdr_len + msdu_len); in ath11k_dp_rx_msdu_coalesce()
1807 space_extra = msdu_len - (buf_first_len + skb_tailroom(first)); in ath11k_dp_rx_msdu_coalesce()
1822 rem_len = msdu_len - buf_first_len; in ath11k_dp_rx_msdu_coalesce()
2530 u16 msdu_len; in ath11k_dp_rx_process_msdu() local
2559 msdu_len = ath11k_dp_rx_h_msdu_start_msdu_len(ab, rx_desc); in ath11k_dp_rx_process_msdu()
2565 if ((msdu_len + hal_rx_desc_sz) > DP_RX_BUFFER_SIZE) { in ath11k_dp_rx_process_msdu()
2568 ath11k_warn(ab, "invalid msdu len %u\n", msdu_len); in ath11k_dp_rx_process_msdu()
2575 skb_put(msdu, hal_rx_desc_sz + l3_pad_bytes + msdu_len); in ath11k_dp_rx_process_msdu()
[all …]
Dhal_rx.h451 u16 msdu_len; /* 14 bits for length */ member
/linux-6.6.21/drivers/net/
Dmacsec.c503 unsigned int msdu_len = macsec_msdu_len(skb); in macsec_count_tx() local
508 txsc_stats->stats.OutOctetsEncrypted += msdu_len; in macsec_count_tx()
512 txsc_stats->stats.OutOctetsProtected += msdu_len; in macsec_count_tx()
745 unsigned int msdu_len = macsec_msdu_len(skb); in macsec_post_decrypt() local
748 rxsc_stats->stats.InOctetsDecrypted += msdu_len; in macsec_post_decrypt()
750 rxsc_stats->stats.InOctetsValidated += msdu_len; in macsec_post_decrypt()