aboutsummaryrefslogtreecommitdiffstats
path: root/package
Commit message (Collapse)AuthorAgeFilesLines
* ath10k: reduce dma burst size on newer firmware to fix crashesFelix Fietkau2015-09-131-0/+24
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r46900 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46901 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: opkg: ensure image provided feeds are available after sysupgradeJonas Gorski2015-09-113-4/+21
| | | | | | | | | | | | | | | | | | | | | | | Split the opkg.conf into three files, to make it easier to support custom feeds and configs: * /etc/opkg.conf -> base opkg configuration * /etc/opkg/distfeeds.conf -> default Openwrt package feeds * /etc/opkg/customfeeds.conf -> custom package feeds Of these three, only the base opkg.conf and the customfeeds.conf is marked as to be kept, so that the distfeeds.conf from the image is always used. To ease migration, a script is added that moves any feeds from /etc/opkg.conf to /etc/opkg/customfeeds.conf on first boot. Also ensure that any keys used for verification are also kept in upgrade. Backport of r46491. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46848 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: update to the latest version, fixes deferred cgi script processing ↵Felix Fietkau2015-09-071-2/+2
| | | | | | | | | | (#20458) Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r46807 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46808 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: hostapd: properly enable 802.11w supportHauke Mehrtens2015-08-291-1/+1
| | | | | | | | | | | | | | backport of r46737 Add CONFIG_IEEE80211W variable to DRIVER_MAKEOPTS so that 802.11w support is properly compiled in full variant. This fixes #20179 Signed-off-by: Janusz Dziemidowicz <rraptorr@nails.eu.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46751 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: broadcom-wl: add interface after bridge is upHauke Mehrtens2015-08-291-0/+1
| | | | | | | | | | | | | | | backport of r46749 Without this patch adding the wifi device to the bridge may fail because the bridge is not already configured when the wifi device gets configured. This patch makes broadcom-wl wait till the bridge is ready. This fixes #17262 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46750 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: broadcom-wl: fix bash comparison errorHauke Mehrtens2015-08-291-1/+1
| | | | | | | | | | | | Backport of r46746 This fixes #17495 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46748 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: broadcom-wl: fix section mismatches in broadcom-wl driverHauke Mehrtens2015-08-291-0/+74
| | | | | | | | | Backport of r46745 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46747 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add pending brcmfmac patch fixing warm rebootsRafał Miłecki2015-08-271-0/+193
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46739 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46740 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update brcmfmac to the latest versionRafał Miłecki2015-08-2627-12/+2281
| | | | | | | | | | | This also adds one patchset of pending changes that fix support for multiple interfaces. It was somehow broken. Driver couldn't correctly match firmware and system interfaces resulting in not working APs and WARNINGs. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46736 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: group last brcmfmac changes into (half) patchsetRafał Miłecki2015-08-265-0/+0
| | | | | | | | This prepares some place for backporting extra patches. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46735 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: mac80211: disable ipw2x00 for big endian targetsJonas Gorski2015-08-231-1/+1
| | | | | | | | | | | | | | | The ipw2x00 drivers assume that the system they are running is little endian, and access everything in native byte order. When run on a big endian system, everything breaks apart. Since fixing this is non trivial on a first glance, disable them for big endian targets. Backport of r46708. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46710 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mwlwifi: downgrade to 10.3.0.3-20150804Imre Kaloz2015-08-201-2/+2
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46695 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mwlwifi: fix commit hash for 10.3.0.8Imre Kaloz2015-08-191-2/+2
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46692 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add support for the Linksys boot counter (backport of r46690)Imre Kaloz2015-08-195-1/+129
| | | | | | | | | | | | | | | The u-boot boot counter was never reset after a successful boot, which sometimes could make some variables become out of sync. This patch adds support for the boot counter and enables auto_recovery unconditionally. Signed-off-by: Jonas Gorski <jogo@openwrt.org> Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46691 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttpd: we don't know where the device is located, so reflect that in the certImre Kaloz2015-08-191-3/+3
| | | | | | | | | | backport of r46688 Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46689 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mwlwifi: upgrade to 10.3.0.8-20150818Imre Kaloz2015-08-181-1/+3
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46686 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: fix seccomp build on some architecturesHauke Mehrtens2015-08-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Backport of r46612. fix generating syscall-names.h Sometimes the syscall number is not defined with a number but with an offset to an other syscall and then make_syscall_h.sh created some broken header file. For example the bit/syscall.h from musl for i386 has this: #define __NR_timer_create 259 #define __NR_timer_settime (__NR_timer_create+1) With this patch the resulting array looks like this: [259] = "timer_create", [(__NR_timer_create+1)] = "timer_settime", This closes #20195. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46679 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: uhttpd: pass X-HTTP-Method-Override header to cgi scriptsJo-Philipp Wich2015-08-171-2/+2
| | | | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> Backport of r46677 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46678 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ugps: update to latest git HEADJohn Crispin2015-08-171-2/+2
| | | | | | | | | | | | fixes 2 bugs * typo * use %04d rather than %d when printing the position Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r46666 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46675 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: buttons: make power script return 0Rafał Miłecki2015-08-121-0/+2
| | | | | | | | | | It was missed in the r46471. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46582 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46583 3c298f89-4303-0410-b956-a3cf2f4a3e73
* buttons: make all button handler scripts return 0Rafał Miłecki2015-08-104-0/+8
| | | | | | | | | | this is required by the new button timeout feature Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r46471 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46581 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to the latest version, add "button" hotplug handlerRafał Miłecki2015-08-101-2/+2
| | | | | | | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> In 15.05-rc2 we got support for "set-interval" and "clear-interval" which got dropped with the update of procd done in r46257. This new "button" action provides similar functionality so it makes sense to backport it to 15.05. Backport of r46578 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46579 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: kernel: crypto: fix module loading of aead.koHauke Mehrtens2015-08-091-1/+1
| | | | | | | | | | | | | The name of the module was wrong before. This should fix #20283. backport of r46574. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46577 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mwlwifi: upgrade to latest rev with fixed firmware (backport of r46520)Imre Kaloz2015-07-301-2/+2
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46521 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: dnsmasq: add some missing files to the jailJo-Philipp Wich2015-07-271-1/+1
| | | | | | | | | | found with strace, not sure we got all of them though Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com> Backport of r46467 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46511 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: base-files: fix /tmp/.jail permissionsJo-Philipp Wich2015-07-271-1/+0
| | | | | | | | | | | | | We need a+x rights on the path to the root of the jails so we can use users other than root (like nobody) This partly fixes jailed dnsmasq Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com> Backport of r46466 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46510 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: procd: update to latest git HEADJo-Philipp Wich2015-07-271-2/+2
| | | | | | | | | | fixes http://patchwork.ozlabs.org/patch/497899/ Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r46465 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46509 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: fix typo in ESP ruleSteven Barth2015-07-272-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46508 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firewall: comply with REC-22, REC-24 of RFC 6092Steven Barth2015-07-272-13/+12
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46507 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: make ath10k firmware v2 selectableJohn Crispin2015-07-241-0/+12
| | | | | | | | | | | | Added option for old firmware version (10.1 API v2). It seems that recent firmware versions are constantly crashing (at least on a QCA9880-BR4A-R) and this provides the option to select an older version instead. Backport of r46340 Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46443 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix OHCI and EHCI modules for AT91Florian Fainelli2015-07-181-3/+10
| | | | | | | | | | | | We were not copying the additional files needed to get USB to work on the AT91 platforms, make sure we do this. Backport of r46172 Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46417 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mt76: backport rx buffer allocation fix from r46409Felix Fietkau2015-07-181-0/+18
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46412 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest git HEADRafał Miłecki2015-07-141-2/+2
| | | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> This adds support for filtering messages Backport of r46356 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46365 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: fix some more compatibility issuesSteven Barth2015-07-131-5/+10
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46337 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: work-around more ISP DHCPv6-PD issuesSteven Barth2015-07-131-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46336 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: curl: fix some security vulnerabilitiesHauke Mehrtens2015-07-128-2/+324
| | | | | | | | | | | | | | | | | | This fixes the following security vulnerabilities in curl: * CVE-2015-3143 * CVE-2015-3144 * CVE-2015-3145 * CVE-2015-3148 * CVE-2015-3153 * CVE-2015-3236 * CVE-2015-3237 This was fixed in trunk with update to version 7.43.0 in r46169. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46312 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: kernel: fix loading bluetooth_6lowpanHauke Mehrtens2015-07-121-1/+1
| | | | | | | | | Backprot of r46179 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46311 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ebtables: remove partially broken musl fixFelix Fietkau2015-07-101-50/+0
| | | | | | | | See http://patchwork.ozlabs.org/patch/493573/ for more information Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46293 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add brcmfmac patch fixing user space picked MACsRafał Miłecki2015-07-091-0/+69
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46288 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46290 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: try to workaround some brcmfmac bug with handling interfacesRafał Miłecki2015-07-091-0/+49
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46278 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46289 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: openssl: update to v1.0.2d (CVE-2015-1793)Jo-Philipp Wich2015-07-095-29/+24
| | | | | | | | | | | | | | | | | | During certificate verification, OpenSSL (starting from version 1.0.1n and 1.0.2b) will attempt to find an alternative certificate chain if the first attempt to build such a chain fails. An error in the implementation of this logic can mean that an attacker could cause certain checks on untrusted certificates to be bypassed, such as the CA flag, enabling them to use a valid leaf certificate to act as a CA and "issue" an invalid certificate. This issue will impact any application that verifies certificates including SSL/TLS/DTLS clients and SSL/TLS/DTLS servers using client authentication. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> Backport of r46285 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46286 3c298f89-4303-0410-b956-a3cf2f4a3e73
* nvram: get rid of NVRAM_SPACERafał Miłecki2015-07-082-3/+2
| | | | | | | | | | Now we support NVRAM whatever its size is. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46262 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46263 3c298f89-4303-0410-b956-a3cf2f4a3e73
* nvram: fix displayed info about NVRAM sizeRafał Miłecki2015-07-081-2/+2
| | | | | | | | | | Use actual partition size and content offset to calculate it. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46260 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46261 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "Revert "nvram: increase NVRAM size to 64 KiB""Rafał Miłecki2015-07-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit r45579. With the latest change r46251 ("nvram: fix "Segmentation fault" caused by setting memory out of buffer") nvram utility shouldn't crash anymore. It was tested on 3 brcm47xx devices: 1) Unknown with 0x10000 NVRAM size (0x8000 offset) 2) Linksys E1000 V2.1 with 0x10000 (0x8000 offset) 3) Linksys WRT300N V1 with 0x10000 (0x8000 offset) And 3 bcm53xx devices: 1) Buffalo WZR-600DHP2 with 0x160000 NVRAM size 2) Buffalo WZR-1750DHP with 0x10000 NVRAM size 3) Netgear R6250 V1 with 0x180000 NVRAM size (all using 0 offset) This is an important change as it allows reading whole NVRAM. This may critical when reading some basic configuration (e.g. switch ports). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46253 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46259 3c298f89-4303-0410-b956-a3cf2f4a3e73
* nvram: fix "Segmentation fault" caused by setting memory out of bufferRafał Miłecki2015-07-081-2/+2
| | | | | | | | | | | | | | | Some MTD partitions with NVRAM have content starting in the middle. In such case offset is set and nvram_header returns pointer to the middle. It means we have to respect offset when calculating remaining space. By the way use real MTD partition size (nvram_part_size variable) as we may want to bump NVRAM_SPACE in the (very near) future. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46251 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46258 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to the latest version, fix stdout loggingRafał Miłecki2015-07-081-2/+3
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46212 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46257 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: kernel: kmod-scsi-core: fix load on installJonas Gorski2015-07-041-2/+2
| | | | | | | | | | | | | | sd_mod depends on scsi_mod, but due to it being an AutoLoad and not AutoProbe module, it was not loading when installing the package, causing unknown symbol errors for sd_mod and anything depending on it. Closes #14927, #18293, #19351. Backport of r46176. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46177 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: uclibc++: make g++-uc* wrappers relocatableJo-Philipp Wich2015-07-031-2/+3
| | | | | | | | | | | | | | | | | | The g++-uc wrapper hardcodes $(STAGING_DIR) and $(TOOLCHAIN_DIR) paths which will not work outside of the original build environment. Replace the hardcoded staging_dir occurences with paths relative to the $STAGING_DIR environment variable to make the g++-uc* wrappers usable in an SDK environment. Fixes the libdb47 build failure reported at https://lists.openwrt.org/pipermail/openwrt-devel/2015-April/032455.html Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> Backport of r46162 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46163 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: make DMA stop related messages debug-only (#11862, #9654)Felix Fietkau2015-07-021-0/+74
| | | | | | | | | | | | | | | | | | | | | A long time ago, ath9k had issues during reset where the DMA engine would stay active and could potentially corrupt memory. To debug those issues, the driver would print warnings whenever they occur. Nowadays, these issues are gone and the primary cause of these messages is if the MAC is stuck during reset or busy processing a long transmission. This is fairly harmless, yet these messages continue to worry users. To reduce the number of bogus bug reports, turn these messages into debug messages and count their occurence in the "reset" debugfs file. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r46158 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46159 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mdns: fix ubus wait_for commandFelix Fietkau2015-07-021-1/+1
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r46156 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46157 3c298f89-4303-0410-b956-a3cf2f4a3e73