Hi Anatoliy,

Actually I am working on it. Now I am writing a program which is similar with iwinfo. Later I will make some scripts like mac80211.sh and binding with netifd.

ci40 has already some work on it. You could have a look.

Xue Liu

On 12.01.2017 01:02, Anatoliy Atanasov wrote:
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

--
M.Sci.

Embedded Software Entwicklung

DKS Dienstleistungsgesellschaft
für Kommunikationsanlagen des
Stadt- und Regionalverkehrs mbH

Robert-Perthel-Str. 79
D-50739 Köln

Fon: +49 221 954442-43
Fax: +49 221 954442-23
E-Mail: xue....@dks-koeln.de
Web: www.dks-koeln.de

Geschäftsführung: Christian Döring, Ralf Kochs

Aufsichtsratsvorsitzender: Jörn Schwarze

Sitz der Gesellschaft: Köln

Registergericht: Köln, HRB 4521

UST-IDNr: DE154089761

Wichtiger Hinweis: Diese E-Mail und etwaige Anlagen können Betriebs- oder 
Geschäftsgeheimnisse, dem Anwaltsgeheimnis unterliegende oder sonstige 
vertrauliche Informationen enthalten. Sollten Sie diese E-Mail irrtümlich 
erhalten haben, ist Ihnen der Status dieser E-Mail bekannt. Bitte 
benachrichtigen Sie uns in diesem Fall sofort durch Antwort-Mail und löschen 
Sie diese E-Mail nebst etwaigen Anlagen von Ihrem System. Ebenso dürfen Sie 
diese E-Mail oder ihre Anlagen nicht kopieren oder an Dritte weitergeben. 
Vielen Dank!

Important note: This e-mail and any attachment are confidential and may contain 
trade secrets and may well also be legally privileged or otherwise protected 
from disclosure. If you have received it in error, you are on notice of its 
status. Please notify us immediately by reply e-mail and then delete this 
e-mail and any attachment from your system. If you are not the intended 
recipient please understand that you must not copy this e-mail or any 
attachment or disclose the contents to any other person. Thank you for your 
cooperation.

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to