[OpenWrt-Devel] [RFC][netifd]: Support for 802154 devices

Anatoliy Atanasov anatoliy.atanasov at gmail.com
Wed Jan 11 19:02:05 EST 2017


Hey Folks,

I saw that netifd isn't able to fully manage 802154 devices. At the moment
it lacks the understanding of wpan settings and definition. If it would be
in a separate file it would look like:
/etc/config/wpan

config wpan-device radio0
            option type 'mac80215'
            option channel '11'
            option disabled '0' / '1'

config wpan-iface
            option device 'radio0'
            option pan_id '0xbeef'

I figured two ways to implement this.
The approach #1 is to follow the logic in wireless.h/c which wraps calls to
the kernel driver in mac80211.sh & netifd-wireless.sh.
The approach #2 is to replicate the wpan-tools code which would add a
dependency to libnl.

I'm wondering which approach to follow in doing this task?

Regards, Anatoliy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20170112/bb9633a6/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list