Lines Matching refs:pkt_len

703 			u8 *buffer, u32 pkt_len, u32 port)  in mwifiex_write_data_sync()  argument
712 BLOCK_MODE) ? (pkt_len / in mwifiex_write_data_sync()
713 MWIFIEX_SDIO_BLOCK_SIZE) : pkt_len; in mwifiex_write_data_sync()
1125 u8 *payload, u32 pkt_len, u32 port) in mwifiex_write_data_to_card() argument
1131 ret = mwifiex_write_data_sync(adapter, payload, pkt_len, port); in mwifiex_write_data_to_card()
1586 u32 total_pkt_len, pkt_len; in mwifiex_deaggr_sdio_pkt() local
1607 pkt_len = get_unaligned_le16((data + in mwifiex_deaggr_sdio_pkt()
1609 if ((pkt_len + SDIO_HEADER_OFFSET) > blk_size) { in mwifiex_deaggr_sdio_pkt()
1613 __func__, pkt_len, blk_size); in mwifiex_deaggr_sdio_pkt()
1617 skb_deaggr = mwifiex_alloc_dma_align_buf(pkt_len, GFP_KERNEL); in mwifiex_deaggr_sdio_pkt()
1620 skb_put(skb_deaggr, pkt_len); in mwifiex_deaggr_sdio_pkt()
1621 memcpy(skb_deaggr->data, data + SDIO_HEADER_OFFSET, pkt_len); in mwifiex_deaggr_sdio_pkt()
1641 u16 pkt_len; in mwifiex_decode_rx_packet() local
1644 pkt_len = get_unaligned_le16(skb->data); in mwifiex_decode_rx_packet()
1647 skb_trim(skb, pkt_len); in mwifiex_decode_rx_packet()
1747 u32 pkt_len, pkt_type, mport, pind; in mwifiex_sdio_card_to_host_mp_aggr() local
1862 pkt_len = get_unaligned_le16(&curr_ptr[0]); in mwifiex_sdio_card_to_host_mp_aggr()
1871 pkt_len, pkt_type); in mwifiex_sdio_card_to_host_mp_aggr()
1881 (pkt_len <= len_arr[pind])) { in mwifiex_sdio_card_to_host_mp_aggr()
1883 memcpy(skb_deaggr->data, curr_ptr, pkt_len); in mwifiex_sdio_card_to_host_mp_aggr()
1885 skb_trim(skb_deaggr, pkt_len); in mwifiex_sdio_card_to_host_mp_aggr()
1896 pkt_type, pkt_len, len_arr[pind]); in mwifiex_sdio_card_to_host_mp_aggr()
2170 u8 *payload, u32 pkt_len, u32 port, in mwifiex_host_to_card_mp_aggr() argument
2200 if (MP_TX_AGGR_BUF_HAS_ROOM(card, pkt_len)) { in mwifiex_host_to_card_mp_aggr()
2206 card, pkt_len + next_pkt_len)) in mwifiex_host_to_card_mp_aggr()
2219 if (MP_TX_AGGR_BUF_HAS_ROOM(card, pkt_len) && in mwifiex_host_to_card_mp_aggr()
2235 if (MP_TX_AGGR_BUF_HAS_ROOM(card, pkt_len)) in mwifiex_host_to_card_mp_aggr()
2249 MP_TX_AGGR_BUF_PUT(card, payload, pkt_len, port); in mwifiex_host_to_card_mp_aggr()
2305 ret = mwifiex_write_data_to_card(adapter, payload, pkt_len, in mwifiex_host_to_card_mp_aggr()
2313 MP_TX_AGGR_BUF_PUT(card, payload, pkt_len, port); in mwifiex_host_to_card_mp_aggr()
2339 u32 pkt_len = skb->len; in mwifiex_sdio_host_to_card() local
2343 buf_block_len = (pkt_len + blk_size - 1) / blk_size; in mwifiex_sdio_host_to_card()
2344 put_unaligned_le16((u16)pkt_len, payload + 0); in mwifiex_sdio_host_to_card()
2366 if (pkt_len <= adapter->intf_hdr_len || in mwifiex_sdio_host_to_card()
2367 pkt_len > MWIFIEX_UPLD_SIZE) in mwifiex_sdio_host_to_card()
2370 __func__, payload, pkt_len); in mwifiex_sdio_host_to_card()
2377 pkt_len = buf_block_len * blk_size; in mwifiex_sdio_host_to_card()
2380 ret = mwifiex_host_to_card_mp_aggr(adapter, payload, pkt_len, in mwifiex_sdio_host_to_card()
2384 ret = mwifiex_host_to_card_mp_aggr(adapter, payload, pkt_len, in mwifiex_sdio_host_to_card()