Message ID | 20221019141409.535582-21-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=n92frtaX; 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=kA80mdsn; 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 4MstY95JK1z23jk for <incoming@patchwork.ozlabs.org>; Thu, 20 Oct 2022 01:34:53 +1100 (AEDT) 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=nr1m0/wNvRd/kOANTmLm5M8TBNmvi45Ra0jUGKPzCG0=; b=n92frtaXvB5fXD Ec/lpABr83hYnXO9EEY6fXjaoGTCFIBuROn7LWmUN/4AvdqI8NcwJtHv0zeEPXrgUqYXVtCW5vxH3 m7ayjjXqEPwmLeSbZQAlYj5fFrKN85Yl/uirmSYmPRDL7NFrfl/K+dy6Ku+6JfHeWVe7AL7KgPTZM 3WHsMNY7jPE52e2rqAkAgYgJzH+B47XTCmlQA2SfRg2Xkhw7iNwXFhg2f10K09xOgFokVc0m2XWHh AqGvm0dsf4sOFrx3OR8DQnx400tNKF/mG6PUlHFLrgfqMfiDq6UuHVeRIdh2b+b4xTzXh1YzqlpbW 7dnVhl9VNE49T2cEvfMw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1olA8N-002oJe-Ho; Wed, 19 Oct 2022 14:33:28 +0000 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ol9qd-002eoj-L7 for hostap@lists.infradead.org; Wed, 19 Oct 2022 14:15:09 +0000 Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29JB10Ta001095 for <hostap@lists.infradead.org>; Wed, 19 Oct 2022 14:15:07 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-transfer-encoding : content-type; s=qcppdkim1; bh=M7+XJ1h31RQzgqT59PCC6cOKSV1LbURttrNJOJwj6Nk=; b=kA80mdsny8VBKGxAxxdkR2/URHM9vTcTBu7iyn980nPpvRiLupKFt5K8iVGVGZPOU+H1 x3cneXrFF6O8G3zOA/JWOBVCgfbyG4PA4kt4e6sFzbhjqebsrf7x9VFUNSD72zBVVuZR rqb0tnYdpl+omXyNODTuEgac9LttmDWaZbJkAJ4K1dfh81pUTzSV/otdWA3PFB6oxxHf y93H+d+4HdqVvxG9WhuKB5GjNOXijMDR9iaNb6Fy0854GaBKrnIaLehujjn1mtqu1iRT 9CqZStGGUsS+Cx1h4BAzCONXtfntQIjSVK/k1jOy3qrfiWjnDSlxfbTf7klsxut4uO6s aA== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3k9n2p5pmp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <hostap@lists.infradead.org>; Wed, 19 Oct 2022 14:15:07 +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 29JEF6lg009417 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <hostap@lists.infradead.org>; Wed, 19 Oct 2022 14:15:06 GMT Received: from cnss-mw-linux.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; Wed, 19 Oct 2022 07:15:05 -0700 From: Veerendranath Jakkam <quic_vjakkam@quicinc.com> To: <hostap@lists.infradead.org> CC: <quic_vjakkam@quicinc.com> Subject: [PATCH v3 20/21] MLD STA: Indicate supplicant MLO support to driver's SME Date: Wed, 19 Oct 2022 19:44:08 +0530 Message-ID: <20221019141409.535582-21-quic_vjakkam@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221019141409.535582-1-quic_vjakkam@quicinc.com> References: <20221019141409.535582-1-quic_vjakkam@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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: -DSljSFrIpyLF02F4x33z7AuaR94Zpn- X-Proofpoint-GUID: -DSljSFrIpyLF02F4x33z7AuaR94Zpn- X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-19_08,2022-10-19_03,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 clxscore=1015 mlxscore=0 lowpriorityscore=0 suspectscore=0 bulkscore=0 malwarescore=0 priorityscore=1501 phishscore=0 mlxlogscore=892 adultscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210190080 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221019_071507_719832_63823807 X-CRM114-Status: GOOD ( 16.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: 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.168.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 ad1ca3348..ea3edc9a4 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -6538,6 +6538,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(+)