From patchwork Sat Sep 26 11:26:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janusz Dziedzic X-Patchwork-Id: 1371751 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.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; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=rCD3iUtw; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=MTVwDLvh; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (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 4Bz63b1VDMz9sR4 for ; Sat, 26 Sep 2020 21:28:22 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.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=Zb8gG7c68r20y68hygAqdJXXwpPmV7CV7zvRQyMLY3E=; b=rCD3iUtwUDrKIprvd88qDukVIb N2sAfuuafdIL6diXpBx0YgOCp4Q/0oKrBg+/WLRNx2UARhIMEzhbMwfLtq2HyXutjAFwO7XvMXTl3 HrboWygf2ouh6rktGrx7+vv9VrQKgtiCUwM2gOIh183jv+/0GuyrLof+cyRiaWKvK17u3CHUxjsdY EtW0Be/qu5oNUgpx0qVJd7pVA+OaFjObu6WoUcqqTa1HCVYLIKGs7x0IfQBIcT6isXs6CvKmDFe47 R8a1EFs3a93UONwjK3axTUeJu0iBsRsiCd6x+sX6btYvbMmNBfZ4aU7vU8ETE8NW0me0L2JOfNU5n BxT7yX2Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kM8Mf-0002rU-0V; Sat, 26 Sep 2020 11:27:41 +0000 Received: from mail-lf1-x142.google.com ([2a00:1450:4864:20::142]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kM8MY-0002p4-GV for hostap@lists.infradead.org; Sat, 26 Sep 2020 11:27:35 +0000 Received: by mail-lf1-x142.google.com with SMTP id z19so5712082lfr.4 for ; Sat, 26 Sep 2020 04:27:34 -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:in-reply-to:references; bh=xI+cPLmOt3GfU0MJ5fY62ckiA6F9AnAGJ9rAPzfS5Jc=; b=MTVwDLvh5IqtAhz2/p2eG4dkKgdHcnUhzcUa9mLDZEX9jLeWOVcoor0OdilcM1ujsr Nk0TU70Fd+o3X7wYJQVha8W22A7t4E2C4Yt6EDQWepYOeyVMr0+MZPvHv3ndV0b0XlHN n9gt/4gAdkgok4/tAHapIAx5Q/08uGGymnMNk9UjXIOS+XAx7gT9327jHhCNjOtCuvjP b6igjqE3HtG5LG95hljm/x7pCCzq3M+eNPlgWXE65j95az9/jpNNZXTqOMf5fIZITpsR RV1LEOlETk9VSJi/8lrUWxPAzH3NLoHvAlJLkdzFCtr7wywQwMtC/4j805Va4irg37zu 8qEQ== 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:in-reply-to :references; bh=xI+cPLmOt3GfU0MJ5fY62ckiA6F9AnAGJ9rAPzfS5Jc=; b=ugtzlB0bD0zcpt4dFPNy2eB8V6BJJk/lVJbCzt+RjI7pcYB87ukARKXn3ThteiS7xG t0g5RQ1w5xlyiHPuH5BwgEm205zR2EFw4/Ve52oxhLx4cFCYphaz3Glf44lnQJef3Jzv TKuY0LC7zXyoZoiAxZYTXj+2bl5EWt4aQxAGS/LPW9xd0CEY6vUvkrMMSBvfvpuGaJ1r CfssfbgXI1h9OCjlIJEEzzTpjKgI+z3kzIr7hhdCsQL1cokVRm0I1WvLdQSnuvWnYNhL 4vlswtaYBGPM/OPgJPE6kP4yRX+Z7XO4ASPhZ/ceVFIO0llHJGz1OrraCafKQLnEudAm jNQQ== X-Gm-Message-State: AOAM533xrE5drokCVb6u13PmYaJZo5U/RRnkFE4CDEdXTunAqJ6d4R7d 0xHQAeoLQ3DmZ7aWIo4fcjZLLwopIiU= X-Google-Smtp-Source: ABdhPJybVLRNFI9HSOs7vuyyJs/JjsQncjukHjCeRqlu7v/jqMJcEi4iVK+XdDvVofE3Llp3eyUxMA== X-Received: by 2002:a19:7e0d:: with SMTP id z13mr970821lfc.455.1601119652812; Sat, 26 Sep 2020 04:27:32 -0700 (PDT) Received: from localhost.localdomain ([62.141.212.102]) by smtp.gmail.com with ESMTPSA id n9sm1478110lfd.215.2020.09.26.04.27.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Sep 2020 04:27:32 -0700 (PDT) From: Janusz Dziedzic To: hostap@lists.infradead.org Subject: [PATCH 6/9] tests: remote: monitor unblock rfkill Date: Sat, 26 Sep 2020 13:26:57 +0200 Message-Id: <20200926112700.6055-6-janusz.dziedzic@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200926112700.6055-1-janusz.dziedzic@gmail.com> References: <20200926112700.6055-1-janusz.dziedzic@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200926_072734_582361_64E3A97A X-CRM114-Status: GOOD ( 11.62 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.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 [2a00:1450:4864:20:0:0:0:142 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [janusz.dziedzic[at]gmail.com] 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_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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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: j@w1.fi, Janusz Dziedzic MIME-Version: 1.0 Sender: "Hostap" Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Unblock wifi rfkill before setup/run monitor Signed-off-by: Janusz Dziedzic --- tests/remote/monitor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/remote/monitor.py b/tests/remote/monitor.py index 96dbc6564..a97eaf928 100644 --- a/tests/remote/monitor.py +++ b/tests/remote/monitor.py @@ -63,6 +63,7 @@ def setup(host, monitor_params): logger.debug(traceback.format_exc()) break host.execute(["ifconfig", iface, " down"]) + host.execute(["rfkill", "unblock", "wifi"]) host.execute(["iw", iface, "set type monitor"]) host.execute(["ifconfig", iface, "up"]) status, buf = host.execute(["iw", iface, "set", "freq", param['freq'],