Lines Matching refs:num_subframes
817 iwl_mvm_tx_tso_segment(struct sk_buff *skb, unsigned int num_subframes, in iwl_mvm_tx_tso_segment() argument
831 skb_shinfo(skb)->gso_size = num_subframes * mss; in iwl_mvm_tx_tso_segment()
854 ip_hdr(tmp)->id = htons(ip_base_id + i * num_subframes); in iwl_mvm_tx_tso_segment()
887 unsigned int num_subframes, tcp_payload_len, subf_len, max_amsdu_len; in iwl_mvm_tx_tso() local
948 num_subframes = (max_amsdu_len + pad) / (subf_len + pad); in iwl_mvm_tx_tso()
951 num_subframes > sta->max_amsdu_subframes) in iwl_mvm_tx_tso()
952 num_subframes = sta->max_amsdu_subframes; in iwl_mvm_tx_tso()
963 if ((num_subframes * 2 + skb_shinfo(skb)->nr_frags + 1) > in iwl_mvm_tx_tso()
965 num_subframes = 1; in iwl_mvm_tx_tso()
967 if (num_subframes > 1) in iwl_mvm_tx_tso()
971 if (num_subframes * mss >= tcp_payload_len) { in iwl_mvm_tx_tso()
980 return iwl_mvm_tx_tso_segment(skb, num_subframes, netdev_flags, in iwl_mvm_tx_tso()