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:
Larry Finger 2015-03-12 14:14:19 -05:00
parent bb4b1fe327
commit f42ef2ce84
8 changed files with 10 additions and 111 deletions

View file

@ -364,20 +364,7 @@ if (padapter->registrypriv.mp_mode == 0)
ptxdesc->txdw5 |= cpu_to_le32(MRateToHwRate(pmlmeext->tx_rate));
}
#ifdef CONFIG_TCP_CSUM_OFFLOAD_TX
/* offset 24 */
if ( pattrib->hw_tcp_csum == 1 ) {
u8 ip_hdr_offset = 32 + pattrib->hdrlen + pattrib->iv_len + 8;
ptxdesc->txdw7 = (1 << 31) | (ip_hdr_offset << 16);
DBG_8192C("ptxdesc->txdw7 = %08x\n", ptxdesc->txdw7);
}
#endif
}
else if((pxmitframe->frame_tag&0x0f)== MGNT_FRAMETAG)
{
/* DBG_8192C("pxmitframe->frame_tag == MGNT_FRAMETAG\n"); */
} else if((pxmitframe->frame_tag&0x0f)== MGNT_FRAMETAG) {
/* offset 4 */
ptxdesc->txdw1 |= cpu_to_le32(pattrib->mac_id&0x3f);
@ -386,8 +373,6 @@ if (padapter->registrypriv.mp_mode == 0)
ptxdesc->txdw1 |= cpu_to_le32((pattrib->raid<< RATE_ID_SHT) & 0x000f0000);
/* fill_txdesc_sectype(pattrib, ptxdesc); */
/* offset 8 */
/* CCX-TXRPT ack for xmit mgmt frames. */
if (pxmitframe->ack_report) {