Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp658192lqp; Wed, 12 Jun 2024 12:08:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXW2BGziCKMy1ypk9Nd5y1jN2grtbtsXmhz+ocLPa5XqQO3zqr3yCmmHggNWmTHw2XTnAqpKXcKMlXPmY19KCHljuLeQZJxGSVTMhJqxw== X-Google-Smtp-Source: AGHT+IFdvdYmCmmQT1XBnjnVWQdIidhL1a2e0Uzy+OUed0ApOAMkbk3NYpHem8NEEgBgxZKO69By X-Received: by 2002:a05:6358:724a:b0:19f:4c4e:d3c8 with SMTP id e5c5f4694b2df-19f69d83bbcmr241659955d.32.1718219297835; Wed, 12 Jun 2024 12:08:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718219297; cv=pass; d=google.com; s=arc-20160816; b=OHKJ1l8iM1PCOHlaaPHjYgDsC+lKlZ2zbfPB1xkabWS1m1ditzDzP6Np0tTpLt9d5a IDwTO3AYfmfI1Vtkdom4b2xliPFGS0vISqAnOluFEFalTCM9Qrd9IDngQZ05afSZ+f2r 1Ar5Q4teo3TercZ/2nGi3tzcw+AlG7kaw8uS0g1EvqYP8bdBNRNXKk0R9A1eyx4Kh/12 ELEUADiN4e/ZXEmb58eJg9J+OqjLTFyaajNajyNPDL0my4hCuE1Jnmhkl7TQi+ybf8c6 2XKNxZxqy9r0RqZMh6St8dFaJQ1Li49V0n4wNF/szURJTDODJlaJE1JpVfFxNaxyiih7 LvMQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=dRIMkVGUGLrh7TdgkcOEeQ6AVWNjblmn8FtzhySnMOM=; fh=j6ARs4c9SvuFnfaKISoyl8vf3z2DN2GgoItJwOYYBJk=; b=n2mBflodSdNRl22WTO4iI9et9hsZNR/mwOsris3KbvKMHGFZh0o14S/iJPMTLtao5z wA87ezMoVG9vz+voVoS3boX77zLG1I/Ig6Rdl2Lrs9V8c8mYWgWBb2aANtU1Sbs+SaB6 rJGBsz3Md5gWLeudCgOfSnRIyI7Z4pUmCxUnpBUsGVVJTJLulmOrDRyLNFqXTTDvC+/k qIBu82c9CBJF3N31aTa4TRSbEslyFUXs3OJN0e4zuygpaYpJJ8L2y3q2SuQ2fEo4/DzX hE84WJVk/PL9+7HBOD64oMHakvSNSCIRPe7fYUPf6MytzRWCHcCFJYp8D0g6NtcSNgxM oEzA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=sA3rInCL; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-8894-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8894-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6b08939cf74si55210136d6.285.2024.06.12.12.08.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 12:08:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8894-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=sA3rInCL; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-8894-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8894-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 781171C224D8 for ; Wed, 12 Jun 2024 19:08:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2769D39FCF; Wed, 12 Jun 2024 19:08:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="sA3rInCL" X-Original-To: linux-wireless@vger.kernel.org Received: from sipsolutions.net (s3.sipsolutions.net [168.119.38.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 316BC381AF for ; Wed, 12 Jun 2024 19:08:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=168.119.38.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718219295; cv=none; b=kd6skaxZfQZ+VW3FyB5e6gecBEv9s1aOUBYdzGKPRqal9AfayJmlHIHqqZPVfAoouzUYPNytlKzD1iTYwU3U2ICg4gi/fTODPOBwoa95YbSUSrcr6lac8wbWlaGOHHUPiT6AErw3rxbluxsh+wE/pDgTEDlmBBDbDNQhFGq/6gA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718219295; c=relaxed/simple; bh=dRIMkVGUGLrh7TdgkcOEeQ6AVWNjblmn8FtzhySnMOM=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=ucPiaxp49WmHci5Dn6zLvwWPKxgAPj06PUqSevK6weI7JBTl2OhUmCudmHGJRDKBLRbHWoEtqPTWwjaV4P1RLhV0qgA1lQBX8WikHAI2rAo0ZsifGRcwaqhKZ4lVjFOe8GOtcizKIxFDLz6O0yaGrj3N7mJuE4yX/qpgdY7k5sc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net; spf=pass smtp.mailfrom=sipsolutions.net; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b=sA3rInCL; arc=none smtp.client-ip=168.119.38.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sipsolutions.net DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=dRIMkVGUGLrh7TdgkcOEeQ6AVWNjblmn8FtzhySnMOM=; t=1718219293; x=1719428893; b=sA3rInCLK889DQ9+NNL9TpjF1dDn1ohtT7OnFil3mTEKHoB TFwqdKS0a5Zae0uoIkLEaoY45JWOJUy1wAcjHoNGimHMVyG1kXbmOLquZVBNaXMQ1PNepPPIIKeh5 0rmJUMImbCR0qrR2uXvNSR3UXsQwa5Z8Bg/mLq1O/sEGLFqVDM4quUQocjxn+0jnARi8tjWGcmYLt fWW6Tg+oqystaTNkflUeFdlcamFZkTmBLsnP1mpU43N+TVgPdkBBUcjyEuzu1aCzDGQJO3wkodcXQ NOxO1yxhjUoOHgEqYEY0WYSdyqgsS6OqHMtmu7l0RTBdRlVoYOgI5HOvphcRdkKA==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1sHTKM-0000000AbLn-0wLP; Wed, 12 Jun 2024 21:08:10 +0200 Message-ID: Subject: Re: WPA3 support for mac80211 drivers From: Johannes Berg To: Arend van Spriel , Larry Finger Cc: linux-wireless Date: Wed, 12 Jun 2024 21:08:09 +0200 In-Reply-To: References: <9b10768c-9fe7-40d9-a0b9-27d11a5e0e48@broadcom.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.2 (3.52.2-1.fc40) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-malware-bazaar: not-scanned On Wed, 2024-06-12 at 20:56 +0200, Johannes Berg wrote: > On Wed, 2024-06-12 at 20:51 +0200, Arend van Spriel wrote: > > Hi Johannes, Larry, > >=20 > > I got a query from a brcmsmac user about support for WPA3. I had no ide= a=20 > > what would be needed and actually assumed/hoped mac80211 would take car= e=20 > > of it. My first attempt was looking in patchwork for other mac80211=20 > > drivers adding WPA3 and found this one interesting enough: > >=20 > > https://patchwork.kernel.org/project/linux-wireless/patch/2020052615590= 9.5807-2-Larry.Finger@lwfinger.net/ > >=20 > > It only sets flag IEEE80211_HW_MFP_CAPABLE in hw->flags. So I suggested= =20 > > to do the same in brcmsmac. Unfortunately no success so can you think o= f=20 > > anything else that would be required from brcmsmac. >=20 > You need the correct ciphers too (at least BIP, possibly GMAC) No wait, you said brcmsmac, and it doesn't even have HW crypto?! Then it seems like it should just work, does wpa_s have errors? johannes