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
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to