Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0769d8a5 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ath10k: disable HW checksum for WCN3990"

parents 7ac59f96 9c3ac0ca
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -1968,11 +1968,14 @@ int ath10k_core_start(struct ath10k *ar, enum ath10k_firmware_mode mode,
	 * possible to implicitly make it correct by creating a dummy vdev and
	 * then deleting it.
	 */
	if (!QCA_REV_WCN3990(ar)) {
		status = ath10k_core_reset_rx_filter(ar);
		if (status) {
		ath10k_err(ar, "failed to reset rx filter: %d\n", status);
			ath10k_err(ar, "failed to reset rx filter: %d\n",
				   status);
			goto err_hif_stop;
		}
	}

	/* If firmware indicates Full Rx Reorder support it must be used in a
	 * slightly different manner. Let HTT code know.
+11 −7
Original line number Diff line number Diff line
@@ -2798,12 +2798,14 @@ static void ath10k_bss_disassoc(struct ieee80211_hw *hw,

	arvif->def_wep_key_idx = -1;

	if (!QCA_REV_WCN3990(ar)) {
		ret = ath10k_mac_vif_recalc_txbf(ar, vif, vht_cap);
		if (ret) {
			ath10k_warn(ar, "failed to recalc txbf for vdev %i: %d\n",
				    arvif->vdev_id, ret);
			return;
		}
	}

	arvif->is_up = false;

@@ -7987,8 +7989,10 @@ int ath10k_mac_register(struct ath10k *ar)
		goto err_free;
	}

	if (!QCA_REV_WCN3990(ar)) {
		if (!test_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags))
			ar->hw->netdev_features = NETIF_F_HW_CSUM;
	}

	if (IS_ENABLED(CONFIG_ATH10K_DFS_CERTIFIED)) {
		/* Init ath dfs pattern detector */