summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mac80211: rework mac address allocationnbd2013-04-171-10/+24
| | | | | | | | | | | | | | | | | | | If the first byte is available in the address mask, use only that one - set the local bit and xor it with the id << 2. This ensures that there are no hardware BSSID & BSSID-mask conflicts with devices that have almost the same MAC address with just a small offset. The MAC address conflict has been observed in a deployment with some devices from the same batch when running with multiple interfaces. If only some bits of the last byte are available, xor the id onto the last MAC address byte (relevant mostly for Ralink devices). In other cases (should not happen at this point), use the previous MAC address offset calculation but without the local bit. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36353 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add a CONFIG_MODULES symbol for compatibility with kernel menuconfignbd2013-04-171-0/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36352 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: consistently use 'depends on' instead of 'depends'nbd2013-04-1721-150/+150
| | | | | | | | make the syntax more compatible with kernel menuconfig Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36351 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: remove old no-MMU hackerynbd2013-04-171-18/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36350 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] fix prepare_generic_squashfsblogic2013-04-171-4/+0
| | | | | | | | prepare_generic_squashfs was called twice on the generated images breaking mount_root Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36349 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: update to git head, fixes regression when parsing IPv6 listen argumentsjow2013-04-171-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36348 3c298f89-4303-0410-b956-a3cf2f4a3e73
* feeds: add upstream bmx6 openwrt feedjow2013-04-161-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36346 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: change the BSSID mask calculation to fix setting arbitrary MAC ↵nbd2013-04-168-14/+123
| | | | | | | | address on interfaces Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36344 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] fix rt305x gpioblogic2013-04-161-0/+14
| | | | | | | | https://dev.openwrt.org/ticket/13359 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36343 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: force CONFIG_NET_SCHED=y for fq_codel (#13360)nbd2013-04-152-4/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36342 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [generic/3.9]: refresh against -rc7kaloz2013-04-157-9/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36340 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: print info of all existing wireless ifaces when cli is called ↵jow2013-04-152-2/+29
| | | | | | without arguments git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36339 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: update to latest version, fixes compile error with latest libuboxnbd2013-04-151-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36338 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest version, fixes some device handling crashesnbd2013-04-151-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36336 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libubox: update to latest versionnbd2013-04-151-3/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36335 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: merge upstream legacy minstrel improvementsnbd2013-04-151-14/+482
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36334 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.8 to 3.8.7juhosg2013-04-1442-123/+75
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36332 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc85xx: use static SPI bus number for TL-WDR4900juhosg2013-04-121-1/+5
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36329 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux/3.8: backport 'spi/of: Use DT aliases for assigning bus number' from 3.9juhosg2013-04-121-0/+37
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36328 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] update rt2880 config-3.8blogic2013-04-121-23/+40
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36327 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] fix up the rt2880 patchesblogic2013-04-122-14/+64
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36326 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] fix RT-N15 supportblogic2013-04-122-1/+96
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36325 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] update rt2880.dtsiblogic2013-04-121-22/+62
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36324 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [geneirc] fix rtl8366s OF bindingblogic2013-04-121-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36323 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc85xx: set preinit interface to eth0 by defaultjuhosg2013-04-121-0/+12
| | | | | | | | | This makes the WDR4900 accessible via ethernet in failsafe mode. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36322 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc85xx: Generate fdt for P1020RDBjuhosg2013-04-121-1/+1
| | | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36321 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc85xx: Add P1020RDB board supportjuhosg2013-04-121-1/+1
| | | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36320 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [lantiq] add VG3503J supportblogic2013-04-113-0/+217
| | | | | | | | | | | | | | | | | this adds basic support. the bootloader on these units is locked down. until we have a replacement we can do basic testing with these env variables in uboot. set update_openwrt erase 0xb0020000 0xb073ffff \;tftp 0x81000000 openwrt-lantiq-xway-VG3503J-squashfs.image\;cp.b 0x81000000 0xb0020000 \$(filesize) set bootcmd cp.b 0xb0020000 0x80002000 0x400000\; go 0x80002000 unfortunatley the bootloader ignores the bootcmd, so autobooting is not possible yet. you need to call "run bootcmd" by hand after each power cycle. please note that the vdsl firmware is non redistributable. you can find it in the GPL drop that BT provides. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36315 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [lantiq] add FE phy firmwareblogic2013-04-111-7/+14
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36314 3c298f89-4303-0410-b956-a3cf2f4a3e73
* This adds Gateworks Laguna family board support. Note that some Lagunaluka2013-04-112-0/+32
| | | | | | | | | boards have SPI flash and others have NOR flash, thus the size/erasesize are detected dynamically. Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36313 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [lantiq] add missing pinmux patchblogic2013-04-111-0/+67
| | | | | | | | | | Fix lantiq pinmux which affected PCI and USB. Known affected boards are: ARV4518 and ARV7518. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36312 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix a client mode reconnect issuenbd2013-04-101-0/+40
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36311 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: fix USB ehci/ohci platform drivernbd2013-04-102-4/+52
| | | | | | | | | | | Update ehci/ohci driver registration to conform to the new platform drivers. This fixes missing USB host support in 3.8.x Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36309 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: calibrate the TWD timer even when booting with only one CPU, it is ↵nbd2013-04-102-0/+46
| | | | | | | | | | used for the watchdog timer base Fixes booting on single-core CNS3xxx devices Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36308 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: keep the igmp proc support even with PROC_STRIPPED, some tools still ↵nbd2013-04-102-22/+0
| | | | | | | | use it Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36307 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix an AR9580 specific crypto related stability issuenbd2013-04-101-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36306 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: revert the queue length to the default (reduction obsoleted by the ↵nbd2013-04-101-10/+0
| | | | | | | | use of fq_codel) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36305 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: switch default qdisc from pfifo_fast to fq_codel and remove pfifo_fastnbd2013-04-104-0/+432
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36304 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: keep dropped stats in fq_codelnbd2013-04-102-0/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36303 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: tune fq_codel defaults for common netdevice speedsnbd2013-04-102-0/+28
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36302 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add patches by Dave Täht to reduce buffer size in longer queues to ↵nbd2013-04-104-0/+208
| | | | | | | | reduce memory pressure Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36301 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh patches against 3.9-rc6florian2013-04-0912-388/+18
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36297 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add support for PMC PM25LQ032 SPI Flash in m25p80.cflorian2013-04-094-0/+40
| | | | | | | | | Add support for PMC PM25LQ032 (4MB) SPI Flash used in Hame MPR-A1 and clones. Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr> Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36296 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport switch user API changes after r36283florian2013-04-094-10/+28
| | | | | | | | | 3.3 and 3.6 kernels do not make use of the UAPI headers, still they need to provide an up-to-date switch.h copy for swconfig to build. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36295 3c298f89-4303-0410-b956-a3cf2f4a3e73
* qos-scripts: add queue length and quantum limit, suggested by dtahtnbd2013-04-091-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36294 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] unbreak portmapping - typo fixblogic2013-04-092-7/+7
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36293 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: fix frequency/channel and channel/frequency conversions to properly ↵jow2013-04-092-13/+20
| | | | | | implement 802.11j git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36292 3c298f89-4303-0410-b956-a3cf2f4a3e73
* buildroot: enable software floating point for MIPS64 targetsflorian2013-04-091-1/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36291 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] move memory detect node to dtsi filesblogic2013-04-0963-236/+16
| | | | | | Signed-of-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36290 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] Add Netgear WNCE2001 (OF version)blogic2013-04-0911-4/+251
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Netgear WNCE2001. This is a small RT3052 device with 4MB spi flash and 32MB ram. 2 built-in antennas, 1x fastE, no USB, reset & wps switch. On my model the AP/RT switch is unpopulated, but I verified the gpio mapping for it. The stock firmware is running an unprotected tftpd which allows you to read any file from the filesystem. Serial port is present on testpads (See image on the wiki page). There are more testpads below the shield near the SoC, which may have JTAG. Slight annoyance: The bootloader is checksumming kernel&rootfs, but can be tricked by zeroing checksum and length fields in the checksum partition, see target/linux/ramips/base-files/lib/preinit/04_disable_wnce2001_flash_checksumming The manufacturer image is very similar to the DAP one, so I slightly modified mkdapimg to support generating it. The resulting openwrt-ramips-rt305x-wnce2001-squashfs-factory-(worldwide|northamerica).bin can be used to flash from stock to OpenWRT using the stock firmware upgrade function, without using the serial port. http://www.netgear.com/landing/wnce2001.aspx http://wiki.openwrt.org/toh/netgear/wnce2001 Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36289 3c298f89-4303-0410-b956-a3cf2f4a3e73