Searched refs:cksum (Results 1 – 6 of 6) sorted by relevance
74 qdf_nbuf_rx_cksum_t cksum = { in htt_set_checksum_result_hl() local82 cksum.l4_type = QDF_NBUF_RX_CKSUM_UDP; in htt_set_checksum_result_hl()85 cksum.l4_type = QDF_NBUF_RX_CKSUM_TCP; in htt_set_checksum_result_hl()88 cksum.l4_type = QDF_NBUF_RX_CKSUM_UDPIPV6; in htt_set_checksum_result_hl()91 cksum.l4_type = QDF_NBUF_RX_CKSUM_TCPIPV6; in htt_set_checksum_result_hl()94 cksum.l4_type = QDF_NBUF_RX_CKSUM_NONE; in htt_set_checksum_result_hl()97 if (cksum.l4_type != (qdf_nbuf_l4_rx_cksum_type_t) in htt_set_checksum_result_hl()99 cksum.l4_result = flag & HTT_RX_IND_HL_FLAG_C4_FAILED ? in htt_set_checksum_result_hl()103 qdf_nbuf_set_rx_cksum(msdu, &cksum); in htt_set_checksum_result_hl()
679 qdf_nbuf_rx_cksum_t cksum = { in htt_set_checksum_result_ll() local685 if (cksum.l4_type != in htt_set_checksum_result_ll()687 cksum.l4_result = in htt_set_checksum_result_ll()693 qdf_nbuf_set_rx_cksum(msdu, &cksum); in htt_set_checksum_result_ll()
2334 qdf_nbuf_rx_cksum_t cksum = {0}; in dp_rx_cksum_offload() local2345 cksum.l4_result = QDF_NBUF_RX_CKSUM_TCP_UDP_UNNECESSARY; in dp_rx_cksum_offload()2349 cksum.csum_level = 1; in dp_rx_cksum_offload()2351 cksum.l4_result = in dp_rx_cksum_offload()2363 cksum.l4_result = QDF_NBUF_RX_CKSUM_TCP_UDP_UNNECESSARY; in dp_rx_cksum_offload()2371 qdf_nbuf_set_rx_cksum(nbuf, &cksum); in dp_rx_cksum_offload()
1387 __qdf_nbuf_set_rx_cksum(struct sk_buff *skb, qdf_nbuf_rx_cksum_t *cksum) in __qdf_nbuf_set_rx_cksum() argument1389 switch (cksum->l4_result) { in __qdf_nbuf_set_rx_cksum()1395 skb->csum_level = cksum->csum_level; in __qdf_nbuf_set_rx_cksum()1399 skb->csum = cksum->val; in __qdf_nbuf_set_rx_cksum()
1451 qdf_nbuf_rx_cksum_t *cksum);
3416 qdf_nbuf_set_rx_cksum(qdf_nbuf_t buf, qdf_nbuf_rx_cksum_t *cksum) in qdf_nbuf_set_rx_cksum() argument3418 __qdf_nbuf_set_rx_cksum(buf, cksum); in qdf_nbuf_set_rx_cksum()