Lines Matching refs:pkt_info
28 struct rtw_tx_pkt_info pkt_info; in rtw_usb_fill_tx_checksum() local
31 pkt_info.pkt_offset = GET_TX_DESC_PKT_OFFSET(skb->data); in rtw_usb_fill_tx_checksum()
32 rtw_tx_fill_txdesc_checksum(rtwdev, &pkt_info, skb->data); in rtw_usb_fill_tx_checksum()
380 struct rtw_tx_pkt_info *pkt_info, in rtw_usb_write_data() argument
389 size = pkt_info->tx_pkt_size; in rtw_usb_write_data()
390 qsel = pkt_info->qsel; in rtw_usb_write_data()
392 headsize = pkt_info->offset ? pkt_info->offset : desclen; in rtw_usb_write_data()
402 rtw_tx_fill_tx_desc(pkt_info, skb); in rtw_usb_write_data()
403 rtw_tx_fill_txdesc_checksum(rtwdev, pkt_info, skb->data); in rtw_usb_write_data()
417 struct rtw_tx_pkt_info pkt_info = {0}; in rtw_usb_write_data_rsvd_page() local
419 pkt_info.tx_pkt_size = size; in rtw_usb_write_data_rsvd_page()
420 pkt_info.qsel = TX_DESC_QSEL_BEACON; in rtw_usb_write_data_rsvd_page()
421 pkt_info.offset = chip->tx_pkt_desc_sz; in rtw_usb_write_data_rsvd_page()
423 return rtw_usb_write_data(rtwdev, &pkt_info, buf); in rtw_usb_write_data_rsvd_page()
428 struct rtw_tx_pkt_info pkt_info = {0}; in rtw_usb_write_data_h2c() local
430 pkt_info.tx_pkt_size = size; in rtw_usb_write_data_h2c()
431 pkt_info.qsel = TX_DESC_QSEL_H2C; in rtw_usb_write_data_h2c()
433 return rtw_usb_write_data(rtwdev, &pkt_info, buf); in rtw_usb_write_data_h2c()
453 struct rtw_tx_pkt_info *pkt_info, in rtw_usb_tx_write() argument
462 pkt_info->qsel = rtw_usb_tx_queue_mapping_to_qsel(skb); in rtw_usb_tx_write()
465 ep = qsel_to_ep(rtwusb, pkt_info->qsel); in rtw_usb_tx_write()
466 rtw_tx_fill_tx_desc(pkt_info, skb); in rtw_usb_tx_write()
467 rtw_tx_fill_txdesc_checksum(rtwdev, pkt_info, skb->data); in rtw_usb_tx_write()
469 tx_data->sn = pkt_info->sn; in rtw_usb_tx_write()