Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3712605imu; Mon, 28 Jan 2019 09:28:18 -0800 (PST) X-Google-Smtp-Source: ALg8bN4q2lVl9KogXRumnfqs0q38VWmPUfFJWKokDSBKGIVv57scXAbSUnx0IZaxBvvYsepJuwwW X-Received: by 2002:a17:902:bc81:: with SMTP id bb1mr22123525plb.223.1548696498148; Mon, 28 Jan 2019 09:28:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548696498; cv=none; d=google.com; s=arc-20160816; b=Wy2EThV/9bJdqHwGcbtqJt6ud15oVRq7VUR6fdA4PnjH3sJw215GQqKxLTgs1jQR0t Sc+25nsduWB/tw0YQei0sA3tQbxTaGP0XuwmSTSljSymxFXPoAUeXX/1LGkVOWRRQfzg PyyrIMOd9L1e8bjj25JOMBq7qLmixlZXtJW3Ow/YH6KO2qVgWPeDxiEANE3yKDQLofLD Uvf0bN0Px2vPYYLaCzdaCro5YzEagG2C2puFZTHb33e8ojr46tA8iMVeLeTeAlnuMAnA EHyp5AMt5qGs90ESPXdoUuTG/iG4ttVYadiFvnqwlI4bEh0nA/cBwE5z4YCZGgJaIQnl eIFg== 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:cc:to:from :dkim-signature; bh=9Y2TEwz56l0/B+rzf4HS9cuNhzyHU8eeMDWFLohEq14=; b=Uay/ENjyf/KGuYr1LhVkFRuvvWQKYqIJWMHmlRKdCPRtcyKdcUpdkSYt6mHDBlRdol wz5LJko4SP2h7AG9Ol+S45nvQ5NfUk8mjKv+9lFNe0JSJNgsUmoEVZnb5F3LDo8j3JUy yJyKX+g34oHEpY8HT3lTG0OCAKHhFFV/LThVb3fKxZ1niajx57R8w4iwrYIqa/e2vrqO bg/AZNgDTU9DlKwhi8goH9Y+ghmf6V4HhPP2YJqaXmr1kgGHIq7dNVvFcHHSocVyrFta 9aGRGxYB1krI33yvOg6NkY7GFJpycg8OUvWwyFOP4rkSvIlJsJ3CGgOW+L4CqOXnDVCc 7WCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HPKVCV7+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g3si21953911pgo.595.2019.01.28.09.28.03; Mon, 28 Jan 2019 09:28:18 -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=HPKVCV7+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730693AbfA1QAF (ORCPT + 99 others); Mon, 28 Jan 2019 11:00:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:45338 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727858AbfA1QAD (ORCPT ); Mon, 28 Jan 2019 11:00:03 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 093532082E; Mon, 28 Jan 2019 15:59:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548691202; bh=jAIg06w9+xR2GZDsR8qqSgBZh/2ZC/qPTVHOeoOvnJc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HPKVCV7+Ae3/oeeMNUAZjSnDyPsdJBmaQwlBSfixTAfRMIW7DDkkrRYpyGELLhSn6 319q1cTXIiMNSdkxjl8CUltv87EZcHPSpR4ERgoIWh06YOG8HKtKUJ9iUxm9K8j3+w Fgd2Q5zFw+2yeNx+7acFkw86TqP7DE8MCpYDLa58= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Brian Norris , Rakesh Pillai , Govind Singh , Kalle Valo , Sasha Levin , ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH AUTOSEL 4.19 013/258] ath10k: assign 'n_cipher_suites' for WCN3990 Date: Mon, 28 Jan 2019 10:55:19 -0500 Message-Id: <20190128155924.51521-13-sashal@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190128155924.51521-1-sashal@kernel.org> References: <20190128155924.51521-1-sashal@kernel.org> MIME-Version: 1.0 X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Brian Norris [ 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 c40cd129afe7..5210cffb5344 100644 --- a/drivers/net/wireless/ath/ath10k/core.c +++ b/drivers/net/wireless/ath/ath10k/core.c @@ -532,6 +532,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