[OpenWrt-Devel] iwinfo lua scanlist issue

Peter Uithoven peter at peteruithoven.nl
Mon Jun 29 07:19:40 EDT 2015


Should we maybe switch to using iwinfo though ubus in our Lua code? Can we
use that to scan for networks?
Could that be a more robust solution?
http://wiki.openwrt.org/doc/techref/ubus#lua_module_for_ubus
https://forum.openwrt.org/viewtopic.php?id=57554

If I understand the following two pages correctly the new luci (LuCI2) will
also use ubus, over http.
http://wiki.openwrt.org/doc/techref/luci2
http://wiki.openwrt.org/doc/techref/ubus#access_to_ubus_over_http

On Mon, Jun 29, 2015 at 11:59 AM, Jo-Philipp Wich <jow at openwrt.org> wrote:

> Hi Peter,
>
> I suspect the culprit is nl80211_wait() which calls nl_recvmsgs()
> internally.
>
> To overcome this problem we need to restructure the nl80211 code to use
> nonblocking sockets and then extend the nl80211_wait() implementation to
> have a timeout.
>
> ~ Jow
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150629/ca8985af/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