Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2271406ybb; Sat, 21 Mar 2020 17:35:43 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvYH59GjGhcdQ5hE0VmOHFdwe8xF33ZOrlQdS6pk/zEb7D5fcEfoUSM02aIbDE5bdrERBwP X-Received: by 2002:a05:6830:22f6:: with SMTP id t22mr13399745otc.229.1584837343465; Sat, 21 Mar 2020 17:35:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584837343; cv=none; d=google.com; s=arc-20160816; b=UKEAg7pf3imm3/fcO94AM+8HzME7myxRiDMk5i8VyklaMPWA5DdRUC3nQSfvjJoLsf T7ktBvEGO9RR4cI7flrsZJHUAfSJT8EyAkiOtKFtxfzKPydmefHIbNN/V4ZKhWaagz// 0JjmQf5NOVwIoviWV7hd/oGqcFpsrFd0ByiBwzZpS9ftfBobooX4ZsEbknWGsMjVV/VY nyH3IiCjnkZUvE8U23G0BB5D85RVm/4CRZ4HnwgjqBwn2nLVIngGJB+kxoIYb402C7IG tLiUzNnMUxB9E0dG9o9csWbbMsovfDg4x0ROnHUGktsvBE2aQHpSDx9bWk0a3eRuo0xw 0OCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=OVBiZQ81sfKb2bi7YNF134goHng4U2/KqWiVvfDRpCw=; b=ql8y5mVrmw+CF8dFnqnaXWJMvNYwStQBA2L20MTL4k1ThhmYnPj6AzvFeeX5MM5Ggz ZDzgxYFk815Cn0uFKIr+MbhgZbesdnHGX6sFM7P7YexAXJ9VC0RPhi9ryb9Yw20P3Vl7 pNLeoQSwNvmG+TBFbRY8zHjC1qPPDY54uzXEpBNw6drehEyF39VxtwDvjoIM4S+tGA9d tRSZNts5LA7HjGKeEYKBXOYEVQ505tAWpEGF6WYQnaHqfViMkxYTHKggBD+C8upqX77K 8zRpZNssH2W/jbRsBYjHKLPHDPlrtDu/Rn6Bnv8nnQKaY2WaHxqrIDddUu1E3QROD9tX +Z7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DbPYWoiS; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t83si5336465oig.239.2020.03.21.17.35.18; Sat, 21 Mar 2020 17:35:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DbPYWoiS; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728189AbgCVAeg (ORCPT + 99 others); Sat, 21 Mar 2020 20:34:36 -0400 Received: from mail-pg1-f181.google.com ([209.85.215.181]:38458 "EHLO mail-pg1-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728120AbgCVAeg (ORCPT ); Sat, 21 Mar 2020 20:34:36 -0400 Received: by mail-pg1-f181.google.com with SMTP id x7so5164449pgh.5 for ; Sat, 21 Mar 2020 17:34:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=OVBiZQ81sfKb2bi7YNF134goHng4U2/KqWiVvfDRpCw=; b=DbPYWoiSUNMCEuxoo9FYYSgpcOHik9zhBkdr9WmBztKey1V3AgQETHADvWp9xUNo9m 6EWmfbt3zGFvRjVEWBs6aaQrZKVYglrG4nY6iEoQNAOBbMcNdga8+/Tp5r5D4XdrHALR dyUhebc3Q4YBlO1R/k+wk0gvW/FJAveotIoO1z33ol4XgFTknIUigeiKyiub78QlKP4x G3LbU2yv9kEEmN9e7T/IHWN21eVgUYvAi368R9eK5EqrjwdN/lR1jgvcOPcfZqqDJ+2J t4X4esyhQ+2SChXLLxp/I+A4p+FJBCjM9tFNmJrzjJZeyUI7lSmXboHcOuj1fXSw4FXK dr2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=OVBiZQ81sfKb2bi7YNF134goHng4U2/KqWiVvfDRpCw=; b=H4Zzo2olm5o1iKdbjZgxs1oVutyJkiPnvCKr6u/5o0Rj2EXqFuRYutax7MoueXpptT Q3ngtyF9e9UzR2YHIazER67oIwhFkSh3tsCUPvpPGCsEFDwy5Fda+4xIsu42Z0MWQz66 PVTyeRbpx5qgZGL1yKSptgTtHnt927a+gvc6K1cnTaAY9u3QDsxh0UVjjM3GV22lZF7x RpK1nlfU5UcEmeBSR015xPoCR/uTSmvsC59VRYjcrapJ0KjidoTZOm59zvRxbPzwENGa qg1kLzlKUpbPtJRAiDImitWyBjiomCVmt1h07sovSM7e7SpAJdCHvNDqbTbrSpH3+P82 J27A== X-Gm-Message-State: ANhLgQ3UmZcn0sWlIKrDZ8BVfujB2fOTcJzcC2tl+AZ6WarwRUTRJ0P0 XVqI9dzqN519QH7wggiXdRACeHqE X-Received: by 2002:aa7:947c:: with SMTP id t28mr16404956pfq.239.1584837273271; Sat, 21 Mar 2020 17:34:33 -0700 (PDT) Received: from ?IPv6:2409:11:53c0:1f00:b04c:f0c9:bf68:24c7? ([2409:11:53c0:1f00:b04c:f0c9:bf68:24c7]) by smtp.gmail.com with ESMTPSA id s12sm8573088pgi.38.2020.03.21.17.34.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 21 Mar 2020 17:34:32 -0700 (PDT) Subject: Re: Simulate Radio wave interference To: Johannes Berg Cc: linux-wireless@vger.kernel.org References: From: Masashi Honma Message-ID: <8f783032-8999-18aa-5980-8a87427fddd8@gmail.com> Date: Sun, 22 Mar 2020 09:34:31 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 2020/03/17 0:42, Johannes Berg wrote: > I don't see this - the signal strength is just taken as is, and > overwritten, so there's no accumulation going on? Right. The signal strength is not accumulated. The commit log is wrong. The interference model is accumulating frame duration to calculate probabilities. About accumulation of signal strength, it could be calculated as vector. I wrote about it in response to realistic simulation. I think I should explain the concept of this interference model. The interference model assumes signals which strength is under CCA threshold are interference signal. The model accumulates the duration of such signals. The model assumes (accumulated duration / time slot) is probability of occurrence of interference. When interference occurs, the model reduce the max signal strength of interfering STA from transmitting STA's signal strength. Though the implementation is not among the concept of the model. The signal strength from node A to B was calculated and wrongly accumulated to interference duration of "A to all". I fixed it to "A to B" and sent a Pull Request to wmediumd. https://github.com/bcopeland/wmediumd/pull/22 > I guess my question really is how what's actually implemented is meant > to map to the physical world? To get closer to real world, it is necessary to consider the phase of radio wave. A radio wave could be weakened by radio waves which has opposite phase. Calculation of radio wave phase of multi signals could be described by electric field created by mesh node antenna. By using this electric field model, we could accumulate some interference signals as vector. I have an idea of implementation. Though I need some more time to implement this. Regards, Masashi Honma.