Message ID | 20220825055311.3327147-13-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=IgPhCU/u; 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=PAzztKHZ; 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 4MCsfY2qlMz1yg7 for <incoming@patchwork.ozlabs.org>; Thu, 25 Aug 2022 15:56:37 +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=JMCPqvf0k/mX7736CIFvfinrnKDE+eC1Lw92wrm6nZY=; b=IgPhCU/ukpaJKi y7xJPanHRTqoxfJBTXK3lnGasFnRGRJLlco4HamhYkZtZQiSNXGxbOAVoJvmeKnigPEmHV9PcTIwL q9Wt0NkD3o9WQimgbYWisv+T1K12/W1lBw6e+KH4rGFfpc8B7jRCxbFi5twE9eVcHql8MlflT5oDO tCGzSDP8iKbkQyfq2sIdJAfgJZJjRcHi5Tn7v7LkoYL087W6B7lEJuNny/Kma5VddC9MxCb6D0Iky sX3L+psRgTSVsNWjglM2zFOdz2HGlSuFb4jOsIR2yjHar7WnhxBhQe3GGxw6oxzehIduMYkF1fpzv Q3A7ilqu7pIipN6hHfAw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oR5px-007cNW-6Y; Thu, 25 Aug 2022 05:55:29 +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 1oR5oG-007ZYX-8F for hostap@lists.infradead.org; Thu, 25 Aug 2022 05:53:45 +0000 Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27P4R2hC010170 for <hostap@lists.infradead.org>; Thu, 25 Aug 2022 05:53:43 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=VG6ehcJiOAo7oyyzE/Zr4kM3hKku3fBnQt4LCrgFhos=; b=PAzztKHZqkXprPlqpVbGz1g0IuJbEK8y3uTYax6BGAeXnhBHAzJcxVdxLgZSY3qWc0EX uB1HVMckNZxjFdKLN2c3uJOtQh6MEaH3HveHjVxjEzjMUg0oYBgpezpotz4tKezRetuk GEqvIXO0mobgjarVR+gAWWVZHP/2oG63jz6wl+rFs+AhBYUFAUQyNmHuCoK8q5/Xfr3R vPCXVL0sXhjfGXfVED6CpACTt6Z0Af88IVWYifkRMQiqJXcuA0VkJlRnfO6mbC20oxTC GJ2s4jbFq/KLgLhnwHCN8xVaz6DeLX08cE+n9GHkkAscLiaNcr3cwbxx9skIyLbfNfR3 RQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3j5w5jgspt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <hostap@lists.infradead.org>; Thu, 25 Aug 2022 05:53:43 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 27P5rgf7013447 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <hostap@lists.infradead.org>; Thu, 25 Aug 2022 05:53:42 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, 24 Aug 2022 22:53:41 -0700 From: Veerendranath Jakkam <quic_vjakkam@quicinc.com> To: <hostap@lists.infradead.org> CC: <quic_vjakkam@quicinc.com> Subject: [PATCH 12/12] MLD STA: Indicate MLO support for security modes to driver's SME Date: Thu, 25 Aug 2022 11:23:11 +0530 Message-ID: <20220825055311.3327147-13-quic_vjakkam@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220825055311.3327147-1-quic_vjakkam@quicinc.com> References: <20220825055311.3327147-1-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: wzl5xe1G-g4Y9kBOyaOPxoR5_CR-b5IQ X-Proofpoint-GUID: wzl5xe1G-g4Y9kBOyaOPxoR5_CR-b5IQ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-25_03,2022-08-22_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 mlxlogscore=999 impostorscore=0 suspectscore=0 adultscore=0 priorityscore=1501 clxscore=1015 phishscore=0 mlxscore=0 spamscore=0 bulkscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2208250020 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220824_225344_452086_FF98C435 X-CRM114-Status: GOOD ( 16.44 ) X-Spam-Score: -0.2 (/) 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 for all security modes. Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com> --- src/drivers/driver_nl80211.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no 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 af9d53b45..f19b97d1e 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -6482,14 +6482,7 @@ static int nl80211_connect_common(struct wpa_driver_nl80211_data *drv, nla_put_flag(msg, NL80211_ATTR_EXTERNAL_AUTH_SUPPORT)) return -1; - /* - * Indicate driver's SME to enable MLO connection only for non-WPA open - * connections. - */ - if ((!(drv->capa.flags & WPA_DRIVER_FLAGS_SME)) && - params->key_mgmt_suite == WPA_KEY_MGMT_NONE && - params->pairwise_suite == WPA_CIPHER_NONE && - params->group_suite == WPA_CIPHER_NONE && + if (!(drv->capa.flags & WPA_DRIVER_FLAGS_SME) && nla_put_flag(msg, NL80211_ATTR_MLO_SUPPORT)) return -1;
Send NL80211_ATTR_MLO_SUPPORT flag in NL80211_CMD_CONNECT for all security modes. Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com> --- src/drivers/driver_nl80211.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-)