Re: Simulating 6lowpan with mac802154_hwsim

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

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.

On Wed, Jun 12, 2019 at 11:10 AM Alexander Aring <aring@xxxxxxxxxxxx> wrote:
>
> On Thu, Jun 06, 2019 at 07:49:07PM -0300, Ramon Fontes wrote:
> > Hello all,
> >
> > I've been developed a wireless network emulator for IoT
> > (https://github.com/ramonfontes/mininet-iot) in which I'm using
> > mac802154_hwsim. Mininet-IoT extends Mininet-WiFi
> > (https://github.com/intrig-unicamp/mininet-wifi) by simulating WiFi
> > through mac80211_hwsim. Mininet-WiFi already supports 6lowpan with
> > fakelb and I moving everything to mac802154_hwsim. Since I'm using
> > iwpan with mac802154_hwsim and given the expertise of this community,
> > I was wondering whether there is any work in which simulate the data
> > rate based on the distance/rssi with 6lowpan. If the answer is no,
> > what would be the best way to do so? I was thinking of doing this with
> > TC, but TC wouldn't work well with multiple hops. Should I develop a
> > wmediumd-like simulator (https://github.com/bcopeland/wmediumd) for
> > mac802154_hwsim?
> >
>
> rssi as 802.15.4 LQI value can be set per hop in mac802154_hwsim netlink
> api. For delays/drops/etc. where is the problem using by TC netem?
>
> LQI value is *mostly dropped to garbage right now.
>
> It was on my list to try out netem with mac802154_hwsim but I didn't do
> it yet because I have no use case.
>
> - Alex



[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux