Lines Matching refs:amsdu
351 struct sk_buff_head *amsdu) in ath10k_htt_rx_amsdu_pop() argument
370 __skb_queue_purge(amsdu); in ath10k_htt_rx_amsdu_pop()
374 __skb_queue_tail(amsdu, msdu); in ath10k_htt_rx_amsdu_pop()
399 __skb_queue_purge(amsdu); in ath10k_htt_rx_amsdu_pop()
421 __skb_queue_purge(amsdu); in ath10k_htt_rx_amsdu_pop()
425 __skb_queue_tail(amsdu, msdu); in ath10k_htt_rx_amsdu_pop()
443 if (skb_queue_empty(amsdu)) in ath10k_htt_rx_amsdu_pop()
1264 struct sk_buff_head *amsdu, in ath10k_htt_rx_h_ppdu() argument
1275 if (skb_queue_empty(amsdu)) in ath10k_htt_rx_h_ppdu()
1278 first = skb_peek(amsdu); in ath10k_htt_rx_h_ppdu()
1924 struct sk_buff_head *amsdu, in ath10k_htt_rx_h_mpdu() argument
1953 if (skb_queue_empty(amsdu)) in ath10k_htt_rx_h_mpdu()
1956 first = skb_peek(amsdu); in ath10k_htt_rx_h_mpdu()
1989 last = skb_peek_tail(amsdu); in ath10k_htt_rx_h_mpdu()
2056 skb_queue_walk(amsdu, msdu) { in ath10k_htt_rx_h_mpdu()
2074 __skb_unlink(msdu, amsdu); in ath10k_htt_rx_h_mpdu()
2114 struct sk_buff_head *amsdu, in ath10k_htt_rx_h_enqueue() argument
2120 first_subframe = skb_peek(amsdu); in ath10k_htt_rx_h_enqueue()
2122 while ((msdu = __skb_dequeue(amsdu))) { in ath10k_htt_rx_h_enqueue()
2124 if (skb_queue_empty(amsdu)) in ath10k_htt_rx_h_enqueue()
2140 static int ath10k_unchain_msdu(struct sk_buff_head *amsdu, in ath10k_unchain_msdu() argument
2146 int amsdu_len = skb_queue_len(amsdu); in ath10k_unchain_msdu()
2155 first = __skb_dequeue(amsdu); in ath10k_unchain_msdu()
2158 skb_queue_walk(amsdu, skb) in ath10k_unchain_msdu()
2168 __skb_queue_head(amsdu, first); in ath10k_unchain_msdu()
2175 while ((skb = __skb_dequeue(amsdu))) { in ath10k_unchain_msdu()
2181 __skb_queue_head(amsdu, first); in ath10k_unchain_msdu()
2189 struct sk_buff_head *amsdu, in ath10k_htt_rx_h_unchain() argument
2200 first = skb_peek(amsdu); in ath10k_htt_rx_h_unchain()
2215 skb_queue_len(amsdu) != 1 + rxd_frag_info->ring2_more_count) { in ath10k_htt_rx_h_unchain()
2216 *drop_cnt += skb_queue_len(amsdu); in ath10k_htt_rx_h_unchain()
2217 __skb_queue_purge(amsdu); in ath10k_htt_rx_h_unchain()
2221 ath10k_unchain_msdu(amsdu, unchain_cnt); in ath10k_htt_rx_h_unchain()
2225 struct sk_buff_head *amsdu) in ath10k_htt_rx_validate_amsdu() argument
2239 first = skb_peek(amsdu); in ath10k_htt_rx_validate_amsdu()
2284 struct sk_buff_head *amsdu, in ath10k_htt_rx_amsdu_allowed() argument
2297 if (!ath10k_htt_rx_validate_amsdu(ar, amsdu)) { in ath10k_htt_rx_amsdu_allowed()
2306 struct sk_buff_head *amsdu, in ath10k_htt_rx_h_filter() argument
2310 if (skb_queue_empty(amsdu)) in ath10k_htt_rx_h_filter()
2313 if (ath10k_htt_rx_amsdu_allowed(ar, amsdu, rx_status)) in ath10k_htt_rx_h_filter()
2317 *drop_cnt += skb_queue_len(amsdu); in ath10k_htt_rx_h_filter()
2319 __skb_queue_purge(amsdu); in ath10k_htt_rx_h_filter()
2326 struct sk_buff_head amsdu; in ath10k_htt_rx_handle_amsdu() local
2335 __skb_queue_head_init(&amsdu); in ath10k_htt_rx_handle_amsdu()
2342 ret = ath10k_htt_rx_amsdu_pop(htt, &amsdu); in ath10k_htt_rx_handle_amsdu()
2347 __skb_queue_purge(&amsdu); in ath10k_htt_rx_handle_amsdu()
2355 num_msdus = skb_queue_len(&amsdu); in ath10k_htt_rx_handle_amsdu()
2357 ath10k_htt_rx_h_ppdu(ar, &amsdu, rx_status, 0xffff); in ath10k_htt_rx_handle_amsdu()
2361 ath10k_htt_rx_h_unchain(ar, &amsdu, &drop_cnt, &unchain_cnt); in ath10k_htt_rx_handle_amsdu()
2363 ath10k_htt_rx_h_filter(ar, &amsdu, rx_status, &drop_cnt_filter); in ath10k_htt_rx_handle_amsdu()
2364 ath10k_htt_rx_h_mpdu(ar, &amsdu, rx_status, true, first_hdr, &err, 0, in ath10k_htt_rx_handle_amsdu()
2366 msdus_to_queue = skb_queue_len(&amsdu); in ath10k_htt_rx_handle_amsdu()
2367 ath10k_htt_rx_h_enqueue(ar, &amsdu, rx_status); in ath10k_htt_rx_handle_amsdu()
3155 struct sk_buff_head *amsdu) in ath10k_htt_rx_extract_amsdu() argument
3164 if (WARN_ON(!skb_queue_empty(amsdu))) in ath10k_htt_rx_extract_amsdu()
3168 __skb_queue_tail(amsdu, msdu); in ath10k_htt_rx_extract_amsdu()
3180 msdu = skb_peek_tail(amsdu); in ath10k_htt_rx_extract_amsdu()
3187 skb_queue_splice_init(amsdu, list); in ath10k_htt_rx_extract_amsdu()
3269 struct sk_buff_head amsdu; in ath10k_htt_rx_in_ord_ind() local
3327 __skb_queue_head_init(&amsdu); in ath10k_htt_rx_in_ord_ind()
3328 ret = ath10k_htt_rx_extract_amsdu(&ar->hw_params, &list, &amsdu); in ath10k_htt_rx_in_ord_ind()
3337 ath10k_htt_rx_h_ppdu(ar, &amsdu, status, vdev_id); in ath10k_htt_rx_in_ord_ind()
3338 ath10k_htt_rx_h_filter(ar, &amsdu, status, NULL); in ath10k_htt_rx_in_ord_ind()
3339 ath10k_htt_rx_h_mpdu(ar, &amsdu, status, false, NULL, in ath10k_htt_rx_in_ord_ind()
3341 ath10k_htt_rx_h_enqueue(ar, &amsdu, status); in ath10k_htt_rx_in_ord_ind()