char cck_adc_pwdb[4];
u16 Seq_Num;
u8 nTotalAggPkt;
-#ifdef TCP_CSUM_OFFLOAD_RX
- u8 tcp_csum_valid;
-#endif
#endif
};
struct sk_buff *subframes[MAX_SUBFRAME_COUNT];
u8 dst[ETH_ALEN];
u8 src[ETH_ALEN];
-#ifdef TCP_CSUM_OFFLOAD_RX
- u8 tcp_csum_valid;
-#endif
}__attribute__((packed));
typedef union _frameqos {
sub_skb->dev = ieee->dev;
sub_skb->dev->stats.rx_packets++;
sub_skb->dev->stats.rx_bytes += sub_skb->len;
-#ifdef TCP_CSUM_OFFLOAD_RX
- if ( prxb->tcp_csum_valid)
- sub_skb->ip_summed = CHECKSUM_UNNECESSARY;
- else
- sub_skb->ip_summed = CHECKSUM_NONE;
-
-#else
sub_skb->ip_summed = CHECKSUM_NONE; /* 802.11 crc not sufficient */
-#endif
ieee->last_rx_ps_time = jiffies;
netif_rx(sub_skb);
}
sub_skb->dev = dev;
sub_skb->dev->stats.rx_packets++;
sub_skb->dev->stats.rx_bytes += sub_skb->len;
-#ifdef TCP_CSUM_OFFLOAD_RX
- if ( rx_stats->tcp_csum_valid)
- sub_skb->ip_summed = CHECKSUM_UNNECESSARY;
- else
- sub_skb->ip_summed = CHECKSUM_NONE;
-#else
sub_skb->ip_summed = CHECKSUM_NONE; /* 802.11 crc not sufficient */
-#endif
netif_rx(sub_skb);
}
}
if (ieee->pHTInfo->bCurRxReorderEnable == false ||pTS == NULL || bToOtherSTA){
rtllib_rx_indicate_pkt_legacy(ieee, rx_stats, rxb, dst, src);
}else{
-#ifdef TCP_CSUM_OFFLOAD_RX
- rxb->tcp_csum_valid = rx_stats->tcp_csum_valid;
-#endif
RxReorderIndicatePacket(ieee, rxb, pTS, SeqNum);
}