Hello. On Mon, 2013-03-25 at 15:18, Alan Ott wrote: > On 03/25/2013 02:51 PM, Stefan Schmidt wrote: > > On Sun, 2013-03-24 at 20:25, Alan Ott wrote: > >> On 03/24/2013 09:40 AM, Stefan Schmidt wrote: > >>> As promised here is the reworked patch to add the hardware address filter > >>> callback for at86rf230. I added two more patches that might be good to go > >>> in as > >>> well. > >>> > >>> I did not add DaveM yet as I wanted to get some review on these first. > >>> Just > >>> let me know what you folks think about them and I will resend with DaveM > >>> in CC > >>> to pick them up. Patches are already against his net-next tree. > >> And of course send also to the netdev mailing list when ready. > > Sure :) > > > >>> [PATCH 1/3] ieee802154/dgram: Pass source address in dgram_recvmsg > >>> > >>> Patch from Stephen to fix the ieee802154 stack to actually put in the > >>> source > >>> address in datagrams. This allows using recvfrom() from userspace. This > >>> is a > >>> long standing bug. Actually I think it never worked. :) Might be a good > >>> candidate for -rc as well. Put I leave that up to you. Can also wait for > >>> the > >>> next merge window. > > No comment on this one means you are happy with it? > > I suppose so. I don't think it's -rc material, as it doesn't fix a > regression. > > > > >>> [PATCH 2/3] ieee802154/at86rf230: Implement hardware address filter > >>> Reworked this patch to not include any AACK code. Also removed the > >>> at86rf230 > >>> start and stop calls. > >> You did? > > Yes. Any reason you think I did not? You even commented on the patch > > and it does not have the calls to start and stop anymore. :) > > Which patch do you think removes the start and stop calls? It's not 1/3, > 2/3 or 3/3. In fact, in 2/3, the start/stop calls are in the context > text itself.
Heh, classical misunderstanding then. I meant that I removed the start and stop calls _from the filter callback. No need to start and stop the device just for the register write access. The start and stop functions itself are still there and I think valid and needed. :) > >>> I was reading through the datasheet again and can't find > >>> anything that would need them. Maybe I brought that over from another > >>> driver. > >> In mrf24j40.c, I start and stop the IRQ generation from the start/stop > >> functions. I got this from the cc2420 driver (old linux-zigbee tree, not > >> in mainline). > >> > >> I'm not sure what's "right," but I think it makes sense. > > How is that related to the write to the address registers? Anything I > > miss here? > > I feel like we're talking about different things here maybe. We did indeed. :) regards Stefan Schmidt ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Linux-zigbee-devel mailing list Linux-zigbee-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel