Jo-Philipp Wich [Mon, 28 May 2012 03:24:56 +0000 (03:24 +0000)]
base-files: add network_get_device() to network.sh
SVN-Revision: 31937
Jo-Philipp Wich [Mon, 28 May 2012 03:15:05 +0000 (03:15 +0000)]
firewall: fix nat reflection after netifd status format change - use /lib/functions/network.sh - simplify nat reflection code
SVN-Revision: 31936
Jo-Philipp Wich [Mon, 28 May 2012 03:15:02 +0000 (03:15 +0000)]
base-files: introduce /lib/functions/network.sh This file will contain common procedures to deal with network interfaces. Initially provides network_get_ipaddr(), network_get_ipaddr6(), network_get_subnet() and network_get_subnet6() to determine the primary IP addresses or subnets of a given logical interface.
SVN-Revision: 31935
Felix Fietkau [Mon, 28 May 2012 02:55:59 +0000 (02:55 +0000)]
ar71xx: improve rx performance of the ethernet driver by using build_skb to deliver a cache-hot skb to the network stack
SVN-Revision: 31934
Felix Fietkau [Mon, 28 May 2012 02:55:50 +0000 (02:55 +0000)]
libubox: update to 2012-05-26
SVN-Revision: 31933
Jo-Philipp Wich [Mon, 28 May 2012 00:52:26 +0000 (00:52 +0000)]
iwinfo: assume that no tx power information is available if nl80211 returns 0 dBm maximum
SVN-Revision: 31932
Jo-Philipp Wich [Mon, 28 May 2012 00:52:24 +0000 (00:52 +0000)]
uhttpd: - rewrite large parts of the server, use uloop event driven structure - support concurrent requests and make the upper limit configurable - implement initial version of HTTP-to-ubus JSON proxy and session.* namespace - add compile time support for debug information - code style changes - bump package revision
SVN-Revision: 31931
Felix Fietkau [Sun, 27 May 2012 21:02:41 +0000 (21:02 +0000)]
ar71xx: fix MII clock settings for various chips, improves ethernet stability on AR934x
SVN-Revision: 31925
Felix Fietkau [Sun, 27 May 2012 21:02:36 +0000 (21:02 +0000)]
kernel: fix suppressing -s for linking modules when profiling is enabled
SVN-Revision: 31924
Gabor Juhos [Sun, 27 May 2012 17:21:47 +0000 (17:21 +0000)]
ar71xx: fix TL-WR1041 image size
SVN-Revision: 31923
Gabor Juhos [Sun, 27 May 2012 17:10:00 +0000 (17:10 +0000)]
ramips: rt3883: add device registration code for the SPI controller
SVN-Revision: 31922
Gabor Juhos [Sun, 27 May 2012 17:09:58 +0000 (17:09 +0000)]
ramips: allow to use the SPI driver on RT3662/RT3883
SVN-Revision: 31921
Gabor Juhos [Sun, 27 May 2012 17:09:56 +0000 (17:09 +0000)]
ramips: rt3883: fix GPIO reservation for the SPI pins
SVN-Revision: 31920
Gabor Juhos [Sun, 27 May 2012 17:09:52 +0000 (17:09 +0000)]
ramips: rt305x: remove superfluous controller_data assignment
SVN-Revision: 31919
Gabor Juhos [Sun, 27 May 2012 17:09:50 +0000 (17:09 +0000)]
ramips: make rt2x00 firmware extraction quiet
SVN-Revision: 31918
Gabor Juhos [Sun, 27 May 2012 17:09:47 +0000 (17:09 +0000)]
generic: rtl8367: rename a misnamed variable
SVN-Revision: 31917
Gabor Juhos [Sun, 27 May 2012 17:09:45 +0000 (17:09 +0000)]
generic: rtl8366_smi: remove duplicated spinlock initialization
SVN-Revision: 31916
Gabor Juhos [Sun, 27 May 2012 17:09:43 +0000 (17:09 +0000)]
generic: rtl8366_smi: rename debugfs Kconfig symbol
SVN-Revision: 31915
Gabor Juhos [Sun, 27 May 2012 17:09:41 +0000 (17:09 +0000)]
generic: rtl8367: allow to use VLANs > 31
SVN-Revision: 31914
John Crispin [Sun, 27 May 2012 16:13:02 +0000 (16:13 +0000)]
move files-3.3 -> files
SVN-Revision: 31912
John Crispin [Sun, 27 May 2012 16:12:59 +0000 (16:12 +0000)]
3.2 R.I.P.
SVN-Revision: 31911
John Crispin [Sun, 27 May 2012 16:02:22 +0000 (16:02 +0000)]
dgn3500 support with eeprom loading from sysfs
WIFI eeprom:
As discussed, it is impossible for nand and spi flash platforms to have the eeprom data available from mtd. I suggested to load the eeprom from user-space. I've looked into regular firmware loading but this is only possible when using modules. I've created a sysfs entry that allows reading and writing the eeprom data to the platform data. After loading the eeprom data I rely on pci-hotplug support to disable the bogus pci device and rescan the bus (with fixups and all). Because hotplug is not available, an init script is created that performs the copy from mtd to platform data. I think it is best to eventually move the sysfs functions to dev_wifi_athxk.c file, this would get rid of the external to the ath9k platform data.
SPI flash:
It seems that the spi-xway driver is not really working. It causes my kernel to crash in all sorts of ways. I added to bitbang SPI to be able to the calibration data mention above.
I've kept the original mtd partitioning that Netgear uses.
Buttons/LED:
Both buttons are working properly. Two leds are not enabled: The red internet led is connected to the pci_gnt1 pin... I can't disable it because then DMA stops working.
The green wifi led is connected to an unknown atheros gpio.
Signed-off-by: Pieter Voorthuijsen <p.voorthuijsen at gmail.com>
SVN-Revision: 31910
John Crispin [Sun, 27 May 2012 16:02:20 +0000 (16:02 +0000)]
fixes zyxel p2601hnfx
moves the linux partition, removes the config partition and the
buttons settings have small adjustments.
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
SVN-Revision: 31909
John Crispin [Sun, 27 May 2012 16:02:16 +0000 (16:02 +0000)]
Add basic configuration for new board ZTE H201L. Still missing are button and led gpio values.
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
SVN-Revision: 31908
Felix Fietkau [Sun, 27 May 2012 15:22:13 +0000 (15:22 +0000)]
kernel: remove more unnecessary kernel version checks/dependencies
SVN-Revision: 31907
Felix Fietkau [Sun, 27 May 2012 15:16:37 +0000 (15:16 +0000)]
kernel: properly pad the allocated headroom in skb_cow to NET_SKB_PAD
SVN-Revision: 31906
Gabor Juhos [Sun, 27 May 2012 15:01:37 +0000 (15:01 +0000)]
linux/3.2: R.I.P.
SVN-Revision: 31905
Gabor Juhos [Sun, 27 May 2012 15:01:35 +0000 (15:01 +0000)]
xburst: remove support for old kernels
SVN-Revision: 31904
Gabor Juhos [Sun, 27 May 2012 15:01:33 +0000 (15:01 +0000)]
xburst: switch to 3.3 and add broken flag
SVN-Revision: 31903
Gabor Juhos [Sun, 27 May 2012 15:01:32 +0000 (15:01 +0000)]
xburst: add support for 3.3
SVN-Revision: 31902
Gabor Juhos [Sun, 27 May 2012 15:01:30 +0000 (15:01 +0000)]
ppc44x: remove 3.2 support
SVN-Revision: 31901
Gabor Juhos [Sun, 27 May 2012 15:01:28 +0000 (15:01 +0000)]
ppx44x: switch to 3.3 and add broken flag
SVN-Revision: 31900
Gabor Juhos [Sun, 27 May 2012 15:01:27 +0000 (15:01 +0000)]
ppc44x: add support for 3.3
Compile tested only.
SVN-Revision: 31899
Gabor Juhos [Sun, 27 May 2012 15:01:26 +0000 (15:01 +0000)]
cobalt: switch to 3.3 and add broken flag
Compile tested only.
SVN-Revision: 31898
Gabor Juhos [Sun, 27 May 2012 15:01:24 +0000 (15:01 +0000)]
ep93xx: remove 3.2 support
SVN-Revision: 31897
Gabor Juhos [Sun, 27 May 2012 15:01:23 +0000 (15:01 +0000)]
ep93xx: switch to 3.3 and add broken flag
SVN-Revision: 31896
Gabor Juhos [Sun, 27 May 2012 15:01:21 +0000 (15:01 +0000)]
ep93xx: add support for 3.3
Compile tested only.
SVN-Revision: 31895
Gabor Juhos [Sun, 27 May 2012 15:01:18 +0000 (15:01 +0000)]
au1000: remove 3.2 support
SVN-Revision: 31894
Gabor Juhos [Sun, 27 May 2012 15:01:17 +0000 (15:01 +0000)]
au1000: switch to 3.3 and add broken flag
SVN-Revision: 31893
Gabor Juhos [Sun, 27 May 2012 15:01:15 +0000 (15:01 +0000)]
au1000: add support for 3.3
Compile tested only.
SVN-Revision: 31892
Gabor Juhos [Sun, 27 May 2012 15:01:09 +0000 (15:01 +0000)]
linux/3.1: R.I.P.
SVN-Revision: 31891
Gabor Juhos [Sun, 27 May 2012 15:01:07 +0000 (15:01 +0000)]
omap24xx: remove 3.1 support
SVN-Revision: 31890
Gabor Juhos [Sun, 27 May 2012 15:01:05 +0000 (15:01 +0000)]
omap24xx: switch to 3.3 and add broken flag
SVN-Revision: 31889
Gabor Juhos [Sun, 27 May 2012 15:01:03 +0000 (15:01 +0000)]
cns3xxx: remove 3.1 support
SVN-Revision: 31888
Gabor Juhos [Sun, 27 May 2012 15:01:02 +0000 (15:01 +0000)]
cns3xxx: switch to 3.3 and add broken flag
SVN-Revision: 31887
Felix Fietkau [Sun, 27 May 2012 14:43:58 +0000 (14:43 +0000)]
kernel: add a few patches for avoiding unnecessary skb reallocations - significantly improves ethernet<->wireless performance with mac80211 based drivers
SVN-Revision: 31886
Jonas Gorski [Sun, 27 May 2012 13:22:51 +0000 (13:22 +0000)]
bcm63xx: build images for DSL-274XB revision F1
Build images for D-Link DSL-274XB revision F1. Flashing
through original web UI as well as CFE works.
Known issues:
* wifi led inverted (on when wifi is off and vice cersa)
* same issues as generic bcm6328 support
SVN-Revision: 31885
Jonas Gorski [Sun, 27 May 2012 13:22:48 +0000 (13:22 +0000)]
bcm63xx: add ath9k to atheros wifi profile
SVN-Revision: 31884
Jonas Gorski [Sun, 27 May 2012 13:22:46 +0000 (13:22 +0000)]
bcm63xx: enable bcm6328 support and required drivers
BCM6328 support is in a usable state, with the following issues
* internal switch port not configurable
* external phys not supported
* broadcom wifis will probably not work correctly
* and all other generic bcm63xx issues (so yes, still no ADSL)
SVN-Revision: 31883
Jonas Gorski [Sun, 27 May 2012 13:22:43 +0000 (13:22 +0000)]
bcm63xx: add support for DSL-274XB rev F1
SVN-Revision: 31882
Jonas Gorski [Sun, 27 May 2012 13:22:40 +0000 (13:22 +0000)]
bcm63xx: fix port state after network down
bcm_enetsw_probe did not properly reset port states, resulting in
connected ports staying disabled after bringing up the interface the
second time.
SVN-Revision: 31881
Jonas Gorski [Sun, 27 May 2012 13:22:37 +0000 (13:22 +0000)]
bcm63xx: add a fixup for ath9k devices
SVN-Revision: 31880
Jonas Gorski [Sun, 27 May 2012 13:22:33 +0000 (13:22 +0000)]
bcm63xx: add support for the HSSPI controller
Add support for the HSSPI controller found on bcm6328 and SPI attached
flash.
SVN-Revision: 31879
Jonas Gorski [Sun, 27 May 2012 13:22:29 +0000 (13:22 +0000)]
bcm63xx: add preliminary support for bcm6328
SVN-Revision: 31878
Jonas Gorski [Sun, 27 May 2012 13:22:25 +0000 (13:22 +0000)]
bcm63xx: add flash type detection
SVN-Revision: 31877
Jonas Gorski [Sun, 27 May 2012 13:22:22 +0000 (13:22 +0000)]
bcm63xx: pad Speedport W303 V images to 4 MiB
Prevents CFE from flashing to the second image offset. Fix up the rootfs
length on first boot else CFE will complain.
SVN-Revision: 31876
Jonas Gorski [Sun, 27 May 2012 13:22:19 +0000 (13:22 +0000)]
tools: imagetag: add parameter for padding images
Allow images to be padded to a certain size. This prevents CFE from
flashing them to the second image offset.
SVN-Revision: 31875
Jonas Gorski [Sun, 27 May 2012 13:22:17 +0000 (13:22 +0000)]
bcm63xx: add a default switch configuration for DSL-274XB
SVN-Revision: 31874
Jonas Gorski [Sun, 27 May 2012 13:22:14 +0000 (13:22 +0000)]
bcm63xx: setup network config through uci-defaults
SVN-Revision: 31873
Jonas Gorski [Sun, 27 May 2012 13:22:11 +0000 (13:22 +0000)]
bcm63xx: move the board name workaround to /lib/brcm63xx.sh
SVN-Revision: 31872
Jonas Gorski [Sun, 27 May 2012 13:22:08 +0000 (13:22 +0000)]
bcm63xx: use the exact board id as board identification string
No need to keep the bcm63xx/ at the start or the chipid info at the end.
SVN-Revision: 31871
Felix Fietkau [Sun, 27 May 2012 12:33:55 +0000 (12:33 +0000)]
kernel: remove a few more obsolete CompareKernelPatchVer calls, add dependencies on @TARGET_x86 for a few network drivers that are typically not found in non-PC equipment
SVN-Revision: 31870
Felix Fietkau [Sat, 26 May 2012 20:36:49 +0000 (20:36 +0000)]
netifd: fix "Command failed: Not found" error with dhcp
SVN-Revision: 31863
Felix Fietkau [Sat, 26 May 2012 20:15:28 +0000 (20:15 +0000)]
mac80211: backport a fix for single-queue drivers (fixes #11534)
SVN-Revision: 31862
Felix Fietkau [Sat, 26 May 2012 18:03:56 +0000 (18:03 +0000)]
ncurses: libncursesw should not depend on libncurses
SVN-Revision: 31861
Felix Fietkau [Sat, 26 May 2012 15:31:54 +0000 (15:31 +0000)]
ppp: add back ip-{up,down}.d support for now
SVN-Revision: 31860
Felix Fietkau [Sat, 26 May 2012 14:56:04 +0000 (14:56 +0000)]
mac80211: get rid of duplicate iw reg set command (thx, stintel)
SVN-Revision: 31859
Felix Fietkau [Fri, 25 May 2012 07:59:29 +0000 (07:59 +0000)]
netifd: update to latest version, fixes an endian issue in broadcast address handling
SVN-Revision: 31858
Felix Fietkau [Thu, 24 May 2012 18:45:01 +0000 (18:45 +0000)]
netifd: update to latest version, fixes overriding the mac address for bridge interfaces (#11526)
SVN-Revision: 31857
Felix Fietkau [Thu, 24 May 2012 18:25:08 +0000 (18:25 +0000)]
kernel: fix a warning in the connmark module
SVN-Revision: 31856
Felix Fietkau [Thu, 24 May 2012 16:24:55 +0000 (16:24 +0000)]
netifd: bring up wifi at boot
SVN-Revision: 31855
Jo-Philipp Wich [Thu, 24 May 2012 09:17:27 +0000 (09:17 +0000)]
util-linux: compile with -fPIC, some users of its libuuid.a require it, e.g. cryptsetup (#11508)
SVN-Revision: 31854
Felix Fietkau [Wed, 23 May 2012 21:54:12 +0000 (21:54 +0000)]
base-files: kill ubusd and udhcpc on sysupgrade as well
SVN-Revision: 31852
Felix Fietkau [Wed, 23 May 2012 21:49:31 +0000 (21:49 +0000)]
base-files: allow sysupgrade to kill netifd, fixes pppd shutdown on upgrade
SVN-Revision: 31851
Felix Fietkau [Wed, 23 May 2012 21:49:28 +0000 (21:49 +0000)]
netifd: improve /sbin/ifup wifi hack, make it work properly with -a. fold /etc/init.d/netifd into /etc/init.d/network
SVN-Revision: 31850
Jo-Philipp Wich [Wed, 23 May 2012 21:26:20 +0000 (21:26 +0000)]
netifd: port r27720 (#9763) to the netifd ifup variant
SVN-Revision: 31849
Gabor Juhos [Wed, 23 May 2012 21:05:32 +0000 (21:05 +0000)]
kernel: update linux 3.3 to 3.3.7
SVN-Revision: 31848
Gabor Juhos [Wed, 23 May 2012 21:05:30 +0000 (21:05 +0000)]
ar71xx: fix an insignificant typo
Patch from #11485.
SVN-Revision: 31847
Gabor Juhos [Wed, 23 May 2012 21:05:25 +0000 (21:05 +0000)]
ar71xx: fix WLAN led for RB751U-2HnD and RB751G-2HnD
Patch by Kamil TrzciĆski <ayufan@osk-net.pl>
SVN-Revision: 31846
Gabor Juhos [Wed, 23 May 2012 21:05:24 +0000 (21:05 +0000)]
ar71xx: add support for TP-Link TL-MR3040
Support for TP-Link TL-MR3040. Power LED not working - always on red, after
start should be green.
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 31845
Gabor Juhos [Wed, 23 May 2012 21:05:23 +0000 (21:05 +0000)]
ramips: Add byte queue limits support to net/ethernet/ramips_main.c
Add byte queue limits support to net/ethernet/ramips_main.c
"Byte queue limits are a mechanism to limit the size of the transmit
hardware queue on a NIC by number of bytes. The goal of these byte
limits is too reduce latency (HOL blocking) caused by excessive
queuing in hardware (aka buffer bloat) without sacrificing
throughput."
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 31844
Gabor Juhos [Wed, 23 May 2012 21:05:22 +0000 (21:05 +0000)]
ramips: Enable sysupgrade for Sitecom WL-351
Sysupgrade works just fine on my Sitecom WL-351 after adding this
oneliner.
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 31843
Gabor Juhos [Wed, 23 May 2012 21:05:20 +0000 (21:05 +0000)]
package/base-files: copy /lib/functions.sh to the ramfs on sysupgrade
SVN-Revision: 31842
Gabor Juhos [Wed, 23 May 2012 21:05:19 +0000 (21:05 +0000)]
linux/3.3: avoid recursive calling of mtd_writev in the block2mtd driver
Should fix #11513. Tested with the x86/generic squashfs image within a VM.
SVN-Revision: 31841
Felix Fietkau [Wed, 23 May 2012 20:38:45 +0000 (20:38 +0000)]
netifd: update to latest version, adds interface alias support (#11518), and fixes network route drops on dhcp renew
SVN-Revision: 31840
Felix Fietkau [Sun, 20 May 2012 21:58:03 +0000 (21:58 +0000)]
lantiq: allow platforms with rt2x00 to override the mac address without overriding eeprom, fixes bogus wlan mac address on arv4520
SVN-Revision: 31835
Felix Fietkau [Sun, 20 May 2012 21:57:58 +0000 (21:57 +0000)]
kernel: fix kmod-sched-core build for kernels without codel
SVN-Revision: 31834
Felix Fietkau [Sun, 20 May 2012 14:02:05 +0000 (14:02 +0000)]
pppd: add noipdefault option to /etc/ppp/options (fixes #11499)
SVN-Revision: 31831
Felix Fietkau [Sun, 20 May 2012 13:56:25 +0000 (13:56 +0000)]
netifd: update to latest version, fixes dns server issues (#11501)
SVN-Revision: 31830
Felix Fietkau [Sat, 19 May 2012 23:47:33 +0000 (23:47 +0000)]
netifd: update to latest version, fixes peerdns handling, custom dns override and interface metric settings
SVN-Revision: 31822
Jo-Philipp Wich [Sat, 19 May 2012 23:33:47 +0000 (23:33 +0000)]
kernel: fix packaging of act_connmark.ko (#11492)
SVN-Revision: 31821
Jo-Philipp Wich [Sat, 19 May 2012 21:00:14 +0000 (21:00 +0000)]
openssl: update to v1.0.1c (CVE-2012-2333)
SVN-Revision: 31819
Jo-Philipp Wich [Sat, 19 May 2012 20:17:57 +0000 (20:17 +0000)]
dnsmasq: bump package revision
SVN-Revision: 31817
Jo-Philipp Wich [Sat, 19 May 2012 20:17:56 +0000 (20:17 +0000)]
dnsmasq: allow forcing options
The option 'force' when set to '1' will transform a dhcp-option to dhcp-option-force instead in the config.
This is useful for forcing options to be sent back to a client (even options it didn't ask for).
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 31816
Jo-Philipp Wich [Sat, 19 May 2012 20:17:54 +0000 (20:17 +0000)]
dnsmasq: add support for set: and tag: pairs
On my network, I have a variety of machines and appliances, some of which need different configuration issues than the default options.
For example:
config host
option name 'client'
option mac '00:01:02:03:04:05'
option ip '192.168.1.20'
option tag 'acme'
config tag acme
option force '1'
list dhcp_option 'option:router,192.168.1.253'
list dhcp_option 'option:domain-name,acme.com'
list dhcp_option 'option:domain-search,acme.com,redfish-solutions.com'
which allows me to override the default router for my client's host, as well as its domain-name, and its domain-search.
this causes the following config lines:
dhcp-host=00:01:02:03:04:05,set:acme,192.168.1.20,client
dhcp-option-force=tag:acme,option:router,192.168.1.253
dhcp-option-force=tag:acme,option:domain-name,acme.com
dhcp-option-force=tag:acme,option:domain-search:acme.com,redfish-solutions.com
This could be useful elsewhere, for instance, if you have an IP CCTV that you don't want to have a default-route, etc.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 31815
Jo-Philipp Wich [Sat, 19 May 2012 20:17:19 +0000 (20:17 +0000)]
dnsmasq: fix parsing of mx record options (#11365)
SVN-Revision: 31814
Felix Fietkau [Fri, 18 May 2012 22:12:15 +0000 (22:12 +0000)]
kernel: merge a net-next fq_codel backlog handling fix
SVN-Revision: 31813
Felix Fietkau [Fri, 18 May 2012 21:59:23 +0000 (21:59 +0000)]
netifd: update to latest version, fixes a crash on restart
SVN-Revision: 31812
Felix Fietkau [Fri, 18 May 2012 20:36:02 +0000 (20:36 +0000)]
ubus: update to latest version, fixes a socket race condition in the client library with uloop
SVN-Revision: 31811
Gabor Juhos [Fri, 18 May 2012 20:22:32 +0000 (20:22 +0000)]
omap24xx: add support for 3.3
Compile tested only.
SVN-Revision: 31810