mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-22 05:14:35 +00:00
remove USB_PACKET_OFFSET_SZ
This commit is contained in:
parent
ea9aade289
commit
39e9af79d8
@ -3487,11 +3487,7 @@ void rtw_init_xmitframe(struct xmit_frame *pxframe)
|
||||
|
||||
#ifdef CONFIG_USB_HCI
|
||||
pxframe->pkt = NULL;
|
||||
#ifdef USB_PACKET_OFFSET_SZ
|
||||
pxframe->pkt_offset = (PACKET_OFFSET_SZ / 8);
|
||||
#else
|
||||
pxframe->pkt_offset = 1;/* default use pkt_offset to fill tx desc */
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USB_TX_AGGREGATION
|
||||
pxframe->agg_num = 1;
|
||||
|
@ -206,11 +206,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USB_HCI
|
||||
#ifdef USB_PACKET_OFFSET_SZ
|
||||
#define PACKET_OFFSET_SZ (USB_PACKET_OFFSET_SZ)
|
||||
#else
|
||||
#define PACKET_OFFSET_SZ (8)
|
||||
#endif
|
||||
#define PACKET_OFFSET_SZ (8)
|
||||
#define TXDESC_OFFSET (TXDESC_SIZE + PACKET_OFFSET_SZ)
|
||||
#endif
|
||||
|
||||
|
@ -631,9 +631,6 @@ u32 usb_write_port(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *wmem)
|
||||
#endif /* CONFIG_USE_USB_BUFFER_ALLOC_TX */
|
||||
|
||||
#ifdef USB_PACKET_OFFSET_SZ
|
||||
#if (USB_PACKET_OFFSET_SZ == 0)
|
||||
purb->transfer_flags |= URB_ZERO_PACKET;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
|
Loading…
Reference in New Issue
Block a user