Message ID | 10c601d59089$fd7cee00$f876ca00$@samsung.com |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=samsung.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Yoi+BXYH"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=samsung.com header.i=@samsung.com header.b="dByJC8L2"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 479yDh2yG4z9sNx for <incoming@patchwork.ozlabs.org>; Mon, 11 Nov 2019 02:12:52 +1100 (AEDT) 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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:References:MIME-Version:Message-ID:Date :Subject:To:From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: List-Owner; bh=rKcNNFUCyii54iC5QqCL+uOqP0CnytYLH/8st9q0fyY=; b=Yoi+BXYHK5C5Va yPNZj39Ybr0iF9qSAKMwQK8q7ZsN4xi6xxCwAjq/ZvwRw3BfAqJMAPx1vHVI7MWJN50CLwPufWZUY dzSs+sy3FgkG3dM7OyvzQZswNJxNYWuYmeGkStB37c1+lvv2hINd93SSPlfGjMwF4IswUKUzIHyPR 0AkJh7bIrMxERbhE8UwLhiHuIDNUnXTKNOQjLFDNsaet+Fcc+U88ObnLcEVkWs58bDpXdaK4L4Bzj K7Mbt2GcRyq7bTFzM1SGtJn6cGauiahAI/JT9oum/cxbPosJFqDu/5ZEVSmpaC/Lf80rii7jqF45o T72ojA8x0QVbthNqY8Rg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iTotU-0006js-JX; Sun, 10 Nov 2019 15:12:48 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iQRoK-0005Y8-Rn for hostap@lists.infradead.org; Fri, 01 Nov 2019 07:57:34 +0000 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20191101075728epoutp04d1d8a47b8dd295407f8c449e9459dd80~S_t1MwoT82514225142epoutp049 for <hostap@lists.infradead.org>; Fri, 1 Nov 2019 07:57:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20191101075728epoutp04d1d8a47b8dd295407f8c449e9459dd80~S_t1MwoT82514225142epoutp049 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1572595048; bh=uI/X16OFHAKhsWnXyq0p1nFkG9SrmIAHkejYfopHRq8=; h=From:To:Subject:Date:References:From; b=dByJC8L2ruhBJ98NVYdee67azVoyg2LlYBessBHnhrlNL/Qt6m/bd4X6TEG+Jti8y /D4uYRKeeiGFwZs+J/VCXaeUjVZOrQhHzvgk8tp0TKYRf4Q2u1TGkvNy8SFTIDiybz lfdDx0httl7g/ievpuRbymIBbiMRl9DwDbEbRugA= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20191101075728epcas1p2c22ce79b0c11e0ff53551c46c6d6260f~S_t1BtA8e0562705627epcas1p2V for <hostap@lists.infradead.org>; Fri, 1 Nov 2019 07:57:28 +0000 (GMT) Received: from epsmges1p3.samsung.com (unknown [182.195.40.157]) by epsnrtp3.localdomain (Postfix) with ESMTP id 474F0P2Z72zMqYkh for <hostap@lists.infradead.org>; Fri, 1 Nov 2019 07:57:25 +0000 (GMT) Received: from epcas1p1.samsung.com ( [182.195.41.45]) by epsmges1p3.samsung.com (Symantec Messaging Gateway) with SMTP id 07.EA.04085.165EBBD5; Fri, 1 Nov 2019 16:57:21 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas1p2.samsung.com (KnoxPortal) with ESMTPA id 20191101075721epcas1p253aaee3d4b0c584c04ad6f219eae949a~S_tvB-6Ya3068430684epcas1p2g for <hostap@lists.infradead.org>; Fri, 1 Nov 2019 07:57:21 +0000 (GMT) Received: from epsmgms1p2new.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20191101075721epsmtrp17339f522ccfd06dd2c84e41a023ec2ce~S_tvBaciQ2409624096epsmtrp1L for <hostap@lists.infradead.org>; Fri, 1 Nov 2019 07:57:21 +0000 (GMT) X-AuditID: b6c32a37-e31ff70000000ff5-41-5dbbe561b9b0 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 4E.7B.25663.165EBBD5; Fri, 1 Nov 2019 16:57:21 +0900 (KST) Received: from semunlee01 (unknown [10.113.112.189]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20191101075721epsmtip1aca9486907e620503df4c157a1ecd655~S_tu4iOEJ2398123981epsmtip1C for <hostap@lists.infradead.org>; Fri, 1 Nov 2019 07:57:21 +0000 (GMT) From: "semun.lee" <semun.lee@samsung.com> To: <hostap@lists.infradead.org> Subject: Question on external authentication in driver-based AP SME mode Date: Fri, 1 Nov 2019 16:57:21 +0900 Message-ID: <10c601d59089$fd7cee00$f876ca00$@samsung.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdWQiOS9mrkhuYUUR06MSrZtXdKMuw== Content-Language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrHKsWRmVeSWpSXmKPExsWy7bCmrm7i092xBk+/mFusfZTmwOixeUl9 AGNUtk1GamJKapFCal5yfkpmXrqtkndwvHO8qZmBoa6hpYW5kkJeYm6qrZKLT4CuW2YO0Ewl hbLEnFKgUEBicbGSvp1NUX5pSapCRn5xia1SakFKToFlgV5xYm5xaV66XnJ+rpWhgYGRKVBh QnbGon/RBWd5Kj7+vcXYwLiWq4uRk0NCwETi5NOJLF2MXBxCAjsYJf5O3ckEkhASmMwksfRq PIQ9nUli1co6mIbfD1YwQjTsZZR49OYdlNPFJHHw/SNmkCo2AU2JvrPL2UBsEQEFic6n28Hi wgIeEq1vW8DiLAIqEnO2rwPaxsHBK2ApceiVMEiYV0BQ4uTMJywgNrOAvMT2t3OYIRYrSPx8 uowVYqSexKF/+xghakQkZne2MYPcICHwk1Vi3XyIhISAi8SOOz/ZIWxhiVfHt0DZUhIv+9vY IRqaGSXuXLgGlehglDh7MwLCNpbYv3Qy2HHMQM+s36UPEVaU2Pl7LtRiPol3X3tYQUokBHgl OtqEIEqUJTadP8sEYUtKnL9yCeocD4k77edZQMqFBGIlzrWrTGBUmIXk41lIPp6F5LNZCDcs YGRZxSiWWlCcm55abFhgjBzTmxjBaU3LfAfjhnM+hxgFOBiVeHhndO2OFWJNLCuuzD3EKMHB rCTCu30dUIg3JbGyKrUoP76oNCe1+BCjKTA+JjJLiSbnA1NuXkm8oamRsbGxhYmhmamhoZI4 r+PypbFCAumJJanZqakFqUUwfUwcnFINjIzTsnxLA1T2xxZxX8pWXZ/ueOjl3c17IzKn1f/5 zHts0tHIWg57P6Y7ibUVN5kfaXd3ZC8oaZ3Qq2gveNvbaMu5xfqB34S3PzV6OefvxOMClUwV HkFJc+3mXu6fXSCpK1DBacqanrL5btgTnxrH+0mnZMSPFE4tsWd/1F2a8yj6z3IJk5jpSizF GYmGWsxFxYkA3xRjFoEDAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrCLMWRmVeSWpSXmKPExsWy7bCSnG7i092xBs1XVS3WPkpzYPTYvKQ+ gDGKyyYlNSezLLVI3y6BK2PRv+iCszwVH//eYmxgXMvVxcjJISFgIvH7wQrGLkYuDiGB3YwS Te8msEAkJCUu/3vF2sXIAWQLSxw+XAxR08EkcaPpLjtIDZuApkTf2eVsILaIgIJE59PtzCC2 sICHROvbFrA4i4CKxJzt65hA5vAKWEoceiUMEuYVEJQ4OfMJC0iYWUBPom0jI0iYWUBeYvvb OcwQFyhI/Hy6jBViup7EoX/7oGpEJGZ3tjFPYBSYhWTSLIRJs5BMmoWkYwEjyypGydSC4tz0 3GLDAqO81HK94sTc4tK8dL3k/NxNjOCw1NLawXjiRPwhRgEORiUe3hldu2OFWBPLiitzDzFK cDArifBuXwcU4k1JrKxKLcqPLyrNSS0+xCjNwaIkziuffyxSSCA9sSQ1OzW1ILUIJsvEwSnV wFjUv6M4UMj8yqP7/47/rxGtrPziYS3G8LnEZJbH5ZtRm3if7HzMWCUf6rQhpr01NP1Kse/H pOP5ajpGLgoP47/p6FgcK92vXH/UvFW77iuTqaXZ/BeJ/Y+PWk67+Xhvnevxt39O2VXecn1R u2hWLUell5F6HZvCJYHHt+9+Ov5c5vL9N4J9vEosxRmJhlrMRcWJAF3w92JHAgAA X-CMS-MailID: 20191101075721epcas1p253aaee3d4b0c584c04ad6f219eae949a X-Msg-Generator: CA X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20191101075721epcas1p253aaee3d4b0c584c04ad6f219eae949a References: <CGME20191101075721epcas1p253aaee3d4b0c584c04ad6f219eae949a@epcas1p2.samsung.com> X-Bad-Reply: References but no 'Re:' in Subject. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191101_005733_232762_A589AEE2 X-CRM114-Status: GOOD ( 14.55 ) X-Spam-Score: -5.2 (-----) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-5.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/, high trust [203.254.224.34 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.0 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-Mailman-Approved-At: Sun, 10 Nov 2019 07:12:48 -0800 X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <hostap.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/hostap>, <mailto:hostap-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/hostap/> List-Post: <mailto:hostap@lists.infradead.org> List-Help: <mailto:hostap-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/hostap>, <mailto:hostap-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Hostap" <hostap-bounces@lists.infradead.org> Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
Question on external authentication in driver-based AP SME mode
|
expand
|
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 661e34e..b934c84 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -2469,6 +2469,16 @@ static int nl80211_mgmt_subscribe_ap_dev_sme(struct i802_bss *bss) if (nl80211_action_subscribe_ap(bss)) goto out_err; + if (bss->drv->device_ap_sme) { + u16 type = (WLAN_FC_TYPE_MGMT << 2) | (WLAN_FC_STYPE_AUTH << 4); + + /* Register for all Authentication frames */ + if (nl80211_register_frame(bss, bss->nl_mgmt, type, NULL, 0) + < 0) + wpa_printf(MSG_DEBUG, + "nl80211: Failed to subscribe to handle Authentication frames - SAE offload may not work"); + } +