Message ID | 1490061033-8462-3-git-send-email-masashi.honma@gmail.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@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 3vnG4b1MWJz9rxm for <incoming@patchwork.ozlabs.org>; Tue, 21 Mar 2017 12:51:11 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="n+fUuWOQ"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="C1OSQzFz"; 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=wCE3brre0KrDi4TcPhM/mqxbOsWWEMtRk9SY2bcCzwM=; b=n+fUuWOQxj+IlpWx2yDOWITtmk xugEDfbJhvC0C1yK6ZyKEaIDV/J9aPu4S3tSYxSY1whhE4KDnhVpja/KxjZ980q7PvDZSlPh0k3kS Q3ikqOlu8MyfyU1LqkmVaFY/4tx5KGRQ7xyTolBBUTTvPEV3VTzhM+tKdQ/+rwlppDxUXb3THIgYO y6fIpumiIa4Vz9Hf3vID3Oc5YsQPitpQEtDgFfQTAdz22Kfh6BQkfDREAocF9oy/DH0b7uQP1c2Xz /BRSJL6CPrrtvrCf5XYtQqmcSTAiUEad1Z8588S99wRii20skmcbT1KMWzT/jJCgDK6wt9/kDBLST OoxO+p7w==; 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 1cq8x3-0008Qr-7V; Tue, 21 Mar 2017 01:51:09 +0000 Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cq8wz-0008Pg-OJ for hostap@lists.infradead.org; Tue, 21 Mar 2017 01:51:07 +0000 Received: by mail-pf0-x244.google.com with SMTP id p189so14237935pfp.0 for <hostap@lists.infradead.org>; Mon, 20 Mar 2017 18:50:48 -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=LWP19IPBwVp5aEhFXlkdkGMPcP1MhbI51BqHoHVXldQ=; b=C1OSQzFz1akeYJcUyaqrGEKZ109BDjrtKv/7ITxcRopFCf5anqY01bON/cc4zIDGXd VwgJOlCjpTjaJHOKdr2TywDB8lxShFUt1B9YLx/VPpbuoGLB5qlmDGpWogjQDcvHMBiT auctHYeX/TDGGNlDOp99TuAad8ZvhNrFRdPyiTLazEicU243an9i2wZ6biji0vrJfw33 x1XxGsBUl/wCimt8K8FHHxpbylW5mptl4Xjcfa900+YOe7X2+unasm1SjqPn7TRpsDd/ ZgHBuJtiom58hglyNDZCKSWNb/HVlTeeXOLGi3sRJ5J7PhCm6a8BXxifFTPKEarhvY63 Dctg== 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=LWP19IPBwVp5aEhFXlkdkGMPcP1MhbI51BqHoHVXldQ=; b=bgNWPwLYaBMwqmNwA9S/r3L8QqxUrAKszc7g3p0j0nj6WmbCgmy/gxHHOT+V0Ycyps kj86YK7Dae6AjUmdekZMCq1cGBt06TXkV2qmH3MdOfndxWVJL6L6f8B7uvDCat2GYn2L TuKazSF64QGcgKVPrDjpbXY8XbT04La4A+CgsSAhDr61pLkdoKjGGqQe/uLu2+C6n4F/ L2A8C0E7A2YLwblTLJRdW6rb43z71E8G0mn8VBityv12XUAysYntDMZAD9/Pf+Ai904G NwA8/xSzBidOMv6hLWtx1fWZkrQtfPrAHGx0lrMcRv1qiqUWS5igw/2tscIreu1fnbXA 4Exg== X-Gm-Message-State: AFeK/H0wiW18kLLpb4ci8dgKBILz2x7kVfJtrwoRxpTjku4G60cktl3x7RWhQ/Y41vPb6Q== X-Received: by 10.84.214.129 with SMTP id j1mr44605632pli.23.1490061048309; Mon, 20 Mar 2017 18:50:48 -0700 (PDT) Received: from localhost.localdomain (p6e1217.kngwnt01.ap.so-net.ne.jp. [218.110.18.23]) by smtp.gmail.com with ESMTPSA id m3sm35522348pfc.66.2017.03.20.18.50.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 20 Mar 2017 18:50:47 -0700 (PDT) From: Masashi Honma <masashi.honma@gmail.com> To: hostap@lists.infradead.org Subject: [PATCH v6 3/4] tests: Use error probability model instead of SNR model Date: Tue, 21 Mar 2017 10:50:32 +0900 Message-Id: <1490061033-8462-3-git-send-email-masashi.honma@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1490061033-8462-1-git-send-email-masashi.honma@gmail.com> References: <1488332457-23457-1-git-send-email-masashi.honma@gmail.com> <1490061033-8462-1-git-send-email-masashi.honma@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170320_185105_865067_4E943D2E X-CRM114-Status: UNSURE ( 7.48 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2607:f8b0:400e:c00:0:0:0:244 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 (masashi.honma[at]gmail.com) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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 X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.21 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> Cc: j@w1.fi, Masashi Honma <masashi.honma@gmail.com>, me@bobcopeland.com MIME-Version: 1.0 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 |
diff --git a/tests/hwsim/test_wmediumd.py b/tests/hwsim/test_wmediumd.py index 64c28cf..74209fe 100644 --- a/tests/hwsim/test_wmediumd.py +++ b/tests/hwsim/test_wmediumd.py @@ -28,11 +28,16 @@ CFG2 = """ ifaces : { ids = ["%s", "%s", "%s"]; +}; + +model: +{ + type = "prob"; links = ( - (0, 1, 50), - (0, 2, 50), - (1, 2, -10) + (0, 1, 0.000000), + (0, 2, 0.000000), + (1, 2, 1.000000) ); }; """
If wmediumd will change it's SNR model, these tests needs to be modified (ex. previously SNR = 0 means disconnection, on the new model, SNR should be -10 for disconnection). So use error probability model not to be influenced by SNR model change. Signed-off-by: Masashi Honma <masashi.honma@gmail.com> --- tests/hwsim/test_wmediumd.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-)