From patchwork Thu May 18 13:21:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: michael-dev X-Patchwork-Id: 763990 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wTBkK2H0fz9ryv for ; Thu, 18 May 2017 23:24:57 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Qyqe8uGB"; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=RKSgrHCi14XFwGrz1xWZ3/YeuhFVMyquidFma5hKuJk=; b=Qyqe8uGBQjskSvo+Owozoz2Ktf u8/LLsYu1PVam1E1EPZdNUWGQu28B1L38BXPAC8AcslkbLx9CE1UHcPxosHW1QKZ4JUTE8NEProiM NB7K83H0rq+nYnkLN6JWlflz6gp9I/L6RVNVU3cKn+YWVcOxZd6twOvfDgc+QNyVXa496m4bqOKlO 4W7nQ7MZMwFkEBZEn4/zu3yYqQu2Qg2PiZkaAU0wGnFYZjzUUsq2VzxkV0bBXCtSl2hfSluU+ZCBD V5REiQ+QbjAdIC7jYyboNYCuCz/2BmEcsuX89VCSMa6Cx4C6NlbxSM2Cyz1ZJiWQKP0t/hR5ALQIG Tf33owFQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dBLQ1-0004A6-8V; Thu, 18 May 2017 13:24:41 +0000 Received: from mail.fem.tu-ilmenau.de ([141.24.220.54]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dBLPo-0003T9-RS for hostap@lists.infradead.org; Thu, 18 May 2017 13:24:33 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.fem.tu-ilmenau.de (Postfix) with ESMTP id 694CC68A3; Thu, 18 May 2017 15:23:44 +0200 (CEST) X-Virus-Scanned: amavisd-new at fem.tu-ilmenau.de Received: from mail.fem.tu-ilmenau.de ([127.0.0.1]) by localhost (mail.fem.tu-ilmenau.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id St-C0CxUOqeP; Thu, 18 May 2017 15:23:43 +0200 (CEST) Received: from mail-backup.fem.tu-ilmenau.de (mail-backup.net.fem.tu-ilmenau.de [10.42.40.22]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.fem.tu-ilmenau.de (Postfix) with ESMTPS; Thu, 18 May 2017 15:23:41 +0200 (CEST) Received: from a234.fem.tu-ilmenau.de (ray-controller.net.fem.tu-ilmenau.de [10.42.51.234]) by mail-backup.fem.tu-ilmenau.de (Postfix) with ESMTP id A889956054; Thu, 18 May 2017 15:23:40 +0200 (CEST) Received: by a234.fem.tu-ilmenau.de (Postfix, from userid 1000) id 58F24306ACE1; Thu, 18 May 2017 15:22:03 +0200 (CEST) From: Michael Braun To: hostap@lists.infradead.org Subject: [PATCH 6/8] tests: FT with CUI Date: Thu, 18 May 2017 15:21:55 +0200 Message-Id: <1495113717-26860-7-git-send-email-michael-dev@fami-braun.de> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1495113717-26860-1-git-send-email-michael-dev@fami-braun.de> References: <1495113717-26860-1-git-send-email-michael-dev@fami-braun.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170518_062429_603365_9D818FE2 X-CRM114-Status: UNSURE ( 6.86 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -4.2 (----) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-4.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [141.24.220.54 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: projekt-wlan@fem.tu-ilmenau.de, Michael Braun MIME-Version: 1.0 Sender: "Hostap" Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Signed-off-by: Michael Braun --- tests/hwsim/test_ap_ft.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/hwsim/test_ap_ft.py b/tests/hwsim/test_ap_ft.py index 783cfd0..882682f 100644 --- a/tests/hwsim/test_ap_ft.py +++ b/tests/hwsim/test_ap_ft.py @@ -677,12 +677,15 @@ def test_ap_ft_sae_over_ds(dev, apdev): run_roams(dev[0], apdev, hapd0, hapd1, ssid, passphrase, sae=True, over_ds=True) -def generic_ap_ft_eap(dev, apdev, vlan=False, over_ds=False, discovery=False, roams=1): +def generic_ap_ft_eap(dev, apdev, vlan=False, cui=False, over_ds=False, discovery=False, roams=1): ssid = "test-ft" passphrase="12345678" if vlan: identity="gpsk-vlan1" conndev="brvlan1" + elif cui: + identity="gpsk-cui" + conndev=False else: identity="gpsk user" conndev=False @@ -736,6 +739,10 @@ def test_ap_ft_eap(dev, apdev): """WPA2-EAP-FT AP""" generic_ap_ft_eap(dev, apdev) +def test_ap_ft_eap_cui(dev, apdev): + """WPA2-EAP-FT AP with cui""" + generic_ap_ft_eap(dev, apdev, vlan=False, cui=True) + def test_ap_ft_eap_vlan(dev, apdev): """WPA2-EAP-FT AP w VLAN""" generic_ap_ft_eap(dev, apdev, vlan=True)