Lines Matching refs:skb_aggr
47 mwifiex_11n_form_amsdu_pkt(struct sk_buff *skb_aggr, in mwifiex_11n_form_amsdu_pkt() argument
65 skb_put(skb_aggr, sizeof(*tx_header)); in mwifiex_11n_form_amsdu_pkt()
67 tx_header = (struct tx_packet_hdr *) skb_aggr->data; in mwifiex_11n_form_amsdu_pkt()
85 skb_put(skb_aggr, skb_src->len); in mwifiex_11n_form_amsdu_pkt()
86 memcpy(skb_aggr->data + sizeof(*tx_header), skb_src->data, in mwifiex_11n_form_amsdu_pkt()
90 skb_put(skb_aggr, *pad); in mwifiex_11n_form_amsdu_pkt()
92 return skb_aggr->len + *pad; in mwifiex_11n_form_amsdu_pkt()
161 struct sk_buff *skb_aggr, *skb_src; in mwifiex_11n_aggregate_pkt() local
175 skb_aggr = dev_alloc_skb(adapter->tx_buf_size); in mwifiex_11n_aggregate_pkt()
176 if (!skb_aggr) { in mwifiex_11n_aggregate_pkt()
182 skb_reserve(skb_aggr, headroom + sizeof(struct txpd)); in mwifiex_11n_aggregate_pkt()
183 tx_info_aggr = MWIFIEX_SKB_TXCB(skb_aggr); in mwifiex_11n_aggregate_pkt()
187 skb_aggr->priority = skb_src->priority; in mwifiex_11n_aggregate_pkt()
191 if (skb_tailroom(skb_aggr) < (skb_src->len + LLC_SNAP_LEN)) in mwifiex_11n_aggregate_pkt()
202 mwifiex_11n_form_amsdu_pkt(skb_aggr, skb_src, &pad); in mwifiex_11n_aggregate_pkt()
214 if (skb_tailroom(skb_aggr) < pad) { in mwifiex_11n_aggregate_pkt()
218 skb_put(skb_aggr, pad); in mwifiex_11n_aggregate_pkt()
227 skb_trim(skb_aggr, skb_aggr->len - pad); in mwifiex_11n_aggregate_pkt()
230 mwifiex_11n_form_amsdu_txpd(priv, skb_aggr); in mwifiex_11n_aggregate_pkt()
232 ptx_pd = (struct txpd *)skb_aggr->data; in mwifiex_11n_aggregate_pkt()
234 skb_push(skb_aggr, headroom); in mwifiex_11n_aggregate_pkt()
250 skb_aggr, &tx_param); in mwifiex_11n_aggregate_pkt()
257 mwifiex_write_data_complete(adapter, skb_aggr, -1); in mwifiex_11n_aggregate_pkt()
267 skb_queue_tail(&pra_list->skb_head, skb_aggr); in mwifiex_11n_aggregate_pkt()
269 pra_list->total_pkts_size += skb_aggr->len; in mwifiex_11n_aggregate_pkt()
283 mwifiex_write_data_complete(adapter, skb_aggr, ret); in mwifiex_11n_aggregate_pkt()
289 mwifiex_write_data_complete(adapter, skb_aggr, ret); in mwifiex_11n_aggregate_pkt()