Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp162730pxx; Wed, 28 Oct 2020 01:12:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJ3uQfyEdQO5V+vQtJebQe/oRcngbiTCa+NLGu8YsCsz9CA7OLGb4Jrv6SEzlUeInsjvEU X-Received: by 2002:aa7:cd85:: with SMTP id x5mr6819909edv.0.1603872754227; Wed, 28 Oct 2020 01:12:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603872754; cv=none; d=google.com; s=arc-20160816; b=kmf9vh5MdqJc2JyfPHlwkmoqOJL2xRetFidnMeHiRh6wKFogYL4//gIcaqAHOtPZoF vx1KhmFcmQi2c56dU6dxDWXJ04bFMgrAy+7Alu3Rs01omxaz/taybZBfzyb1oC3U9FpO f+DGc+DZf4aX3vtYgpQPRw6VS5fIhgyxIzzVY/DVPVWA4Rf9CcQlnRHpAf0K80moQgP2 e9h3E1dZJUv0vnHG25aoXVaBhAqlA9kT8lE3J0/l4dbU1ojxdiDWyfGds/iXslFjKxq7 oM0CFgyuL3K8fox1o+e2agEyOEXaAl+pnZ7aVgUFMhm264S89krles0zlsHr/sBFeG8s XeKw== 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=0i8Ue5wui5jACjdy65LVy2ksBp4SirLuuURtuCTxUgE=; b=WhXflfz0Xddc7t4+W+GK0h1W27/c6JyopT+kBxRhrCHlKs5f7bFXiGKz67bI2xKnFj 7HnwDO36tYW5s5nyoliVPAW5z37Gk6HZTP6EgDxCV9GspWLwJR9d2bCL+1APFHD0zP6E LTqaIXJvGQKcjmOdZSUPLExZBJSOw/kZ0O8vx5D6uXqzUefmyl7cq6guhJ/P8CRr/ikU 4z6agFNhrHPHKYh2NqwjlsWRyMe3LJFiPaEFE1GwmAgkCu9MteM2d2F/+9qLoLpC4KzH 2nupqGgwkH6eg2jie1N3YDphFrF/KiYTLgaY7xYYoXgW5cVIyBZsfKsQvnAYs+vwfGmk trRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=w7IzaQ+3; 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 o10si2705925ejr.482.2020.10.28.01.12.12; Wed, 28 Oct 2020 01:12:34 -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=w7IzaQ+3; 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 S1753218AbgJ0N7L (ORCPT + 99 others); Tue, 27 Oct 2020 09:59:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:46560 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389144AbgJ0N7H (ORCPT ); Tue, 27 Oct 2020 09:59:07 -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 AD688218AC; Tue, 27 Oct 2020 13:59:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603807147; bh=XIjpMGPkZFU+kB3Kcez6tIQx6Tuqt11dAg/f/+gAS5E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=w7IzaQ+3MwW45ob81SJzwp+5VFm3abJRqICRNGAxX6oU22jBym0K8XZeXeMIUGZbc enI2nxIeeWFOR9AJxr+FJe2SbNwQ4u4AKgM1aTt3HdDGqzyjZRn+/D8zzkL+wY75+W LLq5ZSfTIQ+VTxx20P1e3wQ1ngsCod6cE5IZlbjo= 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 4.4 029/112] wcn36xx: Fix reported 802.11n rx_highest rate wcn3660/wcn3680 Date: Tue, 27 Oct 2020 14:48:59 +0100 Message-Id: <20201027134901.938313238@linuxfoundation.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027134900.532249571@linuxfoundation.org> References: <20201027134900.532249571@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 a27279c2c6950..274d114962e8a 100644 --- a/drivers/net/wireless/ath/wcn36xx/main.c +++ b/drivers/net/wireless/ath/wcn36xx/main.c @@ -156,7 +156,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