Commit Graph

11294 Commits (1ec9a71c225b9b3fd1f8c68281b6bc0c99d59ce4)

Author SHA1 Message Date
John Crispin 1ec9a71c22 mac80211: query driver for max A-MPDU length exponent
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 <malaakso at elisanet.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:54 +00:00
John Crispin 0554a85812 package: netifd: remove blank line at the end of file
Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:51 +00:00
John Crispin 38af4652ac qos-script: Add comments to existing rules
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:47 +00:00
John Crispin 6218040363 qos-script: Improve usability by adding comment field to rules
It's quite unconveniet to remember which ports are used by which applications, especially for not so advanced users.
Together with luci patch (discussed on IRC) this improves qos-scripts usability.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:44 +00:00
John Crispin c759214048 hostapd: Add optional support for hostapd own_ip_addr in wireless config
`own_ip_addr` is used by hostapd as NAS-IP-Address.
This is used to identify the AP that is requesting the authentication of the
user and could be used to define which AP's can authenticate users.
Some vendors implement only NAS-Identifier or NAS-IP-Address and not both.
This patch adds ownip as an optional parameter in /etc/config/wireless.

Signed-off-by: Thomas Wouters <thomaswouters@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:40 +00:00
John Crispin b9907f1565 ppp: allow to set PPP interface name via config
allows to set PPP interface name manually via new
network interface option pppname.
If not set, default naming will be used (e.g. pppoe-eth0)

Signed-off-by: Ulrich Weber <uw@ocedo.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:36 +00:00
John Crispin e12da3b221 kernel: Enable kmod-hid-generic driver when selecting usb-hid
kmod-hid-generic needs to be selected when enabling usb-hid in order to get generic devices working.

This fixes keyboards support in linux 3.3+ kernels.
https://dev.openwrt.org/ticket/12631
https://dev.openwrt.org/ticket/12686

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:33 +00:00
John Crispin c2170dd5e7 openvpn: enable ipv6 parameters
http://patchwork.openwrt.org/patch/4945/

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:30 +00:00
John Crispin 998e5ae688 util-linux: Disable sulogin in util-linux package
The sulogin tool doesn't compile because it cannot find shadow.h. As the
tool is not available in openwrt it is now not selected during the build
process.

Signed-off-by: Tjalling Hattink <t.hattink@fugro.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:27 +00:00
John Crispin c78da29d8e uboot-envtools: add support for environment in ubi volume
On UBI enabled devices, U-Boot might store it's environment on
UBI volume(s). Support this in uboot-envtools, so fw_setenv and
fw_printenv can work on these platforms.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:19 +00:00
John Crispin 8cbc083fde fstools: stage libubi-utils static library and headers
Use InstallDev to make libubi-utils available for linking in
uboot-envtools.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:16 +00:00
John Crispin 509bbab11e package/Makefile: Substituted deprecated -perm +mode with -perm /mode
The find(1) -perm +mode is no longer supported and has been deprecated since
2005.

This could resolve #13855 ticket.

Signed-off-by: Rocco Folino <lordzen87@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:13 +00:00
John Crispin 0d2739a6cb lantiq: Add ARV7510PW22 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:43:31 +00:00
John Crispin 7136e4c998 kernel: Add kernel modules for USB gadget serial devices.
This patch adds support for building the kernel modules for gadget serial devices.

Signed-off-by: Owen Kirby <osk@exegin.com>
Acked-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:43:28 +00:00
John Crispin c6c4c6f4b5 iptables: Makefile: only build ip6tc, if IPv6 is enabled
when disabling ipv6, the iptables build breaks without a manul clean or this patch

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:43:25 +00:00
John Crispin 3b660e4079 dropbear: make missing variables local
Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:43:16 +00:00
John Crispin 837c7dfb36 base-files: remove function service_kill
Function service_kill is deprecated and has no user, so remove it.

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:43:10 +00:00
John Crispin e5aa6b969d base-files: add simple shutdown script
Since svn rev [38557] we support power buttons, for example
the ACPI power button on x86 machines.
Add a simple shutdown script to /etc/rc.button, to gracefully shutdown
the machine after the power button is pressed.

Tested on x86 and x86_64 in a kvm virtual machine.

Signed-off-by: Stefan Hellermann <stefan@the2masters.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:43:00 +00:00
John Crispin cc728d09db base-files: calling stop_service before procd_kill.
Before this patch, doing `/e/c/network restart' will emit the folloing
error by `ubus network.wireless down "{}"' because netifd already quit
by that time.

	Command failed: not found

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:42:44 +00:00
John Crispin 28d6ba06c2 kernel: usb.mk: enable chipidea udc mode
The chipidea USB OTG controller is dual-role and supports both host and device
modes. Enable device mode.

