Re: [OpenWrt-Devel] uci set with a dash in the sequence

2014-04-30 Thread Matti Laakso
> Hello guys, > > I am experiencing this annoying problem and it seems that I can't find so > much over Google about it: > > uci setdefault /etc/config//wireless.wlan-va3.type=realtek > uci: Invalid argument > uci: Invalid argument > uci: Invalid argument > > This happens ONLY if in the path I hav

[OpenWrt-Devel] [PATCH 0/2] Add support for QMI-based mobile broadband modems

2014-05-18 Thread Matti Laakso
Many of the 4G/LTE and 3G modems utilize the QMI-protocol to control the modem. At the moment there is no support for them in OpenWrt. These patches add support for them in the form of a netifd script and a control utility. Tested with Huawei E398 and ZTE MF820D (which requires a delay of ~30 s bef

[OpenWrt-Devel] [PATCH 1/2] netifd: Allow including dhcp.sh

2014-05-18 Thread Matti Laakso
Allow including dhcp.sh from other scripts. This is necessary for protocols which use DHCP in addition to some other control protocol, e.g., QMI or NCM. Signed-off-by: Matti Laakso --- diff --git a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh b/package/network/config/netifd

[OpenWrt-Devel] [PATCH 2/2] Package uqmi

2014-05-18 Thread Matti Laakso
Package uqmi for OpenWrt. Signed-off-by: Matti Laakso --- diff --git a/package/network/utils/uqmi/Makefile b/package/network/utils/uqmi/Makefile new file mode 100644 index 000..c66de85 --- /dev/null +++ b/package/network/utils/uqmi/Makefile @@ -0,0 +1,48 @@ +include $(TOPDIR)/rules.mk

[OpenWrt-Devel] [PATCH v2] mac80211: query driver for max A-MPDU length exponent

2014-05-18 Thread Matti Laakso
This patch enables netifd to query 802.11ac-driver for the maximum supported A-MPDU length exponent, possibly increasing VHT throughput by more aggressive frame aggregation. v2: refreshed patch Signed-off-by: Matti Laakso --- diff --git a/package/kernel/mac80211/files/lib/netifd/wireless

[OpenWrt-Devel] [PATCH v2] Add support for QMI-based mobile broadband modems

2014-05-26 Thread Matti Laakso
: - Uses subprotocols instead of including entire dhcp.sh, therefore removed netifd patch - Makes while loops less nasty by looping on expected conditions only, avoids infinite loops in unexpected conditions Signed-off-by: Matti Laakso --- diff --git a/package/network/utils/uqmi/Makefile b/package

[OpenWrt-Devel] [PATCH] uqmi: small bugfixes and add --stop-network

2014-05-27 Thread Matti Laakso
This is a set of small patches to uqmi. It contains fixes for command line help, autoconnect, and printing of service versions, and implements a command to stop the network connection. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https:/

[OpenWrt-Devel] [PATCH 1/4] Minor fixes to command line help

2014-05-27 Thread Matti Laakso
Signed-off-by: Matti Laakso --- commands-wds.h | 2 +- main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands-wds.h b/commands-wds.h index bd4b221..ea64e82 100644 --- a/commands-wds.h +++ b/commands-wds.h @@ -13,6 +13,6 @@ "--auth

[OpenWrt-Devel] [PATCH 2/4] Fix autoconnect

2014-05-27 Thread Matti Laakso
Signed-off-by: Matti Laakso --- commands-wds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands-wds.c b/commands-wds.c index 58053c2..91cf15c 100644 --- a/commands-wds.c +++ b/commands-wds.c @@ -52,7 +52,7 @@ cmd_wds_set_password_prepare(struct qmi_dev *qmi, struct

[OpenWrt-Devel] [PATCH 3/4] Add --stop-network

2014-05-27 Thread Matti Laakso
Signed-off-by: Matti Laakso --- commands-wds.c | 15 +++ commands-wds.h | 3 +++ 2 files changed, 18 insertions(+) diff --git a/commands-wds.c b/commands-wds.c index 91cf15c..ce7d715 100644 --- a/commands-wds.c +++ b/commands-wds.c @@ -1,9 +1,12 @@ +#include + #include &quo

[OpenWrt-Devel] [PATCH 4/4] Fix printing of service versions

2014-05-27 Thread Matti Laakso
Signed-off-by: Matti Laakso --- commands.c | 4 1 file changed, 4 insertions(+) diff --git a/commands.c b/commands.c index 4680511..8c06503 100644 --- a/commands.c +++ b/commands.c @@ -20,16 +20,20 @@ static void no_cb(struct qmi_dev *qmi, struct qmi_request *req, struct qmi_msg * static

[OpenWrt-Devel] [PATCH v3] Add support for QMI-based mobile broadband modems

2014-05-28 Thread Matti Laakso
: - Uses subprotocols instead of including entire dhcp.sh, therefore removed netifd patch - Makes while loops less nasty by looping on expected conditions only, avoids infinite loops in unexpected conditions v3: - Update uqmi and remove upstreamed patches Signed-off-by: Matti Laakso --- diff --git a

<    1   2