Message ID | 20221201031847.26480-14-quic_alokad@quicinc.com |
---|---|
State | Accepted |
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=1CjdmFbe; 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=nw6tavRd; 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 4NN1fP566Mz23nB for <incoming@patchwork.ozlabs.org>; Thu, 1 Dec 2022 14:25:01 +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:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=p1CWO+cxhBok5S22w/mSp7LnHltdnfz1X9dcCDdd45Y=; b=1CjdmFbeQfLp61 PRw8IwGcE50F1oDlOc4eVC1F+l5nRaDPv/6mO/+BEUDieb/5URYoauIrugV31OpDmxycuMHyKn/iS gdK6I0RIVFMUiXv4olLz0Pu7UNVTwLaM+ej/vnM3zzR/L6e3jbPa24DL7vl/TYWMUWRp5lQqN1qW0 6qZ05piA1dn3Tf6X+SAFenygQz9Lxn2nSO8vCit0jjNRbKEpwm+C+mmwmVzfTvplXZoQBRJBtC3uk T0aL5n2bPsxydRH3OEOAVPxG/otYT7pXucMTssPyjj9Ns9P1wXehx36M4qLGG5td0M8oFHbUVUf9V KtLWdciwd47cMbkBYw6Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p0aBN-004Bz6-Nk; Thu, 01 Dec 2022 03:24:17 +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 1p0a6Q-004AH4-ND for hostap@lists.infradead.org; Thu, 01 Dec 2022 03:19:16 +0000 Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2B12dmFw031442; Thu, 1 Dec 2022 03:19:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=Ajl6C5vOaC/t8eUfeLsH5NXV0jkAt1YGm6qyyvhw2BA=; b=nw6tavRdvGv6V6Ri86SOn+2iw2G6fia5tx0sCYf1qHFyVr1uZC4r/cpsBW7S8v5pgje/ FoROJbeD40u4UMik1+kTDKCTzquPlHC5yZJhhXfU1vtrGEMwDbBpToCkNXZCAqJAnpTz U3BBmTSftgmXF2Tss4HcbqXjYCRfyiDsjfJxKWNgqjiWgmrG/qlXOGyZUZK1m00+5/EL mQdylxdef2QLGYADonJBbiq9WPmkaXFZmtHq2KX/3FRQ0H85uMV7cP9rzwbEPqT5lu/h VNQQ2UJTLId2g9BwDkC10XGNQXZ02FNR77olYro+rH2gaCLcbIJGZcJc+F+lR3pU2U1d BA== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3m6k3qr4rt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 01 Dec 2022 03:19:09 +0000 Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 2B13J86J019653 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 1 Dec 2022 03:19:08 GMT Received: from alokad-linux.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Wed, 30 Nov 2022 19:19:08 -0800 From: Aloka Dixit <quic_alokad@quicinc.com> To: <hostap@lists.infradead.org>, <j@w1.fi> Subject: [PATCH v4 13/15] tests: hwsim: MBSSID with same security Date: Wed, 30 Nov 2022 19:18:45 -0800 Message-ID: <20221201031847.26480-14-quic_alokad@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221201031847.26480-1-quic_alokad@quicinc.com> References: <20221201031847.26480-1-quic_alokad@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: eEi0wg0vy_T2V_Xo0SHxoFq7BdDV1i3K X-Proofpoint-ORIG-GUID: eEi0wg0vy_T2V_Xo0SHxoFq7BdDV1i3K X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-01_02,2022-11-30_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxlogscore=804 bulkscore=0 suspectscore=0 lowpriorityscore=0 mlxscore=0 adultscore=0 spamscore=0 priorityscore=1501 clxscore=1015 phishscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2212010018 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221130_191910_924613_FB8BFAC1 X-CRM114-Status: GOOD ( 13.18 ) 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: Add 8 VAPs, all with SAE. In such a case the Multiple BSSID elements in management frames do not include RSN and RSNE elements as all non-transmitting profiles have exact same security configuration a [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -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 |
v4: MBSSID and EMA support
|
expand
|
diff --git a/tests/hwsim/test_he_mbssid.py b/tests/hwsim/test_he_mbssid.py index a643e5c4666c..270d70473367 100644 --- a/tests/hwsim/test_he_mbssid.py +++ b/tests/hwsim/test_he_mbssid.py @@ -95,3 +95,22 @@ def test_he_ap_mbssid_open(dev, apdev, params): sta_params = {"key_mgmt": "NONE", "scan_freq": "2412"} mbssid_start_ap(dev, apdev, params, fname, ifname, sta_params) + +def test_he_ap_mbssid_same_security(dev, apdev, params): + """HE AP MBSSID ALL SAE""" + f, fname, ifname = mbssid_create_cfg_file(apdev, params) + + sae_params = {"wpa": "2", "wpa_passphrase": "12345678", + "wpa_pairwise": "CCMP", "wpa_key_mgmt": "SAE", + "sae_pwe": "1", "ieee80211w": "2"} + + for idx in range(0, 8): + mbssid_write_bss_params(f, ifname, idx, sae_params) + + f.close() + + dev[0].set("sae_pwe", "1") + sta_params = {"psk": "12345678", "key_mgmt": "SAE", "ieee80211w": "2", + "pairwise": "CCMP", "group": "CCMP", "scan_freq": "2412"} + mbssid_start_ap(dev, apdev, params, fname, ifname, sta_params) + dev[0].set("sae_pwe", "0")
Add 8 VAPs, all with SAE. In such a case the Multiple BSSID elements in management frames do not include RSN and RSNE elements as all non-transmitting profiles have exact same security configuration as the transmitting interface. Signed-off-by: Aloka Dixit <quic_alokad@quicinc.com> --- v1: depends on https://patchwork.kernel.org/project/linux-wireless/list/?series=700684&state=%2A&archive=both tests/hwsim/test_he_mbssid.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)