Message ID | 1664612489-29288-18-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=iRCSwIF7; 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=TGYbnTPB; 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 4MfgNw4vM4z1yqj for <incoming@patchwork.ozlabs.org>; Sat, 1 Oct 2022 18:33:52 +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=eA8TNsBXk+YUOT0QOnfiWCja8KPCRPiB63zDYOUFAOU=; b=iRCSwIF7I9ATyS QUkIGUxP6Pwrz1Klk87t5wRGeM03FMHFt/R0cfdVIfwu7pYETmQAsNeQHoFFsumFGtwW6XurIKEWL BKOyS2u4sa4IiQ6hz3pT5llhOed3pBItsgOcw+ioUq6WPMJ2i0vjCfPIiNfZ9L+Lq5z0hGsNbmc32 t/VpFVBOQkWW0cSIPWLkXyM/G8A9oJurf6aCiZrwC5REEZhZvDUqc/uGbSK6Ad0xyu8JwWiAAHASW SYpsCRh2pBJIKG5CMvgV1MbLQ2hdBbmiD2oYCZUF9/Jvq3kFeg7qyLeKAFvKn1vYddbX6aabfzmmE KJ5GW5+UN8XJddclWzNQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oeXvb-00Dn71-S6; Sat, 01 Oct 2022 08:32:56 +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 1oeXlL-00Djbb-6c for hostap@lists.infradead.org; Sat, 01 Oct 2022 08:22:20 +0000 Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 2918FlkU022567 for <hostap@lists.infradead.org>; Sat, 1 Oct 2022 08:22:18 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=5fmTY99mCVSlEC2NyzlC9X7JKXSgGDGKYZMmLndoqW8=; b=TGYbnTPBQyHd7h5Zkp/FvBAJ0Z+EdI2uO+tNvOkBo5nc6L3qoSHJzC90NhLJpbKERkpB Nsfc6Fv0I47uGWpZAu+MoLbwH/zzDpadBiqXKnXRfM3UZmWCeFCaD3XbSrBFTWEG1wsO vtbyjRR0E5aLKOWJUNuh9MtLu/USY+vkb2M6RFR5naHeJ/5m7jiPugBz/HLN97Qw0XWr j8S0I5F6EGiU9z9YbFKpJ0aXN1Qes7hi09BUjKvRlueCV++Pm91F6QMlHVmmFOHOyGQZ ZlQDYOB+3y5tguDBUeFZ9SjDLhz2TSH4sFOfvqgGpmBsJkHCkWY0XIAyMYDEN8XDfK5q vQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3jxcvtrcud-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:18 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 2918MHMe017624 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <hostap@lists.infradead.org>; Sat, 1 Oct 2022 08:22:17 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:16 -0700 From: Veerendranath Jakkam <quic_vjakkam@quicinc.com> To: <hostap@lists.infradead.org> CC: <quic_vjakkam@quicinc.com> Subject: [PATCH v2 17/17] MLD STA: Indicate supplicant MLO support to driver's SME Date: Sat, 1 Oct 2022 13:51:29 +0530 Message-ID: <1664612489-29288-18-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-GUID: z3wAIkEyBuTYhT4QGoOP77cFWVQc7toj X-Proofpoint-ORIG-GUID: z3wAIkEyBuTYhT4QGoOP77cFWVQc7toj 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 bulkscore=0 phishscore=0 impostorscore=0 lowpriorityscore=0 suspectscore=0 clxscore=1015 spamscore=0 mlxlogscore=893 adultscore=0 priorityscore=1501 mlxscore=0 malwarescore=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_012219_376943_3E35A871 X-CRM114-Status: GOOD ( 16.37 ) 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: Send NL80211_ATTR_MLO_SUPPORT flag in NL80211_CMD_CONNECT to indicate that wpa_supplicant has support to handle MLO connection like parsing MLO connection information from connect response, verifying [...] 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/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 329c6ca..77c2c93 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -6531,6 +6531,10 @@ static int nl80211_connect_common(struct wpa_driver_nl80211_data *drv, nla_put_flag(msg, NL80211_ATTR_EXTERNAL_AUTH_SUPPORT)) return -1; + if (!(drv->capa.flags & WPA_DRIVER_FLAGS_SME) && + nla_put_flag(msg, NL80211_ATTR_MLO_SUPPORT)) + return -1; + return 0; }
Send NL80211_ATTR_MLO_SUPPORT flag in NL80211_CMD_CONNECT to indicate that wpa_supplicant has support to handle MLO connection like parsing MLO connection information from connect response, verifying MLO KDEs validation and adding new MLO KDEs. Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com> --- src/drivers/driver_nl80211.c | 4 ++++ 1 file changed, 4 insertions(+)