From patchwork Thu Jan 24 14:21:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhishek Ambure X-Patchwork-Id: 10779099 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B208F13B4 for ; Thu, 24 Jan 2019 14:21:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F35C30699 for ; Thu, 24 Jan 2019 14:21:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9D7F8306A5; Thu, 24 Jan 2019 14:21:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 52F97306A9 for ; Thu, 24 Jan 2019 14:21:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=rSYmcqNw/mQ8rWljIEbga09i4Pb/XvHF8mp2LUsiDQM=; b=iUfTwNyOWIXZokjpO4BxhdsAvE RMr0ii+JRABGivR6dcR6gCnOzWNEd5mJww8aLK8575bwiU1HMyLmEbscxB4TpZ6VKIG3gRa3KunIG 3OKT5XFTOrMtBy8CXaE5fzPa68Hzbd9E66p0nSzkiUHjyi+Z6kMIvuwOQKejNOCsM/pMdMJTQytMq IkkDgRPri7yUnyapo+AaV4h4s4Z4Q82H9kw1yMtL/bcHoSY2Ma1ZedHNSavxObJz7NKujwX4HQm13 MEDwyAiaUIJYX5F2Cu1jeh5pvpRId/og0L0JUv/svIF/wc0SRxGjMFnwibUu4/OCPhW43MGbjqsAZ bKfZNmxA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gmftC-0005of-9K; Thu, 24 Jan 2019 14:21:54 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gmft8-0005mU-Ep for ath10k@lists.infradead.org; Thu, 24 Jan 2019 14:21:51 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id C0A1C602BA; Thu, 24 Jan 2019 14:21:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1548339710; bh=W7hRTUMp+hnIdJaY6kbEOpeZHJOeQ9yk6RHZ5g6EGu8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CCkFFFFSoCjET5fG2C8S2KAuCktLA7yN+Ix6s2ejRcQDLS4igso8lAj7p48SiDQ1K jCrO8+wKiq43oshirjKZHyHEME9DSA02B2i+4PYQcDy4CJEq1sCbk7i5bi4bU7eUdO lxldyUULkLQhiToKdpAVdE60kclRhI0NdzsyzrfY= Received: from aambure-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: aambure@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 60305608CD; Thu, 24 Jan 2019 14:21:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1548339708; bh=W7hRTUMp+hnIdJaY6kbEOpeZHJOeQ9yk6RHZ5g6EGu8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FRsZ6lQGvE5ERThjzeplHHTHk6tpr3q9xxLLjiHhHga1s5BGosmxGx/vBG1rBxoIU fJCypYFPkjeIlLQi4vRvpNJMRkwKliVdKNorUflmIpRtnVAyBvXBM2WuoRrjz08iRU mrxlyGJaHTakkkovFvG+E0M4l6wQJSF/CKUBikm0= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 60305608CD Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=aambure@codeaurora.org From: Abhishek Ambure To: ath10k@lists.infradead.org Subject: [PATCH 1/2] ath10k: Assign 'n_cipher_suites = 11' for WCN3990 to enable WPA3 Date: Thu, 24 Jan 2019 19:51:36 +0530 Message-Id: <1548339697-17766-2-git-send-email-aambure@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1548339697-17766-1-git-send-email-aambure@codeaurora.org> References: <1548339697-17766-1-git-send-email-aambure@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190124_062150_628218_150A7747 X-CRM114-Status: UNSURE ( 8.63 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Abhishek Ambure , linux-wireless@vger.kernel.org MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Hostapd uses CCMP, GCMP & GCMP-256 as 'wpa_pairwise' option to run WPA3. In WCN3990 firmware cipher suite numbers 9 to 11 are for CCMP, GCMP & GCMP-256. To enable CCMP, GCMP & GCMP-256 cipher suites in WCN3990 firmware, host sets 'n_cipher_suites = 11' while initializing hardware parameters. Tested HW: WCN3990 Tested FW: WLAN.HL.2.0-01188-QCAHLSWMTPLZ-1 Signed-off-by: Abhishek Ambure --- 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 399b501f..6f37d0d 100644 --- a/drivers/net/wireless/ath/ath10k/core.c +++ b/drivers/net/wireless/ath/ath10k/core.c @@ -571,6 +571,7 @@ .rri_on_ddr = true, .hw_filter_reset_required = false, .fw_diag_ce_download = false, + .n_cipher_suites = 11, }, };