Re: [PATCH 1/2] mac802154: add a software MAC 802.15.4 implementation

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dmitry Eremin-Solenikov
Date: Wednesday, August 12, 2009 - 6:06 am

On Tue, Aug 11, 2009 at 10:39:58PM +0200, Johannes Berg wrote:

Currently we do all the work from special worker threads, so it's
possible for this callback to sleep. The error isn't yet propagated to
upper layers (there is a huge TODO there), anyway.


We were using master netdevices for several purposes:
1) ip link add link mwpanX type wpan, so that we have out-of-box support
   for radio additions. That's really nice thing to have.

2) for SOCK_RAW implementation that can be used to send raw packets
   over-the-air/receive raw packets. I think we can use af_packet for
   this, but I'm still not sure about packet injection.

3) On the RX, we did send a clone of skb to the mdev and clones to slave
   interfaces, thus overcoming your last argument.


Hmm. It works for us. Could you please tell me more about the problems
with skb->cb ?


We did use it as a netdev, however we can probably live without it.
I'll rethink this interface.

-- 
With best wishes
Dmitry

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC 0/2] Software implementation of IEEE 802.15.4, Dmitry Eremin-Solenikov, (Mon Aug 10, 7:16 am)
[PATCH 1/2] mac802154: add a software MAC 802.15.4 impleme ..., Dmitry Eremin-Solenikov, (Mon Aug 10, 7:16 am)
[PATCH 2/2] ieee802154: add virtual loopback driver, Dmitry Eremin-Solenikov, (Mon Aug 10, 7:16 am)
Re: [PATCH 2/2] ieee802154: add virtual loopback driver, Johannes Berg, (Mon Aug 10, 7:29 am)
Re: [PATCH 1/2] mac802154: add a software MAC 802.15.4 imp ..., Paul E. McKenney, (Mon Aug 10, 10:28 am)
Re: [PATCH 2/2] ieee802154: add virtual loopback driver, Oliver Hartkopp, (Mon Aug 10, 10:28 am)
Re: [PATCH 1/2] mac802154: add a software MAC 802.15.4 imp ..., Dmitry Eremin-Solenikov, (Tue Aug 11, 1:23 pm)
Re: [PATCH 1/2] mac802154: add a software MAC 802.15.4 imp ..., Dmitry Eremin-Solenikov, (Tue Aug 11, 1:29 pm)
Re: [PATCH 1/2] mac802154: add a software MAC 802.15.4 imp ..., Dmitry Eremin-Solenikov, (Wed Aug 12, 6:06 am)
Re: [PATCH 1/2] mac802154: add a software MAC 802.15.4 imp ..., Dmitry Eremin-Solenikov, (Wed Aug 12, 1:46 pm)