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