Lines Matching refs:frag_buf
504 struct sk_buff *frag_buf; in ath10k_htt_rx_handle_amsdu_mon_32() local
531 frag_buf = ath10k_htt_rx_pop_paddr(htt, paddr); in ath10k_htt_rx_handle_amsdu_mon_32()
532 if (!frag_buf) { in ath10k_htt_rx_handle_amsdu_mon_32()
537 skb_put(frag_buf, min(amsdu_len, HTT_RX_BUF_SIZE)); in ath10k_htt_rx_handle_amsdu_mon_32()
538 ath10k_htt_append_frag_list(msdu, frag_buf, amsdu_len); in ath10k_htt_rx_handle_amsdu_mon_32()
540 amsdu_len -= frag_buf->len; in ath10k_htt_rx_handle_amsdu_mon_32()
541 prev_frag_buf = frag_buf; in ath10k_htt_rx_handle_amsdu_mon_32()
546 frag_buf = ath10k_htt_rx_pop_paddr(htt, paddr); in ath10k_htt_rx_handle_amsdu_mon_32()
547 if (!frag_buf) { in ath10k_htt_rx_handle_amsdu_mon_32()
554 skb_put(frag_buf, min(amsdu_len, HTT_RX_BUF_SIZE)); in ath10k_htt_rx_handle_amsdu_mon_32()
556 amsdu_len -= frag_buf->len; in ath10k_htt_rx_handle_amsdu_mon_32()
558 prev_frag_buf->next = frag_buf; in ath10k_htt_rx_handle_amsdu_mon_32()
559 prev_frag_buf = frag_buf; in ath10k_htt_rx_handle_amsdu_mon_32()
581 struct sk_buff *frag_buf; in ath10k_htt_rx_handle_amsdu_mon_64() local
608 frag_buf = ath10k_htt_rx_pop_paddr(htt, paddr); in ath10k_htt_rx_handle_amsdu_mon_64()
609 if (!frag_buf) { in ath10k_htt_rx_handle_amsdu_mon_64()
614 skb_put(frag_buf, min(amsdu_len, HTT_RX_BUF_SIZE)); in ath10k_htt_rx_handle_amsdu_mon_64()
615 ath10k_htt_append_frag_list(msdu, frag_buf, amsdu_len); in ath10k_htt_rx_handle_amsdu_mon_64()
617 amsdu_len -= frag_buf->len; in ath10k_htt_rx_handle_amsdu_mon_64()
618 prev_frag_buf = frag_buf; in ath10k_htt_rx_handle_amsdu_mon_64()
623 frag_buf = ath10k_htt_rx_pop_paddr(htt, paddr); in ath10k_htt_rx_handle_amsdu_mon_64()
624 if (!frag_buf) { in ath10k_htt_rx_handle_amsdu_mon_64()
631 skb_put(frag_buf, min(amsdu_len, HTT_RX_BUF_SIZE)); in ath10k_htt_rx_handle_amsdu_mon_64()
633 amsdu_len -= frag_buf->len; in ath10k_htt_rx_handle_amsdu_mon_64()
635 prev_frag_buf->next = frag_buf; in ath10k_htt_rx_handle_amsdu_mon_64()
636 prev_frag_buf = frag_buf; in ath10k_htt_rx_handle_amsdu_mon_64()