Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp218424pxx; Wed, 28 Oct 2020 03:09:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyivlUGW+pvnZzqWGqVA83GuOX3Lwrw1U3M7gUacUZEuadlZnkZmZmvf+8ivDpRQP0Cgc4z X-Received: by 2002:a17:906:fb86:: with SMTP id lr6mr6679136ejb.510.1603879776197; Wed, 28 Oct 2020 03:09:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603879776; cv=none; d=google.com; s=arc-20160816; b=HgE0KN+WlnciDXGtGhCd0bRr4iCQwIkOuoRakiAFX5zT9QFs0r2x4yYtalR1DNRQG4 QwM+IhZRt3TyH0K/GZ6NVMFFt3gHChZ+f2VavcdtQUWD9xGnRLsR95oTjnII8y8aMynF oi+T5o/XUzrs6TorevqJt3Wkuz6DYfbQiAATN/zJ4WuHSGZoqEkoKM360syZDKFFcXjm YsQ7SzBTVRl166B3NeyDbHrV/oJkn9XkEwbTWOS8xj/3AQeiepXe8xIo40/VuA0PY+FP FYjtQae3OFfgfcGUp/vF1cNuoyyr7WAhY9PpiozYW9r1T37lXWDgHL7ooUVeDP7BMKeP s4Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=qExXjzEX1NS5vIg7qGeRJ5Qk1AZbLzt1uOVNwrCDqS8=; b=UjBzTkE0OsWuUmUSVcc7XlKQ1B9RTRZFl6J6RDKiINGWBIiPZflW/kZKYEEwKdPsiw qY6g2aythdTa80dzUtBwVKQmAmNiwGa3VOqwXU/L/pf0SvLE/2gwNsLUDyjpbxRDID0S LnT2YCjQ4F4ivFmSjMjaWx1+lR0BT4Kl2+zESK9ptQataxrytKyvW2gqPDwQyOEZhzoT T+WvsJRJ8icRZe+9v0NcjLDLU4/C9hSY4tRhvyRWShRLH7lXxbLSum5fv2FxmEZ0TlDf S9r8Qg2qz4kSJgn/Q/iVwS03PH/dU3guzdNmNGdlqSx1pLKxbQWM++gbJEUgCLMjJQrN mYrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="HLCWw/aN"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a42si3838927edf.535.2020.10.28.03.09.13; Wed, 28 Oct 2020 03:09:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="HLCWw/aN"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760311AbgJ0Oeb (ORCPT + 99 others); Tue, 27 Oct 2020 10:34:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:60364 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2902446AbgJ0OdZ (ORCPT ); Tue, 27 Oct 2020 10:33:25 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6181620773; Tue, 27 Oct 2020 14:33:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603809203; bh=Tr6N2IkCJMlc0AaWaok7/YXeLhLpRWTy4bPbYc1K5Js=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HLCWw/aN5LWAjit/PhFt67wOeu2hECxTI8inYVTgCHb6jKQs9fbd1rKR00uu6kVkt OgVKiOl+EI5UKR+l+Qn/PnFy4l9ONYe/O1+8Psek4RHxpQ+Rx2GsKuHW9R35TgsRGd 6IeGIU77OE//gA2LQYCKgdoMAFIHXbW9DW5UL92o= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Bryan ODonoghue , Kalle Valo , Sasha Levin Subject: [PATCH 5.4 111/408] wcn36xx: Fix reported 802.11n rx_highest rate wcn3660/wcn3680 Date: Tue, 27 Oct 2020 14:50:49 +0100 Message-Id: <20201027135500.244957361@linuxfoundation.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027135455.027547757@linuxfoundation.org> References: <20201027135455.027547757@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bryan O'Donoghue [ Upstream commit 3b9fb6791e7113679b1eb472e6ce1659e80f5797 ] Qualcomm's document "80-WL007-1 Rev. J" states that the highest rx rate for the WCN3660 and WCN3680 on MCS 7 is 150 Mbps not the 72 Mbps stated here. This patch fixes the data-rate declared in the 5GHz table. Fixes: 8e84c2582169 ("wcn36xx: mac80211 driver for Qualcomm WCN3660/WCN3680 hardware") Signed-off-by: Bryan O'Donoghue Signed-off-by: Kalle Valo Link: https://lore.kernel.org/r/20200802004824.1307124-1-bryan.odonoghue@linaro.org Signed-off-by: Sasha Levin --- drivers/net/wireless/ath/wcn36xx/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/wcn36xx/main.c b/drivers/net/wireless/ath/wcn36xx/main.c index ad051f34e65b2..46ae4ec4ad47d 100644 --- a/drivers/net/wireless/ath/wcn36xx/main.c +++ b/drivers/net/wireless/ath/wcn36xx/main.c @@ -163,7 +163,7 @@ static struct ieee80211_supported_band wcn_band_5ghz = { .ampdu_density = IEEE80211_HT_MPDU_DENSITY_16, .mcs = { .rx_mask = { 0xff, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, - .rx_highest = cpu_to_le16(72), + .rx_highest = cpu_to_le16(150), .tx_params = IEEE80211_HT_MCS_TX_DEFINED, } } -- 2.25.1