Searched refs:snap_ip_tcp_hdrlen (Results 1 – 2 of 2) sorted by relevance
1287 unsigned int snap_ip_tcp_hdrlen, ip_hdrlen, total_len, hdr_room; in iwl_fill_data_tbs_amsdu() local1305 snap_ip_tcp_hdrlen = 8 + ip_hdrlen + tcp_hdrlen(skb); in iwl_fill_data_tbs_amsdu()1306 total_len = skb->len - snap_ip_tcp_hdrlen - hdr_len - iv_len; in iwl_fill_data_tbs_amsdu()1311 (3 + snap_ip_tcp_hdrlen + sizeof(struct ethhdr)) + iv_len; in iwl_fill_data_tbs_amsdu()1333 le16_add_cpu(&tx_cmd->len, -snap_ip_tcp_hdrlen); in iwl_fill_data_tbs_amsdu()1349 amsdu_pad = (4 - (sizeof(struct ethhdr) + snap_ip_tcp_hdrlen + in iwl_fill_data_tbs_amsdu()1356 length = snap_ip_tcp_hdrlen + data_left; in iwl_fill_data_tbs_amsdu()1366 hdr_page->pos += snap_ip_tcp_hdrlen; in iwl_fill_data_tbs_amsdu()
345 unsigned int snap_ip_tcp_hdrlen, ip_hdrlen, total_len, hdr_room; in iwl_txq_gen2_build_amsdu() local356 snap_ip_tcp_hdrlen = 8 + ip_hdrlen + tcp_hdrlen(skb); in iwl_txq_gen2_build_amsdu()357 total_len = skb->len - snap_ip_tcp_hdrlen - hdr_len; in iwl_txq_gen2_build_amsdu()362 (3 + snap_ip_tcp_hdrlen + sizeof(struct ethhdr)); in iwl_txq_gen2_build_amsdu()382 le16_add_cpu(&tx_cmd->len, -snap_ip_tcp_hdrlen); in iwl_txq_gen2_build_amsdu()397 amsdu_pad = (4 - (sizeof(struct ethhdr) + snap_ip_tcp_hdrlen + in iwl_txq_gen2_build_amsdu()404 length = snap_ip_tcp_hdrlen + data_left; in iwl_txq_gen2_build_amsdu()414 hdr_page->pos += snap_ip_tcp_hdrlen; in iwl_txq_gen2_build_amsdu()