Message ID | 1664612489-29288-13-git-send-email-quic_vjakkam@quicinc.com |
---|---|
State | Changes Requested |
Headers | show
Return-Path: <hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=drEnwjUk; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=quicinc.com header.i=@quicinc.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=G/Qk+67P; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MfgFz5tkwz1ypH for <incoming@patchwork.ozlabs.org>; Sat, 1 Oct 2022 18:27:51 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4f6XnR1MKjP1YK+U72Gmj/f/42XgPOuf5bfKFv3VWyk=; b=drEnwjUkr2NRuj Vjjh1PeMfRKV8hRSqf2N0BoJtbodE6YeL2jnirrMHSmQ+bcHbM1NMOF6PhNR37DUPGbi0951ndU7R k2LwqCLRNKW2pGJl1tvC8kYIrBveHaSzrgvjb/eJIihrZ04VgGj5fTc5Eca5j+o0jkmq4Zhr9W52U 5JCxr1qtnwlnBX4XL36epPXg40oJclvyLF+0WQcBWcRXCTXz4ir2lSpSiOmEkf+9GUPAA8Vf9cNJc Y4ksuV8ROSt6I/zLxPd14TA7QkGLasYW15pYw3xiYTZOvs5t1lvLqs6oPyz1C4neH5oqSmAvaQG2W KwdsdBoYTrTKEVPulpFA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oeXq4-00DlO4-Oc; Sat, 01 Oct 2022 08:27:12 +0000 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oeXlD-00DjZE-01 for hostap@lists.infradead.org; Sat, 01 Oct 2022 08:22:12 +0000 Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 2918MA5d030839 for <hostap@lists.infradead.org>; Sat, 1 Oct 2022 08:22:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=dbMPtsMng6ux19PDcotzZh/TXD6KvyWpuRF4ZSMZCH8=; b=G/Qk+67PMYC+JWAK57oHNXFCnRphBZBDFp7yiMVh2wFoyyr06lNQ/WXVnRYPIOqC9e2Y jMZFHsjpX70vBcN8tlcmdeojoGMk6crhVWVbulSZTqOOaY3IFZzeNdEhAoYrUcfp8dy9 OVNHE0EqGakz7GHJKdl7u2TWwqWUnCQLRI0m95KnobIIrmiByU9IJHLJ7HQ/sD6Hpr69 s1kwsYEZiiPW23SXSksfSjs/2H5R4Lr44zboRkdtlsTgXiOdWQG9RlD/kbgDCqN9vrwF lTPKL/RgCb4Q1cizklJm3fdUqEb4ryT5a/NSKIkTQblOMwk5tJO+mrXyIp9AZfbrg2xa /w== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3jxdn1rb9y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <hostap@lists.infradead.org>; Sat, 01 Oct 2022 08:22:10 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 2918M9Xp024004 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <hostap@lists.infradead.org>; Sat, 1 Oct 2022 08:22:09 GMT Received: from hu-vjakkam-hyd.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Sat, 1 Oct 2022 01:22:07 -0700 From: Veerendranath Jakkam <quic_vjakkam@quicinc.com> To: <hostap@lists.infradead.org> CC: <quic_vjakkam@quicinc.com> Subject: [PATCH v2 12/17] MLD STA: Use AP MLD address as destination for 4WHS EAPOL frames Date: Sat, 1 Oct 2022 13:51:24 +0530 Message-ID: <1664612489-29288-13-git-send-email-quic_vjakkam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1664612489-29288-1-git-send-email-quic_vjakkam@quicinc.com> References: <1664612489-29288-1-git-send-email-quic_vjakkam@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 1VT1XCF0xBK-ofZBhpJn-eThjTRtMw86 X-Proofpoint-GUID: 1VT1XCF0xBK-ofZBhpJn-eThjTRtMw86 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-10-01_06,2022-09-29_03,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 malwarescore=0 clxscore=1015 spamscore=0 priorityscore=1501 phishscore=0 mlxlogscore=903 bulkscore=0 impostorscore=0 suspectscore=0 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210010051 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221001_012211_175496_74FAE332 X-CRM114-Status: GOOD ( 17.73 ) X-Spam-Score: -0.9 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Rohan Dutta <quic_drohan@quicinc.com> Use AP MLD address as destination address for EAPOL Four-Way handshake frames since authenticator/supplicant are operates above MLD. Driver/FW will use RA/TA based on the link used for transmitting th [...] Content analysis details: (-0.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [205.220.180.131 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.34 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 |
MLD STA: Add support for four-way handshake and SAE external authentication
|
expand
|
diff --git a/src/rsn_supp/wpa.c b/src/rsn_supp/wpa.c index 925340c..db97a2b 100644 --- a/src/rsn_supp/wpa.c +++ b/src/rsn_supp/wpa.c @@ -944,8 +944,8 @@ static void wpa_supplicant_process_1_of_4(struct wpa_sm *sm, kde_len = pos - kde; } - if (wpa_supplicant_send_2_of_4(sm, sm->bssid, key, ver, sm->snonce, - kde, kde_len, ptk) < 0) + if (wpa_supplicant_send_2_of_4(sm, wpa_sm_get_auth_addr(sm), key, ver, + sm->snonce, kde, kde_len, ptk) < 0) goto failed; os_free(kde_buf); @@ -2319,8 +2319,8 @@ static void wpa_supplicant_process_mlo_3_of_4(struct wpa_sm *sm, goto failed; } - if (wpa_supplicant_send_4_of_4(sm, sm->bssid, key, ver, key_info, - &sm->ptk) < 0) + if (wpa_supplicant_send_4_of_4(sm, wpa_sm_get_auth_addr(sm), key, ver, + key_info, &sm->ptk) < 0) goto failed; /* SNonce was successfully used in msg 3/4, so mark it to be renewed