Hi Matt,

could you please describe your kernel in details:

- Where did you get it?
- What is about mac layer in your kernel?
- How did port driver, what the hacks were used?

With best regards,
Alexander

2011/12/21 Matt Wood <mattwood2...@gmail.com>:
>
>
> ---------- Forwarded message ----------
> Hi folks, I'm new to the this project and excited at the possibilities of
> Linux/Zigbee.  I've been playing with a radio driver for a while, and more
> so now that there is a SoftMAC available to support radios like the
> AT86RF23x series.
>
> I've ported the SoftMAC to linux-2.6.39 running on an ARM and am
> experimenting with an AT86RF231 radio driver.  The radio is working but when
> I follow the instructions in Getting Started and get to "ifconfig wpan0 up"
> I get the following:
>
> # ifconfig wpan0 up
> ------------[ cut here ]------------
> WARNING: at net/mac802154/main.c:38 mac802154_slave_open+0x78/0xc8()
> Modules linked in: at86rf23x [last unloaded: at86rf23x]
> [<c00369f0>] (unwind_backtrace+0x0/0xec) from [<c00423bc>]
> (warn_slowpath_common+0x4c/0x64)
> [<c00423bc>] (warn_slowpath_common+0x4c/0x64) from [<c00423f0>]
> (warn_slowpath_null+0x1c/0x24)
> [<c00423f0>] (warn_slowpath_null+0x1c/0x24) from [<c0342fc8>]
> (mac802154_slave_open+0x78/0xc8)
> [<c0342fc8>] (mac802154_slave_open+0x78/0xc8) from [<c027f500>]
> (__dev_open+0xa8/0x104)
> [<c027f500>] (__dev_open+0xa8/0x104) from [<c027cd24>]
> (__dev_change_flags+0xac/0x13c)
> [<c027cd24>] (__dev_change_flags+0xac/0x13c) from [<c027f424>]
> (dev_change_flags+0x10/0x44)
> [<c027f424>] (dev_change_flags+0x10/0x44) from [<c02ce7a4>]
> (devinet_ioctl+0x2dc/0x708)
> [<c02ce7a4>] (devinet_ioctl+0x2dc/0x708) from [<c026e0a0>]
> (sock_ioctl+0x1f8/0x258)
> [<c026e0a0>] (sock_ioctl+0x1f8/0x258) from [<c00a5414>]
> (do_vfs_ioctl+0x4d0/0x554)
> [<c00a5414>] (do_vfs_ioctl+0x4d0/0x554) from [<c00a54d0>]
> (sys_ioctl+0x38/0x5c)
> [<c00a54d0>] (sys_ioctl+0x38/0x5c) from [<c0031980>]
> (ret_fast_syscall+0x0/0x2c)
> ---[ end trace 7546549bd69be3f4 ]---
>
> Is strange because even though "ifconfig" doesn't show wpan0 as being up but
> when I send a packet, my driver receives it and looks as if its processing
> the data (debug output below).
>
> mac802154_subif_rx()
> parse_frame_start: 0803 dsn35
> parse_frame_start(): src addr_type is NONE
> parse_frame_start(): dst PAN address ffff
> parse_frame_start(): dst SHORT address ffff
> mac802154_wpans_rx() frame 3
> mac802154_subif_frame Getting packet via slave interface wpan0
> Command 07 on device wpan0
>
> Anyone have any suggestions on where to go from here?  I'm just getting my
> hands dirty in the SoftMAC portion unfortunately - I was hoping it would
> just work! :)
>
> Thanks, Matt.
>
>
> ------------------------------------------------------------------------------
> Write once. Port to many.
> Get the SDK and tools to simplify cross-platform app development. Create
> new or port existing apps to sell to consumers worldwide. Explore the
> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
> http://p.sf.net/sfu/intel-appdev
> _______________________________________________
> Linux-zigbee-devel mailing list
> Linux-zigbee-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel
>

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to