linux-wpan.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ramon Fontes <ramonreisfontes@gmail.com>
To: Alexander Aring <aring@mojatatu.com>
Cc: linux-wpan@vger.kernel.org
Subject: Re: Simulating 6lowpan with mac802154_hwsim
Date: Wed, 12 Jun 2019 20:08:09 -0300	[thread overview]
Message-ID: <CAK8U23b5ThWFHvbU6SCj7H=fSY5sLWrNY9fJZimud8Q8Y1Ww3Q@mail.gmail.com> (raw)
In-Reply-To: <20190612230333.2vzlzdpn6yix6owg@x220t>

For TC it's true, then you need to match on different addresses e.g. mac
> address/short address?

After talking with the TC maintainer, he told me it's implemented as
qdisc and not as action where you probably could do something to use
netem features per neighbor as run on specifc patterns...

>> Which patterns do you mean? Can I try the mac address with TC?

Thanks a lot for your kind help.

Regards,
Ramon
On Wed, Jun 12, 2019 at 8:03 PM Alexander Aring <aring@mojatatu.com> wrote:
>
> On Wed, Jun 12, 2019 at 07:52:15PM -0300, Ramon Fontes wrote:
> > 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.
> >
> > >> Ok! I just used wpan-hwsim and it seems to work fine. However, I have another question: How can I get the LQI value? I've created a monitor interface, but I couldn't observe the LQI value.
> >
>
> As I told, it's mostly garbage right now. There exists some way to get
> it on af802154 socket... There is currently no feature for it on
> AF_PACKET or some kind of neighbor nodes database (at least upstream)
> for the last one I have somehow dirty patches for it (without short
> address handling which getting complex because I need kind of mapping
> from other layers).
>
> Somehow I didn't got your other message.
>
> - Alex

  reply	other threads:[~2019-06-12 23:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-06 22:49 Simulating 6lowpan with mac802154_hwsim Ramon Fontes
2019-06-12 14:10 ` Alexander Aring
2019-06-12 17:07   ` Ramon Fontes
2019-06-12 17:20     ` Alexander Aring
2019-06-12 19:59       ` Alexander Aring
2019-06-12 22:52         ` Ramon Fontes
2019-06-12 23:03           ` Alexander Aring
2019-06-12 23:08             ` Ramon Fontes [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-06-06 22:43 Ramon Fontes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAK8U23b5ThWFHvbU6SCj7H=fSY5sLWrNY9fJZimud8Q8Y1Ww3Q@mail.gmail.com' \
    --to=ramonreisfontes@gmail.com \
    --cc=aring@mojatatu.com \
    --cc=linux-wpan@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).