Hi Alexander,

 I mean "req_802154_ack" about auto ack via hardware. I'm using the
MRF24J40MC that support it.
 I have just realized that my code 6LowPan.c is not updated.

if(req_802154_ack)
       mac_cb(skb)->flags |= MAC_CB_FLAG_ACKREQ;

and req_802154_ack = false by default.


Best regards,
João Pauo


2013/8/26 Alexander Aring <alex.ar...@gmail.com>:
> Hi João,
>
> On Mon, Aug 26, 2013 at 06:49:38PM -0300, João Paulo Bodanese wrote:
>> Hello Guys,
>>
>> Is there any special reason the flag req_802154_ack is not set by
>> default in the 6LowPan?
>>
> What I understand is, that the ack request in the IEEE 802.15.4 layer is
> default set. Look [1].
>
> This works only for device which makes a auto ack via hardware. If your
> hardware doens't make a auto ack, then you falling in this branch [2].
>
> You will get a "ieee802154: bad frame received (type = ..." message. To
> handle a ACK massage it currently not supported(I suppose). With my
> at86rf230 device I will get this message.
>
> We need to handle it there and add a "case IEEE802154_FC_TYPE_ACK:" and
> handle the ack. Currently we handle DATA types only.
>
> That's my point of view of currently ack mechanismn.
>
>
> What do you mean exaclty with "req_802154_ack"?
>
> - Alex
>
> [1] 
> https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/net/ieee802154/6lowpan.c#n697
> [2] 
> https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/net/mac802154/wpan.c?#n444

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to