mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 14:33:05 +00:00
rtl8188eu: Remove CONFIG_TCP_CSUM_OFFLOAD_TX
This change also allows the removal of rtw_set_tx_chksum_offload() as it is now empty. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
bb4b1fe327
commit
f42ef2ce84
8 changed files with 10 additions and 111 deletions
|
@ -67,15 +67,8 @@
|
|||
#include <net/route.h>
|
||||
#include <net/flow.h>
|
||||
#include <net/arp.h>
|
||||
|
||||
#include <net/ieee80211_radiotap.h>
|
||||
#include <net/cfg80211.h>
|
||||
|
||||
#ifdef CONFIG_TCP_CSUM_OFFLOAD_TX
|
||||
#include <linux/in.h>
|
||||
#include <linux/udp.h>
|
||||
#endif
|
||||
|
||||
#include <linux/usb.h>
|
||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,21))
|
||||
#include <linux/usb_ch9.h>
|
||||
|
|
|
@ -171,9 +171,6 @@ struct pkt_attrib
|
|||
u8 intel_proxim;
|
||||
u8 retry_ctrl;
|
||||
struct sta_info * psta;
|
||||
#ifdef CONFIG_TCP_CSUM_OFFLOAD_TX
|
||||
u8 hw_tcp_csum;
|
||||
#endif
|
||||
};
|
||||
|
||||
#define WLANHDR_OFFSET 64
|
||||
|
|
|
@ -41,22 +41,20 @@ struct sta_xmit_priv;
|
|||
struct xmit_frame;
|
||||
struct xmit_buf;
|
||||
|
||||
extern int _rtw_xmit_entry(_pkt *pkt, _nic_hdl pnetdev);
|
||||
extern int rtw_xmit_entry(_pkt *pkt, _nic_hdl pnetdev);
|
||||
int _rtw_xmit_entry(_pkt *pkt, _nic_hdl pnetdev);
|
||||
int rtw_xmit_entry(_pkt *pkt, _nic_hdl pnetdev);
|
||||
|
||||
void rtw_os_xmit_schedule(struct adapter *padapter);
|
||||
|
||||
int rtw_os_xmit_resource_alloc(struct adapter *padapter, struct xmit_buf *pxmitbuf,u32 alloc_sz);
|
||||
void rtw_os_xmit_resource_free(struct adapter *padapter, struct xmit_buf *pxmitbuf,u32 free_sz);
|
||||
|
||||
extern void rtw_set_tx_chksum_offload(_pkt *pkt, struct pkt_attrib *pattrib);
|
||||
uint rtw_remainder_len(struct pkt_file *pfile);
|
||||
void _rtw_open_pktfile(_pkt *pkt, struct pkt_file *pfile);
|
||||
uint _rtw_pktfile_read (struct pkt_file *pfile, u8 *rmem, uint rlen);
|
||||
sint rtw_endofpktfile (struct pkt_file *pfile);
|
||||
|
||||
extern uint rtw_remainder_len(struct pkt_file *pfile);
|
||||
extern void _rtw_open_pktfile(_pkt *pkt, struct pkt_file *pfile);
|
||||
extern uint _rtw_pktfile_read (struct pkt_file *pfile, u8 *rmem, uint rlen);
|
||||
extern sint rtw_endofpktfile (struct pkt_file *pfile);
|
||||
|
||||
extern void rtw_os_pkt_complete(struct adapter *padapter, _pkt *pkt);
|
||||
extern void rtw_os_xmit_complete(struct adapter *padapter, struct xmit_frame *pxframe);
|
||||
void rtw_os_pkt_complete(struct adapter *padapter, _pkt *pkt);
|
||||
void rtw_os_xmit_complete(struct adapter *padapter, struct xmit_frame *pxframe);
|
||||
|
||||
#endif //__XMIT_OSDEP_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue