Lines Matching refs:pkt_len

677 			u8 *buffer, u32 pkt_len, u32 port)  in mwifiex_write_data_sync()  argument
686 BLOCK_MODE) ? (pkt_len / in mwifiex_write_data_sync()
687 MWIFIEX_SDIO_BLOCK_SIZE) : pkt_len; in mwifiex_write_data_sync()
1089 u8 *payload, u32 pkt_len, u32 port) in mwifiex_write_data_to_card() argument
1095 ret = mwifiex_write_data_sync(adapter, payload, pkt_len, port); in mwifiex_write_data_to_card()
1550 u32 total_pkt_len, pkt_len; in mwifiex_deaggr_sdio_pkt() local
1571 pkt_len = get_unaligned_le16((data + in mwifiex_deaggr_sdio_pkt()
1573 if ((pkt_len + SDIO_HEADER_OFFSET) > blk_size) { in mwifiex_deaggr_sdio_pkt()
1577 __func__, pkt_len, blk_size); in mwifiex_deaggr_sdio_pkt()
1581 skb_deaggr = mwifiex_alloc_dma_align_buf(pkt_len, GFP_KERNEL); in mwifiex_deaggr_sdio_pkt()
1584 skb_put(skb_deaggr, pkt_len); in mwifiex_deaggr_sdio_pkt()
1585 memcpy(skb_deaggr->data, data + SDIO_HEADER_OFFSET, pkt_len); in mwifiex_deaggr_sdio_pkt()
1605 u16 pkt_len; in mwifiex_decode_rx_packet() local
1608 pkt_len = get_unaligned_le16(skb->data); in mwifiex_decode_rx_packet()
1611 skb_trim(skb, pkt_len); in mwifiex_decode_rx_packet()
1711 u32 pkt_len, pkt_type, mport, pind; in mwifiex_sdio_card_to_host_mp_aggr() local
1826 pkt_len = get_unaligned_le16(&curr_ptr[0]); in mwifiex_sdio_card_to_host_mp_aggr()
1835 pkt_len, pkt_type); in mwifiex_sdio_card_to_host_mp_aggr()
1845 (pkt_len <= len_arr[pind])) { in mwifiex_sdio_card_to_host_mp_aggr()
1847 memcpy(skb_deaggr->data, curr_ptr, pkt_len); in mwifiex_sdio_card_to_host_mp_aggr()
1849 skb_trim(skb_deaggr, pkt_len); in mwifiex_sdio_card_to_host_mp_aggr()
1860 pkt_type, pkt_len, len_arr[pind]); in mwifiex_sdio_card_to_host_mp_aggr()
2134 u8 *payload, u32 pkt_len, u32 port, in mwifiex_host_to_card_mp_aggr() argument
2164 if (MP_TX_AGGR_BUF_HAS_ROOM(card, pkt_len)) { in mwifiex_host_to_card_mp_aggr()
2170 card, pkt_len + next_pkt_len)) in mwifiex_host_to_card_mp_aggr()
2183 if (MP_TX_AGGR_BUF_HAS_ROOM(card, pkt_len) && in mwifiex_host_to_card_mp_aggr()
2199 if (MP_TX_AGGR_BUF_HAS_ROOM(card, pkt_len)) in mwifiex_host_to_card_mp_aggr()
2213 MP_TX_AGGR_BUF_PUT(card, payload, pkt_len, port); in mwifiex_host_to_card_mp_aggr()
2269 ret = mwifiex_write_data_to_card(adapter, payload, pkt_len, in mwifiex_host_to_card_mp_aggr()
2277 MP_TX_AGGR_BUF_PUT(card, payload, pkt_len, port); in mwifiex_host_to_card_mp_aggr()
2303 u32 pkt_len = skb->len; in mwifiex_sdio_host_to_card() local
2307 buf_block_len = (pkt_len + blk_size - 1) / blk_size; in mwifiex_sdio_host_to_card()
2308 put_unaligned_le16((u16)pkt_len, payload + 0); in mwifiex_sdio_host_to_card()
2330 if (pkt_len <= adapter->intf_hdr_len || in mwifiex_sdio_host_to_card()
2331 pkt_len > MWIFIEX_UPLD_SIZE) in mwifiex_sdio_host_to_card()
2334 __func__, payload, pkt_len); in mwifiex_sdio_host_to_card()
2341 pkt_len = buf_block_len * blk_size; in mwifiex_sdio_host_to_card()
2344 ret = mwifiex_host_to_card_mp_aggr(adapter, payload, pkt_len, in mwifiex_sdio_host_to_card()
2348 ret = mwifiex_host_to_card_mp_aggr(adapter, payload, pkt_len, in mwifiex_sdio_host_to_card()