Lines Matching refs:num_subframes
815 iwl_mvm_tx_tso_segment(struct sk_buff *skb, unsigned int num_subframes, in iwl_mvm_tx_tso_segment() argument
829 skb_shinfo(skb)->gso_size = num_subframes * mss; in iwl_mvm_tx_tso_segment()
853 ip_hdr(tmp)->id = htons(ip_base_id + i * num_subframes); in iwl_mvm_tx_tso_segment()
888 unsigned int num_subframes, tcp_payload_len, subf_len, max_amsdu_len; in iwl_mvm_tx_tso() local
949 num_subframes = (max_amsdu_len + pad) / (subf_len + pad); in iwl_mvm_tx_tso()
952 num_subframes > sta->max_amsdu_subframes) in iwl_mvm_tx_tso()
953 num_subframes = sta->max_amsdu_subframes; in iwl_mvm_tx_tso()
964 if ((num_subframes * 2 + skb_shinfo(skb)->nr_frags + 1) > in iwl_mvm_tx_tso()
966 num_subframes = 1; in iwl_mvm_tx_tso()
968 if (num_subframes > 1) in iwl_mvm_tx_tso()
972 if (num_subframes * mss >= tcp_payload_len) { in iwl_mvm_tx_tso()
981 return iwl_mvm_tx_tso_segment(skb, num_subframes, netdev_flags, in iwl_mvm_tx_tso()