aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* kernel: support bgmac on BCM47094Rafał Miłecki2016-02-264-8/+151
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r48564 and r48756 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48790 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport trivial bcma patches from 4.6 for BCM47094Rafał Miłecki2016-02-261-0/+72
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48789 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport bcma init patch from 4.5Rafał Miłecki2016-02-262-65/+49
| | | | | | | | | This simply replaces init fix with a final version and puts it in a generic dir. This will allow backporting some trivial changes from 4.6. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48788 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix mt7628 ehci supportJohn Crispin2016-02-192-73/+127
| | | | | | | | | | the u2_phy init was missing Backport of r48747 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48749 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix alsa mic in supportJohn Crispin2016-02-191-93/+71
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48748 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add SolidRun ClearFog A1 supportLuka Perkov2016-02-178-0/+700
| | | | | | Signed-off-by: Andrej Vlasic <andrej.vlasic@sartura.hr> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48737 3c298f89-4303-0410-b956-a3cf2f4a3e73
* malta: add harddisk supportJohn Crispin2016-02-081-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Is it possible to backport commit r46269 (3c298f89-4303-0410-b956-a3cf2f4a3e73) to CC 15.05 in order to provide harddisk support. Backporting tested (info available at: https://forum.openwrt.org/viewtopic.php?id=62389). Thnx in advance! Here is the original patch from trunk: >From 76bfcd46bd55263947461e40bd02047922755c72 Mon Sep 17 00:00:00 2001 From: blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> Date: Wed, 8 Jul 2015 14:25:36 +0000 Subject: [PATCH] malta: add harddisk support works with: qemu-system-mipsel -M malta \ -hda openwrt-malta-le-root.ext4 \ -kernel openwrt-malta-le-vmlinux.elf \ -nographic -append "root=/dev/sda console=ttyS0" Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48666 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add Netgear R8500 GPIOsRafał Miłecki2016-02-053-7/+83
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r48633 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48634 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: start working on Netgear R8500Rafał Miłecki2016-02-046-0/+101
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r48625 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48629 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: support Netgear R8500 in sysupgradeRafał Miłecki2016-02-041-0/+1
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r48572 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48628 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: use proper CPU port in b53 for Netgear R8500Rafał Miłecki2016-02-041-1/+3
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r48571 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48627 3c298f89-4303-0410-b956-a3cf2f4a3e73
* openssl: update to 1.0.2f (fixes CVE-2016-0701, CVE-2015-3197)v15.05.1Felix Fietkau2016-01-286-20/+20
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r48531 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48532 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: HiLink HLK-RM04 image name typo (RM02 -> RM04)John Crispin2016-01-211-1/+1
| | | | | | | | | | The image name for the HiLink HLK-RM04 module has a typo and should read "RM04" rather than "RM02" Backport of r48355 Signed-off-by: John Clark <inindev@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48430 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix module load issue in the dma-buf debloat patchFelix Fietkau2016-01-201-1/+10
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r48409 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48411 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix brcmfmac picking wrong channel when using 80 MHzRafał Miłecki2016-01-201-0/+65
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48404 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: modularize dma shared buffer code to eliminate kernel bloatFelix Fietkau2016-01-203-0/+46
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r48371 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48392 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix keyring reference leak (CVE-2016-0728)Felix Fietkau2016-01-191-0/+75
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r48372 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48373 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: disable AFS support by defaultFelix Fietkau2016-01-192-0/+2
| | | | | | | | | | | | This pulls in CONFIG_KEYS, which bloats up the kernel size and is thus very undesirable. It also currently exposes the kernel to a local root vulnerability Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r48364 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48365 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix ethernet MAC reset on DMA hangFelix Fietkau2016-01-151-38/+55
| | | | | | | | | | | Fully reset the chip like on a full up/down, but without the PHY statemachine restart. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r48228 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48246 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: extend ethernet DMA stuck check to all ar724x (and newer) chipsFelix Fietkau2016-01-151-1/+1
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r48227 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48245 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: base-files: use the correct path in case of modified preinit optionsJo-Philipp Wich2016-01-142-3/+3
| | | | | | | | | | | | | | | If the user sets any preinit options in .config, the wrong path may get applied due to wrong default value in image-config.in and due to Makefile writing also the unchanged options into 00_preinit.conf Modify the default path in image-config.in to match the current default path set by r47080. Also modify the fall-back default in Makefile. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> Backport of r47590 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48238 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: base-files: sanitize and unify $PATHJo-Philipp Wich2016-01-144-6/+6
| | | | | | | | | | Previously init and hotplug paths were different from console. Signed-off-by: Steven Barth <steven@midlink.org> Backport of r47080 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48237 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: procd: align early init PATH with rest of OpenWrtJo-Philipp Wich2016-01-142-2/+34
| | | | | | | | Backport upstream Git commit 45cb04fd85d788a37367a5385e5e90dd98a0a991 to CC. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48236 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: resync regulatory db with master-2015-12-14Imre Kaloz2016-01-121-111/+158
| | | | | | | | | | backport of [48219] Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48220 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: sdk: add base repository fallbackJo-Philipp Wich2016-01-121-0/+1
| | | | | | | | | | | | | | | | When the build system cannot infer its own repository url then let it fall back to http://git.openwrt.org/ for the base feed. The path to openwrt.git is guessed from the VERSION_NUMBER variable: "unknown" or "r12345" -> http://git.openwrt.org/openwrt.git "15.05.1" -> http://git.openwrt.org/15.05/openwrt.git Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> Backport of r48212 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48213 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: gettext-full: make autopoint and gettextize reloctableJo-Philipp Wich2016-01-122-1/+31
| | | | | | | | | | | The autopoint and gettextize host utilities contain hardcoded staging dir paths which need to be overridden for the SDK environment. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> Backport of r48208 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48211 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: gettext-full: activate format-security checksJo-Philipp Wich2016-01-122-1/+59
| | | | | | | | | | This patch was taken from upstream libcroco Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Backport of r47585 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48210 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: gettext-full: update to version 0.19.6Jo-Philipp Wich2016-01-127-9/+9
| | | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Backport of r47584 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48209 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: fix disassociation with FullMAC drivers and multi-BSSRafał Miłecki2016-01-111-0/+67
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r48202 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48205 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: build: add a variable pointing to the main openwrt git repositories ↵Jo-Philipp Wich2016-01-111-0/+2
| | | | | | | | | | (useful if we want to support using a mirror later) Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r48117 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48197 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: fix off-by-one error in the version numberFelix Fietkau2016-01-101-1/+1
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r48193 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48194 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: sync with trunk r48191Felix Fietkau2016-01-101-4/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48192 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: fix post v2.4 security issuesFelix Fietkau2016-01-1011-0/+554
| | | | | | | | | | | | | | | | | | | | | | | | | - WPS: Fix HTTP chunked transfer encoding parser (CVE-2015-4141) - EAP-pwd peer: Fix payload length validation for Commit and Confirm (CVE-2015-4143) - EAP-pwd server: Fix payload length validation for Commit and Confirm (CVE-2015-4143) - EAP-pwd peer: Fix Total-Length parsing for fragment reassembly (CVE-2015-4144, CVE-2015-4145) - EAP-pwd server: Fix Total-Length parsing for fragment reassembly (CVE-2015-4144, CVE-2015-4145) - EAP-pwd peer: Fix asymmetric fragmentation behavior (CVE-2015-4146) - NFC: Fix payload length validation in NDEF record parser (CVE-2015-8041) - WNM: Ignore Key Data in WNM Sleep Mode Response frame if no PMF in use (CVE-2015-5310) - EAP-pwd peer: Fix last fragment length validation (CVE-2015-5315) - EAP-pwd server: Fix last fragment length validation (CVE-2015-5314) - EAP-pwd peer: Fix error path for unexpected Confirm message (CVE-2015-5316) Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de> Backport of r48185 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48186 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: brcmfmac: add beamforming supportRafał Miłecki2016-01-1024-4/+2867
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48168 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: brcmfmac: support dumping stationsRafał Miłecki2016-01-1013-1/+1170
| | | | | | | It allows user-space fetch associated STAs and e.g. iwinfo/luci display them. git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48167 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: brcmfmac: fix getting/setting TX powerRafał Miłecki2016-01-1018-2/+1401
| | | | | | | | This patches also adds BCM4366 support which may be found on some new routers based on BCM47094 or BCM4709C0. Unfortunately firmware is still missing for this chipset. git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48166 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport some bcma header file definitions from wireless-testingRafał Miłecki2016-01-101-0/+26
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r47284 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48165 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: rename patches to use all prefixesRafał Miłecki2016-01-0945-0/+0
| | | | | | | | | | After last commit we got few unuset slots (prefixes). Use all available numbers one by one to allow more backports. This doesn't change a single patch (or order), only renames files. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48164 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: group brcmfmac patches into sets as they were sentRafał Miłecki2016-01-0948-0/+0
| | | | | | | | | | It doesn't change any single patch (or order), it only renames files. This creates some place for more backports, as we were already using 398 prefix which left only 1 slot. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48163 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mwlwifi: update to 10.3.0.16-20160105 (adds DFS support)Imre Kaloz2016-01-081-3/+3
| | | | | | | | | | backport of [48152] Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48153 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: make bcm47xxpart work with TRX flashed at bad block(s)Rafał Miłecki2016-01-063-2/+102
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r48061 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48140 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: drop bcm47xxpart patch for XiaomiRafał Miłecki2016-01-062-36/+2
| | | | | | | | | | | It was never tested, most likely not working (because of le32_to_cpu) and not upstreamed. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r48060 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48139 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: override features to disable mips16 support for rt288xFelix Fietkau2016-01-051-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48137 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bzip2: only build the static library for the host, fixes build errors on mac ↵Felix Fietkau2016-01-051-1/+0
| | | | | | | | | | os x Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r48135 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48136 3c298f89-4303-0410-b956-a3cf2f4a3e73
* samba36: add three CVE patches from 2015-12-16Felix Fietkau2016-01-054-1/+253
| | | | | | | | | | | This is a patch for CVE-2015-5252, CVE-2015-5296 and CVE-2015-5299. A patchset for these vulnerabilities was published on 16th December 2015. Signed-off-by: Jan Čermák <jan.cermak@nic.cz> Backport of r48133 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48134 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Disable all ethernet ports except port 4 on HT-TM02.John Crispin2016-01-031-0/+1
| | | | | | | | | Port 4 is the only ethernet port on this router, so disable all other PHYs in order to save power. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48097 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Get rt3052 ethernet ports to be disabled from the device tree.John Crispin2016-01-031-3/+14
| | | | | | | | | | | | | | | This patch allows configuring ports to be disabled in the device tree; this saves power, since disabling ports here actually disables power to ethernet PHYs. Line 461 enables all ethernet ports, so line 508 is getting zero ports to be disabled, except for port 5 in SoCs where this is not implemented as it will be sticky disabled in register POC0. Because of this, the code will still read the switch configuration and OR it to the device tree setting. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48096 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Fix comment in rt3052 ethernet switch driver.John Crispin2016-01-031-1/+1
| | | | | | | | | | | | Line 461 is actually enabling all switch ports by setting the disable bits to 0. This needs to be done because the bootloader sets all ports to disabled by default (which is the case for at least one router based on RT5350). So, this patch fixes the comment in line 460. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48095 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Fix whitespace in the rt3052 switch driver.John Crispin2016-01-031-4/+4
| | | | | | Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48094 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix sysupgrade for wnr2200Felix Fietkau2016-01-031-1/+8
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r48005 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48093 3c298f89-4303-0410-b956-a3cf2f4a3e73