From: Golan Ben Ami Date: Thu, 13 Apr 2023 07:44:07 +0000 (+0300) Subject: wifi: iwlwifi: mvm: enable bz hw checksum from c step X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=72429d68a0e88a1a19bbc61ed4c35a3b6baba628;p=linux.git wifi: iwlwifi: mvm: enable bz hw checksum from c step B step doesn't support full checksum yet, move to c step. Signed-off-by: Golan Ben Ami Signed-off-by: Gregory Greenman Link: https://lore.kernel.org/r/20230413102635.697a9d74e84d.I6724874112692a04e29287cac9dad7140532557f@changeid Signed-off-by: Johannes Berg --- diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/tx.c b/drivers/net/wireless/intel/iwlwifi/mvm/tx.c index 9a6e7dd166c0d..b3545c3273e59 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/tx.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/tx.c @@ -187,7 +187,7 @@ static u32 iwl_mvm_tx_csum(struct iwl_mvm *mvm, struct sk_buff *skb, if (mvm->trans->trans_cfg->device_family < IWL_DEVICE_FAMILY_BZ || (mvm->trans->trans_cfg->device_family == IWL_DEVICE_FAMILY_BZ && CSR_HW_REV_TYPE(mvm->trans->hw_rev) == IWL_CFG_MAC_TYPE_GL && - mvm->trans->hw_rev_step == SILICON_A_STEP)) + mvm->trans->hw_rev_step <= SILICON_B_STEP)) return iwl_mvm_tx_csum_pre_bz(mvm, skb, info, amsdu); return iwl_mvm_tx_csum_bz(mvm, skb, amsdu); }