From patchwork Thu Jun 27 05:44:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masashi Honma X-Patchwork-Id: 1123125 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="r5NOQMKb"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="b8vC2Pzz"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45Z84X2x9Vz9s4Y for ; Thu, 27 Jun 2019 15:45:16 +1000 (AEST) 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: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:In-Reply-To: References:List-Owner; bh=/6kJvLiymfj2UWHMak7W2BwNXIgVP/QdVhI8wMciAH4=; b=r5N OQMKbQLdET6Oe/eVdw/hKx+rCBHR0UWVklyVglyhnw37yUqT5IDKbQlmc0ECLpsd4S7A8XzeKgekL GG1L1tmGXlg4a1hEsZY7YUSvMHDlxLYiLnYY30k3NLSkV7MkxkflM3fu/jRXz4RaK5QGbU5DvhYVT g8ap06hSDHznyyVueWlbergfhPvv5YieshHvff9XLQxRIyU3sYKWtqQgtg8YTQx2AdfUM4PI/zgsP B8MlHn4llaruWGc8MlwR8wjwCay8I1+WLYQplVDkiXLRxpSPisOfeIprs9SihAnGGkAfcYL9XegL8 RNL9imhiBc6k98w4m1ekRUiplgWMJNg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hgNDZ-0004tt-KU; Thu, 27 Jun 2019 05:45:09 +0000 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hgNDV-0004G9-63 for hostap@lists.infradead.org; Thu, 27 Jun 2019 05:45:06 +0000 Received: by mail-pg1-x541.google.com with SMTP id k13so463066pgq.9 for ; Wed, 26 Jun 2019 22:45:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=yU0gWU29AYnfbFn85Gd64P0z3SEHDByR8dmBhN7hBfE=; b=b8vC2PzzxJhwf7KSKF+m+TqyHDXaUHF6aQHwv9l3lpVRAGQQoIYd3Z2vV9+KLdUg+v 0cvh4uvBbqDlCFRlxiebGBpdjeCZ3OjuOEIabQK3UmnD8N6Lm9Y0vPWDYRMJPOQlpAVe FgeAbB5fV4e/8gl5CmK7SylIBsZGIatTkJShNlg5sZ/Zt5Zv32/MqtBSDkIPUEQbIJC2 d12CZbWWTiz4OXSkdBKdAfwTv0e6uJViVy4NGD2SDetYWVaNcNE8w+jLA8Jh9SkeAUcp TUo/9mTvU3J6HgmD69OIkRTkB11CwldNLQLhR2COQFpZuX3GBhsXMiJeIC5yrZBGeiZf v5UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=yU0gWU29AYnfbFn85Gd64P0z3SEHDByR8dmBhN7hBfE=; b=t5VIFdrzKmw44ZMYYfnmWzdK6hHzhBzO5VvevkloZF23CupC9QWBWaydIkQIoDgsVm 8BiwhLfCk/X/W45QoTVpC8MiGSf5fOgXA8npmEvwnauVm5oxN4giMUGQpbRl0Tm4MsXZ l+PVPQOtURXQWs+6vv3vK0lTbm703xwyD16AMsNTy/EuACBhnvWlk3a+9fVuEXn1P94W 1+8gltgOIErrj/UC4dPe6OUe8oZQS4cN4gHHsrcGlbx0Q/o94Dv6dtTdlV4+LLEqD+G3 vRA/vyxVfRcMAWSb6DmqnrCepYWXHR0/cjmPzARYzqkB9Nf5gLcXhJsoquY0qH/KhXKy Be2g== X-Gm-Message-State: APjAAAU8gHdkWRpHpm3r/Kp2r/3ErMg+enEFFFuYUdNCz+BBT9v0uasA baAqkVibLxmnRzPyzl2rHVHGEzSg X-Google-Smtp-Source: APXvYqyXr6D2/4WSBog2Z5klZ18SeAJIz7DX3LCzFobv1uBL6F3az0qj3N8CLkuHOFPbwyh2FQQxZQ== X-Received: by 2002:a17:90a:80c4:: with SMTP id k4mr3857703pjw.74.1561614303323; Wed, 26 Jun 2019 22:45:03 -0700 (PDT) Received: from gtx1600.flets-east.jp ([2409:11:321:2100:dc07:93d9:d501:eb26]) by smtp.gmail.com with ESMTPSA id g17sm1223302pfb.56.2019.06.26.22.45.01 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 26 Jun 2019 22:45:02 -0700 (PDT) From: Masashi Honma To: hostap@lists.infradead.org Subject: [PATCH 1/9] tests: Fix rrm_beacon_req_passive_scan_vht false negative by using common finalizer rrm_beacon_req_passive_scan_vht fails with this message. Date: Thu, 27 Jun 2019 14:44:44 +0900 Message-Id: <20190627054452.6547-1-masashi.honma@gmail.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190626_224505_258909_3F707A89 X-CRM114-Status: UNSURE ( 8.49 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:541 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (masashi.honma[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Masashi Honma MIME-Version: 1.0 Sender: "Hostap" Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org --------------- wlan0: Country code not reset back to 00: is FI wlan0: Country code cleared back to 00 --------------- hostap commit 91b6eba7732354ed3dfe0aa9715dc4c0746e3336 'Move MAC address randomization enable/disable to helper functions'. wireless-testing commit 66c112cbd1d44d05322bb4eef908c82a68adbb5e tag: wt-2019-06-26. This patch fixes the issue. Signed-off-by: Masashi Honma --- tests/hwsim/test_rrm.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/hwsim/test_rrm.py b/tests/hwsim/test_rrm.py index 81a94963c..c9c8d6103 100644 --- a/tests/hwsim/test_rrm.py +++ b/tests/hwsim/test_rrm.py @@ -1668,12 +1668,7 @@ def test_rrm_beacon_req_passive_scan_vht(dev, apdev): raise HwsimSkip("80 MHz channel not supported in regulatory information") raise finally: - if hapd: - hapd.request("DISABLE") - dev[0].disconnect_and_stop_scan() - subprocess.call(['iw', 'reg', 'set', '00']) - dev[0].wait_event(["CTRL-EVENT-REGDOM-CHANGE"], timeout=0.5) - dev[0].flush_scan_cache() + clear_regdom(hapd, dev) def test_rrm_beacon_req_passive_scan_vht160(dev, apdev): """Beacon request - passive scan mode - VHT160"""