Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2773858imj; Mon, 11 Feb 2019 08:15:25 -0800 (PST) X-Google-Smtp-Source: AHgI3Ibn6J4i7G2i5n7RLbn92vF5RKHqm+xkzOzaIdJ3LDjNWbt/OTTRdgA6b4GsQFzsTAzosP6/ X-Received: by 2002:a62:4b4d:: with SMTP id y74mr37086643pfa.186.1549901725185; Mon, 11 Feb 2019 08:15:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549901725; cv=none; d=google.com; s=arc-20160816; b=HZx0Z+h5r3T/54+Egq2/etQc9I2/rUoCJoW6zIiBbxUEYBhUTEAdEXDYbKdCZn0UgK 6RTzIIxyeryanF7cGz/L8pu1Ci/88CqDfdXSxGR5fyFfecRWkF0M9bbfd9kKRZQynC4Q 3GI1wrNVMmnW2+i48WQHk+kxqoeupvscA5XZ5wkQgth2h7pt1xKlAPyLtzepkHSDDdNn ZiW1hicaPDj85Bf+P0EAmE4C9KeX22RFdP7xgx0TESe9gv5JD7BmKMPSGAtgVobtHarQ URslFCH6IUNTxloVN3kJMAVkCJwqIW9F+JbgeLt672i8k12jImH5jM5q1K2pLAnkwTr/ 1NOw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=pFwdXplGI6tRdt6X72xaXPtnYOzp/AJO+umMiLa3edg=; b=vzQMm7oirrl+qC8rAaz/NPf3SpartqyOg9S3/0eoA4ZM3aNX1BbJYAtwgB1DpDESie 7mDBrvmSbasg10ioFZG+6+oEqFL7nWmR7dknTcBSL4y9bO/1NVVcDfZ9YmBhzdpuuWQb o917zQFWUa+oBudRjfnK79j73HXLWHOhtjYugbMMEZarkN7pW/4wNDbnDEflQuh2zsZy 97F38zG9hu3KQ8AYa6yBrs7bPyBLgyoUULlcCF8B7mfJhOxEeOyBKMzu9fouwUaVGErI 1xViKZwJwo4eml37Ix/HqPtdhJq/SvDK1PT7RG20g1MlXRPSfgS0oBI/lOmUVwMGioAW WtKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zGavbFGE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t14si8452754pfh.107.2019.02.11.08.15.06; Mon, 11 Feb 2019 08:15:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zGavbFGE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728856AbfBKOWs (ORCPT + 99 others); Mon, 11 Feb 2019 09:22:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:55746 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728818AbfBKOWp (ORCPT ); Mon, 11 Feb 2019 09:22:45 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (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 B97E2222A1; Mon, 11 Feb 2019 14:22:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549894965; bh=mKXOuhyOWV/gQ49PzzIUsRuW6alb92Gq6f2fIqI79m0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zGavbFGEhMQH3hwCQGnsRQp7OFmbPPEwqjjjxY9bT48NDNfA+5E7swzgsV7rx/z57 3AXd4RpfQwolT7MT/n4pjJO5LKiGge3aczH9PrtFYwKc2HWmTq4fJds36qKHTbq2ci u8ANI3IzgjTl03Dq3/+Ln95bGt+AC14xozmgql88= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Rakesh Pillai , Govind Singh , Brian Norris , Kalle Valo , Sasha Levin Subject: [PATCH 4.20 017/352] ath10k: assign n_cipher_suites for WCN3990 Date: Mon, 11 Feb 2019 15:14:04 +0100 Message-Id: <20190211141847.474232906@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211141846.543045703@linuxfoundation.org> References: <20190211141846.543045703@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.20-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit 2bd345cd2bfc0bd44528896313c0b45f087bdf67 ] Commit 2ea9f12cefe4 ("ath10k: add new cipher suite support") added a new n_cipher_suites HW param with a fallback value and a warning log. Commit 03a72288c546 ("ath10k: wmi: add hw params entry for wcn3990") later added WCN3990 HW entries, but it missed the n_cipher_suites. Rather than seeing this warning every boot ath10k_snoc 18800000.wifi: invalid hw_params.n_cipher_suites 0 let's provide the appropriate value. Cc: Rakesh Pillai Cc: Govind Singh Signed-off-by: Brian Norris Signed-off-by: Kalle Valo Signed-off-by: Sasha Levin --- drivers/net/wireless/ath/ath10k/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c index d210b0ed59be..59fdda67f89f 100644 --- a/drivers/net/wireless/ath/ath10k/core.c +++ b/drivers/net/wireless/ath/ath10k/core.c @@ -561,6 +561,7 @@ static const struct ath10k_hw_params ath10k_hw_params_list[] = { .hw_ops = &wcn3990_ops, .decap_align_bytes = 1, .num_peers = TARGET_HL_10_TLV_NUM_PEERS, + .n_cipher_suites = 8, .ast_skid_limit = TARGET_HL_10_TLV_AST_SKID_LIMIT, .num_wds_entries = TARGET_HL_10_TLV_NUM_WDS_ENTRIES, .target_64bit = true, -- 2.19.1