Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp852212ybz; Wed, 22 Apr 2020 09:05:55 -0700 (PDT) X-Google-Smtp-Source: APiQypLFtcECTTsQtaCLuszRXGUD71kM6AojoLag0KdAI2bmF/3WV4Qf2G1DGX6o4IOOUSXsoOac X-Received: by 2002:a17:907:2155:: with SMTP id rk21mr27634192ejb.163.1587571555070; Wed, 22 Apr 2020 09:05:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587571555; cv=none; d=google.com; s=arc-20160816; b=epOVx8MYgJm5sDMmfCjwdDYBaMrmh1sL8PTSCAgRCvqUJhXf3IcAJNSXdbTjTQV2oL 1Ag6pmq0AwY1BtQhXgKvGOwBpWgfxLzYHYd1iqCrp7gJkq2ZCa17wKOxcOBpkF6Q/QCc 5Lfl1nYYQ2R9s4BFGME6JDrpgHlD0oNQchQTLKsKgpSsyofloeQvXwK8zyqZiKzGDUQJ n7wUI3aLMGyAvRx3VJCyTqJzOQoXPX4b2dCAkvPql8frJVcL6XEKivHjb3Fk/lvknD+a Y4vQojUVRMba18T56KV5G2s2e0mWtAZ6V+vXOzvt+j/agQWlHMEyi93+pV0RmsScCXnE GlNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=D6xHUmdDnJjtZtBmhiRntnMoco0uTZkDLOxUx/RMgqc=; b=DE48sfn33hhMc8UtMwVWd6yJ3XPiEEppv6ZvbdLReiKUn9qZgBW6GLKjc9cY2oLHkk P9Pc31zrwX2o9Vrgbr4wCN7iuggZl/MzOxxpJ4HZWU6Elv2ylIZtUBQ2c1lgh86/XvYX mhny+OWyHpyiDb3g1HGoxX2XbUb14fqKX7XGtPC5QqhLhDOahdxipoFFi9QGnVkaK6fV +vhabqWGB7/QL2iGubQ8ergZjggj/sFwkt0v4xdd3wB9tGZ5Njelbjf/I3nKaHAt3aFV 4EpRSINAqmFhKO0Y7LSc1ibWYIxOf4P0qXHk3WhXhTiYD9iUeMHUCy2UGGvzyeElTvkQ leWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=OzfEPjxl; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 1si1298563ejx.68.2020.04.22.09.05.31; Wed, 22 Apr 2020 09:05:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=OzfEPjxl; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726857AbgDVQEo (ORCPT + 99 others); Wed, 22 Apr 2020 12:04:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726829AbgDVQEm (ORCPT ); Wed, 22 Apr 2020 12:04:42 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BFCEC03C1AC for ; Wed, 22 Apr 2020 09:04:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=D6xHUmdDnJjtZtBmhiRntnMoco0uTZkDLOxUx/RMgqc=; b=OzfEPjxlXi8mCcC36SfGv+Q7Z7 ZFsxqZnrv/QCb7IDrLf6eCWW6zaAX28QsF6Wgiovv/SaHV8PMUuc7epZNizCuVo1sQIpJ9TiuJRAw Xz8FH9jGiQZBHJa/v5QqyNVkiV5lYq6bExKSH3K7075pN2G1SotX98YYTdhOIXCZ7FnA=; Received: from p54ae965b.dip0.t-ipconnect.de ([84.174.150.91] helo=maeck.lan) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1jRHrb-000557-V4 for linux-wireless@vger.kernel.org; Wed, 22 Apr 2020 18:04:40 +0200 Received: by maeck.lan (Postfix, from userid 501) id 9FE7E841962F; Wed, 22 Apr 2020 18:04:38 +0200 (CEST) From: Felix Fietkau To: linux-wireless@vger.kernel.org Subject: [PATCH 6/9] mt76: mt7615: adjust timing in mt7615_mac_set_timing to match fw/hw values Date: Wed, 22 Apr 2020 18:04:34 +0200 Message-Id: <20200422160437.99466-6-nbd@nbd.name> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20200422160437.99466-1-nbd@nbd.name> References: <20200422160437.99466-1-nbd@nbd.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Slightly improves performance Signed-off-by: Felix Fietkau --- drivers/net/wireless/mediatek/mt76/mt7615/mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/mac.c b/drivers/net/wireless/mediatek/mt76/mt7615/mac.c index 63c7acfd4cc2..88cbf5ffa290 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7615/mac.c +++ b/drivers/net/wireless/mediatek/mt76/mt7615/mac.c @@ -115,7 +115,7 @@ void mt7615_mac_set_timing(struct mt7615_phy *phy) u32 cck = FIELD_PREP(MT_TIMEOUT_VAL_PLCP, 231) | FIELD_PREP(MT_TIMEOUT_VAL_CCA, 48); u32 ofdm = FIELD_PREP(MT_TIMEOUT_VAL_PLCP, 60) | - FIELD_PREP(MT_TIMEOUT_VAL_CCA, 24); + FIELD_PREP(MT_TIMEOUT_VAL_CCA, 28); int sifs, offset; bool is_5ghz = phy->mt76->chandef.chan->band == NL80211_BAND_5GHZ; -- 2.24.0