* mac802154: TX results and ACK processing
@ 2014-08-19 13:33 João Pedro Taveira
2014-08-19 15:23 ` Alexander Aring
0 siblings, 1 reply; 4+ messages in thread
From: João Pedro Taveira @ 2014-08-19 13:33 UTC (permalink / raw)
To: linux-wpan
Hi to all,
I'm working on a RPL implementation to linux. It works with
rpl_of_of0, but to get rpl_of_mhrof working, it requires ETX
calculations. In order to get ETX working on linux, it would be
required to get mac802154 Tx results. Are you planning on get track of
radios autoacks and/or transceivers Tx results?
RPL must not know anything about 6lowpan, but since it will use link
metrics, the RPL mechanisms should be able to get neighbors links
stats.
What's your opinion?
Best Regards,
João Pedro Taveira
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mac802154: TX results and ACK processing
2014-08-19 13:33 mac802154: TX results and ACK processing João Pedro Taveira
@ 2014-08-19 15:23 ` Alexander Aring
2014-08-19 16:27 ` João Pedro Taveira
0 siblings, 1 reply; 4+ messages in thread
From: Alexander Aring @ 2014-08-19 15:23 UTC (permalink / raw)
To: João Pedro Taveira; +Cc: linux-wpan
On Tue, Aug 19, 2014 at 02:33:29PM +0100, João Pedro Taveira wrote:
> Hi to all,
>
> I'm working on a RPL implementation to linux. It works with
ok.
> rpl_of_of0, but to get rpl_of_mhrof working, it requires ETX
> calculations. In order to get ETX working on linux, it would be
> required to get mac802154 Tx results. Are you planning on get track of
> radios autoacks and/or transceivers Tx results?
>
Mh. The at86rf2xx have something to get some tx results. See [0] page
66, do you mean something like this?
At at86rf2xx this can be read at point [1], currently we don't have any
mac layer functionality to make this available for any other layer.
> RPL must not know anything about 6lowpan, but since it will use link
> metrics, the RPL mechanisms should be able to get neighbors links
> stats.
>
I thought RPL needs the LQI value. For the LQI value I (we) thought about
to handle the LQI value like the wireless signal strength.
If you have a wireless card, simple type:
"iw dev $WLAN_DEV scan dump" (maybe you need to run a scan first). You will
see all access points and their signal strength etc.
We should have something similar for all neighbor nodes and LQI values,
tx failures and similar information.
> What's your opinion?
>
I think we should get a working mac layer with a working 6LoWPAN layer
at first, then we can do effort to implement RPL or RFC6775.
There are currently unsolved issues and if we implement upper layers
these issues are not easy to solve afterwards.
First we should have something to offer these information in userspace.
(Like the "iw dev $WLAN_DEV scan dump"), but you don't need these information
in userspace. If we have this functionality, we can think about to get these
information in RPL layer (which is kernelspace).
btw. we are far away to offer these information in userspace.
- Alex
[0] http://www.atmel.com/images/doc8111.pdf
[1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/net/ieee802154/at86rf230.c?id=refs/tags/v3.17-rc1#n735
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mac802154: TX results and ACK processing
2014-08-19 15:23 ` Alexander Aring
@ 2014-08-19 16:27 ` João Pedro Taveira
2014-08-19 16:56 ` Alexander Aring
0 siblings, 1 reply; 4+ messages in thread
From: João Pedro Taveira @ 2014-08-19 16:27 UTC (permalink / raw)
To: Alexander Aring; +Cc: linux-wpan
On Tue, Aug 19, 2014 at 4:23 PM, Alexander Aring <alex.aring@gmail.com> wrote:
> On Tue, Aug 19, 2014 at 02:33:29PM +0100, João Pedro Taveira wrote:
>> Hi to all,
>>
>> I'm working on a RPL implementation to linux. It works with
>
> ok.
>
>> rpl_of_of0, but to get rpl_of_mhrof working, it requires ETX
>> calculations. In order to get ETX working on linux, it would be
>> required to get mac802154 Tx results. Are you planning on get track of
>> radios autoacks and/or transceivers Tx results?
>>
>
> Mh. The at86rf2xx have something to get some tx results. See [0] page
> 66, do you mean something like this?
>
> At at86rf2xx this can be read at point [1], currently we don't have any
> mac layer functionality to make this available for any other layer.
>
>> RPL must not know anything about 6lowpan, but since it will use link
>> metrics, the RPL mechanisms should be able to get neighbors links
>> stats.
>>
>
> I thought RPL needs the LQI value. For the LQI value I (we) thought about
> to handle the LQI value like the wireless signal strength.
RPL doesn't need LQI.It depends on RPL configurations and parameters,
which metrics it will use. One could setup RPL to use metrics based on
ETX, LQI, battery voltage, mains, temperature, ... sky is the limit.
>
> If you have a wireless card, simple type:
>
> "iw dev $WLAN_DEV scan dump" (maybe you need to run a scan first). You will
> see all access points and their signal strength etc.
>
> We should have something similar for all neighbor nodes and LQI values,
> tx failures and similar information.
>
>> What's your opinion?
>>
>
> I think we should get a working mac layer with a working 6LoWPAN layer
> at first, then we can do effort to implement RPL or RFC6775.
RPL works on IPv6 layer, it doesn't depend on 6lowpan. I already
started to implement several RFCs but not MHROF. Right now, I can
connect linux and contiki sensors using rpl_of_of0, but this is the
basic. To get mhrof working with default configurations as defined on
RFCs, ETX should be available. My problem is that RPL works on IPv6
layer, but ETX it's only available on link layer. Some abstraction
should be available to allow implementation of RPL metrics and RPL
Objective functions to make use of any metrics on existing link
protocols.
Joao Taveira
>
> There are currently unsolved issues and if we implement upper layers
> these issues are not easy to solve afterwards.
>
> First we should have something to offer these information in userspace.
> (Like the "iw dev $WLAN_DEV scan dump"), but you don't need these information
> in userspace. If we have this functionality, we can think about to get these
> information in RPL layer (which is kernelspace).
>
>
> btw. we are far away to offer these information in userspace.
>
> - Alex
>
> [0] http://www.atmel.com/images/doc8111.pdf
> [1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/net/ieee802154/at86rf230.c?id=refs/tags/v3.17-rc1#n735
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mac802154: TX results and ACK processing
2014-08-19 16:27 ` João Pedro Taveira
@ 2014-08-19 16:56 ` Alexander Aring
0 siblings, 0 replies; 4+ messages in thread
From: Alexander Aring @ 2014-08-19 16:56 UTC (permalink / raw)
To: João Pedro Taveira; +Cc: linux-wpan
Hi,
On Tue, Aug 19, 2014 at 05:27:43PM +0100, João Pedro Taveira wrote:
> On Tue, Aug 19, 2014 at 4:23 PM, Alexander Aring <alex.aring@gmail.com> wrote:
> >
> > I thought RPL needs the LQI value. For the LQI value I (we) thought about
> > to handle the LQI value like the wireless signal strength.
> RPL doesn't need LQI.It depends on RPL configurations and parameters,
> which metrics it will use. One could setup RPL to use metrics based on
> ETX, LQI, battery voltage, mains, temperature, ... sky is the limit.
ok, we currently doesn't offer any of these information.
> >
> > If you have a wireless card, simple type:
> >
> > "iw dev $WLAN_DEV scan dump" (maybe you need to run a scan first). You will
> > see all access points and their signal strength etc.
> >
> > We should have something similar for all neighbor nodes and LQI values,
> > tx failures and similar information.
> >
> >> What's your opinion?
> >>
> >
> > I think we should get a working mac layer with a working 6LoWPAN layer
> > at first, then we can do effort to implement RPL or RFC6775.
> RPL works on IPv6 layer, it doesn't depend on 6lowpan. I already
> started to implement several RFCs but not MHROF. Right now, I can
> connect linux and contiki sensors using rpl_of_of0, but this is the
> basic. To get mhrof working with default configurations as defined on
> RFCs, ETX should be available. My problem is that RPL works on IPv6
> layer, but ETX it's only available on link layer. Some abstraction
> should be available to allow implementation of RPL metrics and RPL
> Objective functions to make use of any metrics on existing link
> protocols.
>
Okay, then this is a general question to your implementation. Maybe you
ask this on netdev and not related to 802.15.4/802.15.4 6LoWPAN. It's
more a IPv6 question.
We don't support to offer these information in any case. Maybe you want
to try to implement/test your RPL implementation for 802.11, there you
have more change to access information like this. Maybe in future we
offer these information in mac802154.
- Alex
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-08-19 16:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-19 13:33 mac802154: TX results and ACK processing João Pedro Taveira
2014-08-19 15:23 ` Alexander Aring
2014-08-19 16:27 ` João Pedro Taveira
2014-08-19 16:56 ` Alexander Aring
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.