aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 6to4: Remove sourcerouting parameter registrationSteven Barth2015-06-101-1/+0
| | | | | | | | | Commit 31214c38c8dd0f70366b523f9b0335145b9386bd removes IPv6 unneeded source-dest-routing workarounds; as a result sourcerouting parameter is unused and can be removed. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45940 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6rd: Remove sourcerouting parameter registrationSteven Barth2015-06-101-1/+0
| | | | | | | | | Commit 31214c38c8dd0f70366b523f9b0335145b9386bd removes IPv6 unneeded source-dest-routing workarounds; as a result sourcerouting parameter is unused and can be removed. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45939 3c298f89-4303-0410-b956-a3cf2f4a3e73
* b53: fix memory out of bounds access on 64 bit targetsJonas Gorski2015-06-101-2/+2
| | | | | | | | | | | | | On device reset the sizes for the vlan and port tables were wrongly calculated based on the pointer size instead of the struct size. This causes buffer overruns on 64 bit targets, resulting in panics. Fix this by dereferencing the pointers. Reported-by: Fedor Konstantinov <blmink@mink.su> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45938 3c298f89-4303-0410-b956-a3cf2f4a3e73
* b53: widen stp state mask to 3 bits (instead of 2)Jonas Gorski2015-06-101-1/+1
| | | | | | | | | | | | | | | At least on my b53 chip, the mask is 3 bits wide, and because of this some STP states are not set properly and discarded when read. Maybe for some other chips it makes sense to have just 2 bits width, but I don't have other versions around to test/validate. If that's the case then maybe we could add another STP state mask. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45937 3c298f89-4303-0410-b956-a3cf2f4a3e73
* map: add sleep work-around for lw4o6 race-conditionSteven Barth2015-06-092-1/+4
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45936 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: fix handling of custom DHCPv6 optionsSteven Barth2015-06-091-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45935 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ustream-ssl: fix compilation against current PolarSSL/mbedTLS versionJo-Philipp Wich2015-06-091-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45934 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: mac80211: bcm53xx has bcma built-inRafał Miłecki2015-06-092-4/+4
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45933 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add brcmfmac patch for synchronous initRafał Miłecki2015-06-081-0/+114
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45932 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add brcmfmac patch reading NVRAM from platformRafał Miłecki2015-06-081-0/+80
| | | | | | | | | This allows e.g. BCM43602 to work out of box, without dumping a proper MTD partition to /lib/firmware/ NVRAM file. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45931 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix Power LED handling for WHR-300HP2, WHR-600D, WHR-1166DFelix Fietkau2015-06-081-3/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45930 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix b43 support for 14e4:4321 BCM4321 (band detection)Rafał Miłecki2015-06-081-0/+32
| | | | | | | | This fixes #19803 Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45929 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: backport today's brcmfmac changesRafał Miłecki2015-06-083-0/+223
| | | | | | | | | This adds support for SR400ac NVRAM and fixes /sys/class/ieee80211/*/macaddress Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45928 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport config-related bcma patches from 4.2Rafał Miłecki2015-06-082-0/+98
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45927 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: bump to latest, various fixesSteven Barth2015-06-081-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45926 3c298f89-4303-0410-b956-a3cf2f4a3e73
* polarssl: bump to 1.3.11Steven Barth2015-06-081-3/+3
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45925 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: bump to 2.73rc9Steven Barth2015-06-081-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45924 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: fix config file typoSteven Barth2015-06-081-1/+1
| | | | | | | | s/loclal/local/ Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45923 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: backport the latest 4.2 ARM BCM5302X patchesRafał Miłecki2015-06-0711-75/+391
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45922 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: refresh kernel configRafał Miłecki2015-06-071-3/+1
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45921 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: move a symbol from the ipq806x config to generic to prevent it from ↵Felix Fietkau2015-06-073-1/+2
| | | | | | | | being nuked by make kernel_oldconfig Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45920 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove NAND flash related kmod-* packagesFelix Fietkau2015-06-072-53/+0
| | | | | | | | | | | They are useless, as the platform already selects the right options for NAND support. The main reason for removing them is the fact that it makes kernel configs more annoying to maintain on platforms that provide NAND drivers but disable them (e.g. ramips) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45919 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add missing symbolJohn Crispin2015-06-071-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45918 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: move ht_coex variable to mac80211.sh, guarded by 802.11n supportFelix Fietkau2015-06-062-6/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45917 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: refresh kernel configRafał Miłecki2015-06-061-0/+1
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45916 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: fallback to default_do_upgrade if NAND upgrade failsRafał Miłecki2015-06-061-0/+12
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45915 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: sysupgrade: drop useless shift in platform.shRafał Miłecki2015-06-061-1/+0
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45914 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: sysupgrade: drop useless shift in platform.shRafał Miłecki2015-06-061-1/+0
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45913 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: extract TRX from image on the flyRafał Miłecki2015-06-061-13/+14
| | | | | | | | | Extracting TRX to separated file in /tmp/ just wastes some RAM while we can just pass a proper extracting command to the default_do_upgrade. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45912 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: sysupgrade: extract TRX partitions directly from vendor imageRafał Miłecki2015-06-061-3/+5
| | | | | | | | | Extracting full TRX out of vendor format is not needed as otrx supports passing TRX offset. This saves some RAM during sysupgrade. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45911 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppp: fix download URLHauke Mehrtens2015-06-061-1/+1
| | | | | | | | | The file is not available at the older path any more. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45910 3c298f89-4303-0410-b956-a3cf2f4a3e73
* grub: add download mirrorsHauke Mehrtens2015-06-061-2/+5
| | | | | | | | | | | | | | Add three download mirrors for 'grub', as the Makefile currently defines only one download location. @GNU can not be used, as the most recent version of 'grub' is not available at the general GNU mirrors, and can only be found at the "gnu-alpha" mirrors. Signed-off-by: Hannu Nyman <hannu.nyman at iki.fi> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45909 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bc: add download mirrorsHauke Mehrtens2015-06-061-1/+4
| | | | | | | | | | | | | | Add three download mirrors for 'bc', as the Makefile currently defines only one download location. @GNU can not be used, as the most recent version of 'bc' is not available at the general GNU mirrors, and can only be found at the "gnu-alpha" mirrors. Signed-off-by: Hannu Nyman <hannu.nyman at iki.fi> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45908 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update NVRAM driver to support getting contentsRafał Miłecki2015-06-052-15/+60
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45907 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: backport MIPS BCM47XX changes queued for 4.2Rafał Miłecki2015-06-0524-23/+1407
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45906 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add openwrt snapshot keyFelix Fietkau2015-06-051-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45905 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: Fix --force-checksum when using SHA256John Crispin2015-06-051-0/+31
| | | | | | | | | | Allow installing packages with mismatching SHA256 checksums via $ opkg install --force-checksum $PACKAGE Signed-off-by: Florian Fieber <florian@florianfieber.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45904 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix AR71XX_MODEL for TP-Link TL-WA830RE v1John Crispin2015-06-051-0/+4
| | | | | | | | | The v1 identifies as v10 internally. As there is no TL-WA830RE v10, add a workaround to avoid confusing users. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45903 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add support for RT5350F-OLinuXino V2John Crispin2015-06-057-0/+237
| | | | | | | | | | | Version 2 : White spaces and alphabetical order problems fixed Support for Olimex RT5350F-OLinuXino Boards, tested with RT5350F-OLinuXino and RT5350F-OLinuXino-EVB boards. More Info : https://www.olimex.com/Products/OLinuXino/RT5350F/RT5350F-OLinuXino/open-source-hardware Signed-off-by: Dimitar Gamishev HeHoPMaJIeH <gamishev@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45902 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: extract TRX from image on the flyJohn Crispin2015-06-051-7/+8
| | | | | | | | | | Extracting TRX to separated file in /tmp/ requires extra RAM which may not be available on some chepaer devices. Instead of that lets pass a proper extracting command to the default_do_upgrade. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45901 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: default_do_upgrade: accept & forward image extraction commandJohn Crispin2015-06-051-2/+6
| | | | | | | | | | | get_image allows passing 2nd argument that is used in a pipe for extracting firmware from a non-native format. By accepting such command in default_do_upgrade we allow platforms to use this helper for vendor specific images. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45900 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Backport gpio-stp-xway to fix the highest bits of the PHY LEDsJohn Crispin2015-06-051-0/+25
| | | | | | This fixes the LAN2 LED on Arcadyan VGV7510KW22. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45899 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-lantiq: Add Arcadyan VGV7510KW22 supportJohn Crispin2015-06-052-1/+363
| | | | | | | This is already applied in Daniel's ("upstream") tree and thus will be part of upcoming version(s). git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45898 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Add support for Arcadyan VGV7510KW22 (known as o2 Box 6431)John Crispin2015-06-058-0/+388
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45897 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: add missing <endian.h> includeFelix Fietkau2015-06-051-0/+1
| | | | | | | | | | | | | | trx.c in mtd would not include endian.h, so on systems that do not have this header implicitly included from the other headers (like musl), both __BYTE_ORDER and __BIG_ENDIAN would be undefined and thus 0, leading to it always presuming a big-endian system. this would lead to issues when running mtd fixtrx on little-endian systems, as it would never recognize the TRX magic as result of the broken STORE32_LE() macro. Signed-off-by: Shiz <hi@shiz.me> Tested-by: Shiz <hi@shiz.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45896 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: improve tx clean up and add fe_tx_ring structFelix Fietkau2015-06-053-70/+83
| | | | | | | | | | if there is any new tx need to clean up. do it in next napi poll. collect tx related members to fe_tx_ring struct. for better cache usage and more readable. Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45895 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: change ethernet napi interrupt sequenceFelix Fietkau2015-06-051-5/+4
| | | | | | | | | | when open device. first ready napi software rx. then enable hardware interrupt. final start software tx queue to send data. Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45894 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix ethernet vlan tx offload support check when deleteFelix Fietkau2015-06-051-1/+1
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45893 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix the memory map on FireWRTFelix Fietkau2015-06-051-1/+1
| | | | | | | | | | | | | | | Avoid the use of memory marked as reserved MT7621 support 512MB memory. According to "MT7621_ProgrammingGuide_Preliminary_Platform.pdf" 0x0~0x1c000000 448MB 0x20000000~0x4000000 64MB total 512MB Signed-off-by: wengbj <fl.service@t-firefly.com> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45892 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: adjust mips highmem offset to avoid the need for -mlong-calls on ↵Felix Fietkau2015-06-052-0/+34
| | | | | | | | systems with >256M RAM Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45891 3c298f89-4303-0410-b956-a3cf2f4a3e73