Tested on Gateworks Ventana imx6 board with g_ether.

Are there any other targets out there that use the CHIPIDEA controller? If so
testing is needed for those.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:42:41 +00:00
John Crispin 02219ea173 base-files: removes logging
Since logd haven't started at this point, logging does not work.

Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:42:37 +00:00
Felix Fietkau 01fbba98bd fstools: update to latest version, fixes build on x86_64
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 09:38:09 +00:00
Steven Barth f1f2e5a8ba odhcpd: add configuration for userclass-filter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 07:08:16 +00:00
Zoltan HERPAI 8b0c3dc877 uboot-sunxi: add bananapi support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-01 18:47:14 +00:00
Steven Barth a861ceee0f ca-certificates: bump to 20140325
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-01 10:32:37 +00:00
Steven Barth e9d87c8c4a 6relayd: superseded by odhcpd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-01 10:28:50 +00:00
Steven Barth 37283acb84 polarssl: bump to 1.3.7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-01 09:49:24 +00:00
Felix Fietkau 0fab8e45b6 netifd: replace the sleep 5 with an ubus wait_for call to speed up init script
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40891 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-31 23:49:23 +00:00
Felix Fietkau 6dcc4bbda0 fstools: update to the latest version, fixes build for 64 bit targets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-31 12:46:59 +00:00
Steven Barth 83f2580b0a odhcp6c: fix last commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-30 14:50:42 +00:00
Steven Barth 8609335c06 odhcp6c: improve passthrough filter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-30 14:48:39 +00:00
Felix Fietkau a8c6710940 iwinfo: null-terminate the ssid on nl80211 scan to avoid printing trailing garbage
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-30 11:37:35 +00:00
Steven Barth 6d92875c3b busybox: remove redundant 6rd-patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-29 21:50:32 +00:00
Steven Barth 2a072876d2 odhcpd: Fix a segfault in DHCPv6 option handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-29 21:01:42 +00:00
Steven Barth 139153ff6c busybox: udhcpc source IP rebind patch
Patch sets the source IP address of DHCP request messages during rebind to the IP address
assigned to the udhcpc client. Source address 0.0.0.0 can only be used by a client prior
to obtaining its IP address (see RFC2131 § 4.1). Source IP address behavior lines up now with
the ISC dhcp client implementation for DHCP request messages during rebind and DHCP release
messages.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-29 10:35:34 +00:00
Jo-Philipp Wich b37fc42ba7 6in4: adjust update url (#16617)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-29 09:22:52 +00:00
Luka Perkov 1d6e93165d [package] uboot-envtools: add support for kirkwood ea4500
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-28 21:43:42 +00:00
Felix Fietkau 12fff1c6a2 ubox: update to latest version, fixes kmodloader issues with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-28 21:28:14 +00:00
Felix Fietkau ae88b29aa6 uqmi: Add support for QMI-based mobile broadband modems
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. This
patch adds 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 before responding to QMI commands). I put myself up as
the maintainer, feel free to change this if you desire.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-28 19:45:20 +00:00
Felix Fietkau ece9382c46 uclient: update to the latest version, fixes an issue with http authentication handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-28 09:44:57 +00:00
Steven Barth 1ee0b0a2ab odhcpd: add support for configuring raw dhcpv6 options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-26 17:08:57 +00:00
Felix Fietkau dd1782048a libubox: update to latest version, fixes a segfault on json_script cleanup
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-26 13:53:48 +00:00
Felix Fietkau 8f2efd6989 ath9k: fix deprecated syntax in config symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-26 08:00:29 +00:00
Felix Fietkau 39270a81ac ath9k: make support for PC-OEM cards optional, reduces module size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-25 22:39:58 +00:00
Felix Fietkau 420752ac20 ubox: update to the latest version, reduces binary library dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-25 22:39:51 +00:00
Felix Fietkau 69307004b0 procd: update, fixes a bunch of memleaks
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-25 19:38:58 +00:00
Felix Fietkau c1c3114aa4 procd: update to the latest version, fixes some musl compatibility issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-25 17:51:52 +00:00
Felix Fietkau 5f19577863 busybox: add back missing crond config change
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-25 17:45:22 +00:00
Felix Fietkau 361e70a485 busybox: update to 1.22.1
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-25 17:42:09 +00:00
Felix Fietkau eca9f275a1 busybox: remove obsolete httpd patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-25 17:42:02 +00:00