From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it1-f172.google.com ([209.85.166.172]:54723 "EHLO mail-it1-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726004AbfFLRUe (ORCPT ); Wed, 12 Jun 2019 13:20:34 -0400 Received: by mail-it1-f172.google.com with SMTP id m138so12083125ita.4 for ; Wed, 12 Jun 2019 10:20:34 -0700 (PDT) Date: Wed, 12 Jun 2019 13:20:28 -0400 From: Alexander Aring Subject: Re: Simulating 6lowpan with mac802154_hwsim Message-ID: <20190612172028.2fxq6jsj5jsq5pca@x220t> References: <20190612141016.owy6csdatcugsgak@x220t> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Sender: linux-wpan-owner@vger.kernel.org List-ID: To: Ramon Fontes Cc: linux-wpan@vger.kernel.org Hi, On Wed, Jun 12, 2019 at 02:07:26PM -0300, Ramon Fontes wrote: > One node (e.g. node1) can be connected simultaneously to multiple > nodes (e.g. node2 and node3) by using only one 6lowpan interface. > That said, which node (2 or 3) will node1 taking into account? They > can have different distances and only one interface in which we can > use TC. Please correct me if I'm wrong. In my mind, the same is true > for LQI. > For TC it's true, then you need to match on different addresses e.g. mac address/short address? For LQI this is not true, because in mac802154_hwsim you say edges as a set of vectors (which node can reach the other node) and specify the LQI value which the receiving node will be get. The main difference here is that TC works on interface layer whereas mac802154_hwsim can work on phy layer. Maybe TC can even extended for such purpose? > This code (https://github.com/ramonfontes/mininet-iot/blob/master/examples/6LoWPan.py) > produce such scenario. You can also try 6lowpan.py -m for mobility > purposes. > Need to test it when I have time. - Alex