Lines Matching refs:offload_assist
102 u16 offload_assist) in iwl_mvm_tx_csum() argument
159 offload_assist |= BIT(TX_CMD_OFFLD_L4_EN); in iwl_mvm_tx_csum()
166 offload_assist |= (4 << TX_CMD_OFFLD_IP_HDR); in iwl_mvm_tx_csum()
170 (offload_assist & BIT(TX_CMD_OFFLD_AMSDU))) { in iwl_mvm_tx_csum()
172 offload_assist |= BIT(TX_CMD_OFFLD_L3_EN); in iwl_mvm_tx_csum()
191 offload_assist |= mh_len << TX_CMD_OFFLD_MH_SIZE; in iwl_mvm_tx_csum()
195 return offload_assist; in iwl_mvm_tx_csum()
209 u16 offload_assist = 0; in iwl_mvm_set_tx_cmd() local
230 offload_assist |= BIT(TX_CMD_OFFLD_AMSDU); in iwl_mvm_set_tx_cmd()
299 !(offload_assist & BIT(TX_CMD_OFFLD_AMSDU))) in iwl_mvm_set_tx_cmd()
300 offload_assist |= BIT(TX_CMD_OFFLD_PAD); in iwl_mvm_set_tx_cmd()
302 tx_cmd->offload_assist |= in iwl_mvm_set_tx_cmd()
304 offload_assist)); in iwl_mvm_set_tx_cmd()
510 u16 offload_assist = 0; in iwl_mvm_set_tx_params() local
520 offload_assist |= BIT(TX_CMD_OFFLD_AMSDU); in iwl_mvm_set_tx_params()
523 offload_assist = iwl_mvm_tx_csum(mvm, skb, hdr, info, in iwl_mvm_set_tx_params()
524 offload_assist); in iwl_mvm_set_tx_params()
528 !(offload_assist & BIT(TX_CMD_OFFLD_AMSDU))) in iwl_mvm_set_tx_params()
529 offload_assist |= BIT(TX_CMD_OFFLD_PAD); in iwl_mvm_set_tx_params()
551 cmd->offload_assist |= cpu_to_le32(offload_assist); in iwl_mvm_set_tx_params()
564 cmd->offload_assist |= cpu_to_le16(offload_assist); in iwl_mvm_set_tx_params()