Commit Graph

503 Commits

Author SHA1 Message Date
Matthias Schiffer
7736f53dc4
Update LuCI to master branch 2017-01-18 16:28:48 +01:00
Sven Eckelmann
471852814d mac80211: Allow switching of the ath10k regulatory domain (#1001)
ath10k has to switch the regulatory domain when switching the default
country when ATH_USER_REGD is enabled. This is for example important when
switching from country US (FCC) to DE (ETSI). The ath implementation will
use ath_reg_dyn_country_user_allow to check if this is allowed.

Unfortunately, this function always seems to return false to
ath_reg_notifier_apply even when ATH_USER_REGD is enabled. But it must
actually always accept the requests from the user (when ATH_USER_REGD is
enabled) to correctly set the conformance test limits in the ath10k binary
blob.

Not doing it will sometimes allow too high transmit powers on edge channels
for correctly calibrated devices outside their default regulatory domain.

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2017-01-09 22:28:21 +01:00
Matthias Schiffer
99471f8d5d
ar71xx-generic: add support for TP-Link WBS210/510 (untested)
Closes #844
2017-01-06 12:02:32 +01:00
Matthias Schiffer
bee999dd90
ar71xx-generic: backport support for TP-LINK TL-WR1043ND v4
Fixes #961
2016-12-22 00:01:55 +01:00
Matthias Schiffer
1f08074438
x86: generalize partition discovery for sysupgrade
Backport a few patches to allow sysupgrades on mmcblk and similar block
devices.
2016-12-20 13:36:19 +01:00
Matthias Schiffer
7dce74c0f9
Refresh patches 2016-12-20 01:09:53 +01:00
David Lutz
ef39158ed1
ar71xx-generic: add Support for TP-LINK TL-WR940N v4 2016-12-13 01:31:43 +01:00
Matthias Schiffer
77c649e296
ar71xx-generic: update support list for CPE210/510/...
Fixes #975
2016-12-11 18:03:04 +01:00
Matthias Schiffer
a7d8409466
Update routing packages
This lifts batman-adv and alfred to version 2016.4.
2016-12-11 01:16:27 +01:00
Matthias Schiffer
1677b62e4b
ar71xx: fix LEDs for TL-WA801ND v3, remove BROKEN 2016-12-06 19:01:46 +01:00
Matthias Schiffer
28e697c448
ar71xx: fix sysupgrade on TL-WR801ND v3 2016-12-06 16:20:09 +01:00
Sven Eckelmann
eed79bc37c openwrt: Remove extra soc check in ath79_gpio_output_select (#965)
The  assignment of the gpio_count and reg_base in ath79_gpio_output_select
takes care that only supported platforms can use ath79_gpio_output_select.
But the rebase of the patches after the last OpenWrt base update
accidentally added an extra check for the SoC which was missing support
soc_is_qca955x().

Boots on QCA955X devices which were using ath79_gpio_output_select stopped
with

    Kernel bug detected[#1]:
    [...]
    Call Trace:
    [<803e6174>] ath79_gpio_output_select+0x30/0xe8
    [<803ed590>] om5p_acv2_setup+0x24/0x200
    [<803e4dc0>] ath79_setup+0x28/0x38
    [<80069ac8>] do_one_initcall+0x148/0x1ec
    [<803e2cc4>] kernel_init_freeable+0x150/0x208
    [<80065218>] kernel_init+0x10/0x114
    [<80060878>] ret_from_kernel_thread+0x14/0x1c

Fixes: a22c1d5670 ("Update OpenWrt base")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2016-12-05 10:42:40 +01:00
Matthias Schiffer
6ebf7120df
ar71xx: fix syntax error in /lib/ar71xx.sh
Fixes: 212c38f0 "ar71xx: add model detection for UBNT Rocket Ti"
2016-11-29 20:01:54 +01:00
Matthias Schiffer
78ccfaa58d
Update OpenWrt patches 2016-11-29 19:15:28 +01:00
Neal Oakey
212c38f074 ar71xx: add model detection for UBNT Rocket Ti (#943) 2016-11-29 15:33:19 +01:00
Sven Eckelmann
3d9a3f35be kernel: add at803x workaround for sgmii mode (#949)
Some (possibly broken) bootloaders incorrectly initialize the at8033 phy.
This breaks auto-negotation on these SGMII devices. The mode has therefore
to be set back in to a valid configuration by Linux.

Fixes #911
2016-11-29 15:29:19 +01:00
Matthias Schiffer
9279fe4b3b
ar71xx, ramips: reduce CPU load and flickering on devices using rsslieds
Fixes #897
2016-11-16 01:55:04 +01:00
Matthias Schiffer
0e85726a0a
ath9k: fix ath9k_hw_gpio_get() to return 0 or 1 on success
Fixes the Ubiquiti UAP Outdoor+ HSR.
2016-11-15 19:29:29 +01:00
Matthias Schiffer
de2551d435
Fix OpenWrt patch numbering 2016-11-14 22:38:58 +01:00
Andreas Ziegler
6107f215d2 x86: add mmc drivers to generic and 64 subtargets 2016-11-14 22:38:17 +01:00
Andreas Ziegler
aa61a5d489 x86-64: add pata drivers 2016-11-14 22:38:17 +01:00
Matthias Schiffer
5ef3d883a5
ar71xx-generic: backport region code support for TP-Link TL-WR841ND v11 2016-11-11 03:45:49 +01:00
Matthias Schiffer
60b4830c51
linux-firmware: switch back to git protocol from https for download
Using HTTPS breaks the download on Debian Wheezy. The switch was an
unintended side effect of the backport from LEDE.

Also, fix the commit message of the backport patch (mwlwifi is not updated
anymore since the last OpenWrt base upgrade).

Fixes #919
2016-11-10 03:30:16 +01:00
Matthias Schiffer
233a7a3c5e
ar71xx: fix syntax error in /etc/uci-defaults/01_leds 2016-11-05 04:36:08 +01:00
Matthias Schiffer
095583ba92
Update OpenWrt base 2016-11-02 17:33:54 +01:00
Matthias Schiffer
a606b32b17
ar71xx-generic: set region code for TL-WA901ND v4 and remove BROKEN
Tested-by: Jannis Pinter <jannis@pinterjann.is>
2016-10-15 19:11:35 +02:00
Matthias Schiffer
df5f4ad243
ath9k: remove intermediate queueing patch
The downgraded version of ath9k was reported to cause issues with Windows
clients before. Remove the problematic patch.
2016-10-13 10:02:11 +02:00
Matthias Schiffer
487922a8d9
Downgrade mac80211 to LEDE 6c2651566cce8f5b3a3d3b976439dee2bac5e07e
In addition, the temperature compensation support patch is reverted.

It seems that newer mac80211 version are less stable, so we downgrade it
for now.
2016-10-11 03:38:53 +02:00
Matthias Schiffer
9934d254da
kernel: add fix for CVE-2016-7117
This probably doesn't affect Gluon as nothing is using recvmmsg, but it's
still a good idea to get this fixed ASAP.
2016-10-11 02:15:42 +02:00
Matthias Schiffer
e1808451aa
Update OpenWrt base 2016-10-11 02:15:42 +02:00
Matthias Schiffer
82ef6599f8
mac80211: backport ath9k stability fix 2016-09-30 17:23:20 +02:00
Matthias Schiffer
7153fa3615
ath10k-firmware: add ath10k-firmware-qca988x-11s 2016-09-09 03:01:17 +02:00
Matthias Schiffer
183c35401a
mac80211, hostapd, ...: update to LEDE 42f559ed70897a7b74dd3e6293b42e6d2e511eaa 2016-09-07 05:49:54 +02:00
Matthias Schiffer
639c12b8e2
ar71xx-generic: add support for new TP-Link region codes
Generate flashable images for the Archer C7 v2 with current stock firmware
again.

To set the region code, the GLUON_REGION variable must be set to "us" or
"eu" in site.mk or as a make argument.

Fixes #860
2016-08-28 21:03:56 +02:00
Matthias Schiffer
1c6256907b
ar71xx-generic: add support for TL-WA801ND v3 (untested)
Fixes #800
2016-08-23 00:26:51 +02:00
Matthias Schiffer
b00c1a30c3
dropbear: update to LEDE 277f85c21ae0ede4e15e66cbd801b9fb502531df
Includes a few security updates and enables Curve25519 support.

Fixes #223
2016-08-22 19:23:15 +02:00
Matthias Schiffer
61cde569ad
ar71xx: backport fixes for better CPE210/510 support (again)
This patchset enables the RX LNA for the CPE210/510, improving RX by about
20dB. The profiles for CPE210 and CPE510 is split into two images.

The problematic patch switching the CPE510 to the secondary ART is left
out.
2016-08-22 18:42:33 +02:00
Matthias Schiffer
98557891da
mac80211, hostapd, iw, ...: update to LEDE 27dffa0b0c53a1a817a9a37d1647c7e70672273f 2016-08-09 04:12:28 +02:00
Matthias Schiffer
284c61d98e
mac80211, hostapd, iw, ...: update to LEDE b2ddfbc1c7b935cf931b4c336969b65947270ce9 2016-07-29 21:43:45 +02:00
Matthias Schiffer
66a7542a01
netifd: update to latest version 2016-07-29 21:30:26 +02:00
Matthias Schiffer
3d3eb24a97
ar71xx-generic: backport a few D-Link DIR-505 A1/A2 patches
Fixes #658
2016-07-28 16:33:49 +02:00
Matthias Schiffer
cb2ecbfdf0
Make libuecc a shared library, update Gluon packages 2016-07-28 01:06:56 +02:00
Matthias Schiffer
e773f686c9
ar71xx-generic: fix BOARDNAME for UAP AC Lite
Caused by a broken backport.

Fixes #689
2016-07-27 05:37:23 +02:00
Matthias Schiffer
fd80c4ea4b
netifd: fix broken download URL 2016-07-27 05:36:21 +02:00
Matthias Schiffer
aae05fe368
netifd: update to latest version from LEDE 2016-07-27 00:54:48 +02:00
Matthias Schiffer
7974284ed6
mac80211: update to LEDE b47f438d98cd4b731d7f4431448dde973eae4739 2016-07-26 01:12:16 +02:00
Matthias Schiffer
1c42aa0e42
libpcap: fix dependency of install-shared-so make target 2016-07-21 18:03:05 +02:00
Florian Klink
b2117fd31b
x86-generic: enable CONFIG_SATA_VIA 2016-07-20 14:44:23 +02:00
Matthias Schiffer
91881f45dc
mac80211: update to LEDE 6c2651566cce8f5b3a3d3b976439dee2bac5e07e
Also switch to kmod-ath10k-ct, so we can drop our AP+IBSS patch.
2016-07-19 22:39:24 +02:00
Sven Eckelmann
4af46bdb9c batman-adv: import Linux 4.7 fixes
Introduce new fixes:

 * Avoid nullptr dereference in bla after vlan_insert_tag
 * Avoid nullptr dereference in dat after vlan_insert_tag
 * Avoid tt_req_node list put for unhashed entry
 * Fix orig_node_vlan leak on orig_node_release
 * Fix non-atomic bla_claim::backbone_gw access
 * Fix reference leak in batadv_find_router
 * Free last_bonding_candidate on release of orig_node

Also replace the gluon version of the speedyjoin patch with the one already
included in openwrt-routing.

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-07-06 15:56:16 +02:00
Matthias Schiffer
a4b60a372b
ar71xx-generic: fix TL-WR841N/ND v11 LEDs
Fixes #812
2016-07-03 22:28:11 +02:00
Matthias Schiffer
267b9bd018
ar71xx-generic: add support for TP-Link TL-WR842N/ND v3 (untested) 2016-07-03 22:27:38 +02:00
Matthias Schiffer
634997ec87
Add target ramips-mt7621 with model D-Link DIR-860L B1
Needs more testing, high packet loss at the moment.
2016-07-03 21:56:32 +02:00
Matthias Schiffer
fd237f6f43
mac80211: update to LEDE 0a0caa2656c8db73518a1783743ede772e3ac40f 2016-07-03 19:22:09 +02:00
Matthias Schiffer
0676f5f394
x86: stop relying on hexdump for image build signature
Fixes #811
2016-07-03 19:16:30 +02:00
Matthias Schiffer
f1570cacb0
ramips: add missing patch to spi-nor backport to fix mt7621 support 2016-07-01 13:23:31 +02:00
Sven Eckelmann
93fe275000 batman-adv: Fix speedy join in gateway client mode
Speedy join only works when the received packet is either broadcast or an
4addr unicast packet. Thus packets converted from broadcast to unicast via
the gateway handling code have to be converted to 4addr packets to allow
the receiving gateway server to add the sender address as temporary entry
to the translation table.

Not doing it will make the batman-adv gateway server drop the DHCP response
in many situations because it doesn't yet have the TT entry for the
destination of the DHCP response.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2016-06-21 12:26:46 +02:00
Sven Eckelmann
fa04fff88d ar71xx-generic: Add support for OpenMesh MR1750v2
The new MR1750v2 device support is only available in LEDE master. The
relevant patches have to backported to add support for them in Gluon

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-06-17 20:04:00 +02:00
Sven Eckelmann
3ccd516971 ar71xx-generic: Add support for OpenMesh OM2P-HSv3
The new OM2P-HSv3 device support is only available in LEDE master. The
relevant patches have to backported to add support for them in Gluon

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-06-17 20:04:00 +02:00
Matthias Schiffer
7a2dd8b3e4
Revert "ar71xx: backport fixes for better CPE210/510 support"
This reverts commit ffd1f0b3a5.
2016-06-17 11:21:39 +02:00
Matthias Schiffer
04106989bb
Update routing packages
batman-adv & alfred 2016.2.
2016-06-16 06:03:09 +02:00
Matthias Schiffer
2b5bf4c2a2
Update OpenWrt and LuCI packages 2016-06-16 04:40:45 +02:00
Matthias Schiffer
80751d9b6d
kernel: change kmod-crypto-{core,arc4} to builtin
Another backported upstream change.
2016-06-16 04:29:22 +02:00
Matthias Schiffer
d7c1c7fffe
kernel: make IPv6 builtin
Packages in the openwrt-routing master have adjusted to this upstream
change, so we follow. Also saves a bit of space.
2016-06-16 01:24:43 +02:00
Matthias Schiffer
20e57a1c71
build: backport a few patches for better Make 4.2+ support 2016-06-15 19:32:15 +02:00
Jan Niehusmann
1059a798ef ar71xx: add GL-AR150 support
Mainly applying a vendor patch from https://github.com/domino-team/OpenWrt-patches

(https://raw.githubusercontent.com/domino-team/OpenWrt-patches/master/AR150%2C%20AR300%2C%20Domino%20-%20CC1505/000-gl-ar150-cc.patch)
2016-06-15 15:04:04 +02:00
Matthias Schiffer
ffd1f0b3a5
ar71xx: backport fixes for better CPE210/510 support
This patchset enables the RX LNA for the CPE210/510, improving RX by about
20dB. The profiles for CPE210 and CPE510 is split into two images, so the
CPE510 can use the correct ART offset, improving the TX power by 10dB.

Fixes #796
2016-06-09 05:53:57 +02:00
Matthias Schiffer
5ea9c0833a
node: fix CXXFLAGS on host install
Now really fixes the build on Debian Jessie...
2016-05-30 01:00:00 +02:00
Matthias Schiffer
ca7c71a52b
node: fix build on Debian Jessie 2016-05-29 20:19:21 +02:00
Matthias Schiffer
4becc7dbbd
Backport fixes for the WNR2200 2016-05-29 14:28:16 +02:00
Matthias Schiffer
b56b6640e6
mac80211: backport ath9k GPIO support 2016-05-29 13:47:29 +02:00
Matthias Schiffer
59d4b3056f
Update patches
For some reason, the filenames of the OpenMesh support patches were
truncated.
2016-05-29 12:00:17 +02:00
Matthias Schiffer
9fc0dcdd7a
Merge remote-tracking branch 'origin/doubles-fmt' 2016-05-28 16:17:04 +02:00
Matthias Schiffer
13465e9365
node: downgrade to v0.12.14
Allow to build Gluon with GCC 4.7 (e.g. on Debian Wheezy) as host compiler
again.
2016-05-28 16:06:43 +02:00
Jan-Philipp Litza
f7eda9381f respondd modules: Use proper formatting of doubles
Most doubles that are delivered via respondd have limited input
precision, but are converted with up to 17 digits of precision. That can
cause ugly blowups like 0.2800000000000001 in the output, which is
avoided by specifying better format strings (like "%.2f" in most cases).
2016-05-26 17:38:36 +02:00
Sven Eckelmann
69ce123457 ar71xx-generic: Add support for OpenMesh MR1750/OM5P-AC
The new ath9k/ath10k based devices are only available in OpenWrt trunk. The
relevant patches have to backported to add support for them in Gluon

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-05-23 11:15:30 +02:00
Sven Eckelmann
62feb04fe1 ar71xx-generic: Generate OpenMesh sysupgrades in OpenWrt
The workaround to generate sysupgrade images for OpenMesh devices in gluon
is replaced in LEDE/OpenWrt by a special patch. It is therefore better to
drop the workaround and use the upstream version.

Reported-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-05-19 20:59:34 +02:00
Matthias Schiffer
087112a09b
ar71xx-generic: add support for UniFi AC PRO/LITE (LITE untested)
Also backport some patches improving QCA956x support.
2016-05-14 00:48:10 +02:00
Matthias Schiffer
c05f28d1a3
mpc85xx-generic: fix flash detection after spi-nor backport 2016-05-11 12:01:57 +02:00
Matthias Schiffer
340df0dbee
Fix build with GCC 6
Make pkg-config, mkimage and gcc build with GCC 6 as host compiler. Fix
miscompilation of node.

Fixes #755
2016-05-09 17:09:00 +02:00
Matthias Schiffer
40d087de84
kernel: backport spi-nor driver from 4.4.9
Fixes #687
2016-05-07 00:48:34 +02:00
Matthias Schiffer
80d5f5f995
netifd: update and revert problematic patch
Fixes VLANs with shell protos on top of WLAN devices.

Fixes #754
2016-05-05 22:23:24 +02:00
Matthias Schiffer
7fd60ac48a Update OpenWrt base
This also reverts commit 24d8695d8ceeb09d6c84bcd6ee4ffe087c9b386b...
2016-04-29 17:55:51 +02:00
Matthias Schiffer
8f6cc2dadd ar71xx-generic: add TP-LINK TL-WR841ND v11 support
Fixes #721
2016-04-25 18:18:56 +02:00
Matthias Schiffer
10a469bcfc Update OpenWrt base 2016-04-24 11:54:32 +02:00
Matthias Schiffer
7f1c11cf7e Backport parallel download locking support
Fixes #733
2016-04-24 09:11:20 +02:00
Matthias Schiffer
b46589a637 xtables-addons: build: fix configure compatiblity with POSIX shells
Fixes #710.
2016-04-05 20:59:25 +02:00
Matthias Schiffer
3732c26e95 ar71xx-generic: add support for TP-Link TL-WR710N v2.1 2016-04-02 00:59:19 +02:00
Matthias Schiffer
196722663a ar71xx-generic: backport a few TP-Link model detection and upgrade check patches 2016-04-02 00:54:07 +02:00
Matthias Schiffer
4f051061de Update OpenWrt base 2016-04-01 21:09:29 +02:00
Matthias Schiffer
f4208f2a2b build: support LibreSSL as provider of openssl
Fixes #709
2016-03-30 03:01:26 +02:00
Matthias Schiffer
d9ca449ed0 generic: mtd: spi-nor: disable protection for Winbond flash at startup 2016-03-29 22:00:58 +02:00
Matthias Schiffer
0b25275976 Update to libuecc v7 and fastd v18 2016-03-29 00:35:02 +02:00
Matthias Schiffer
d4d9c349a2 Revert "generic: mtd: spi-nor: always disable software protection"
This reverts commit 1ccd24df77.

This commit probably causes problems with some flash chips:

http://patchwork.ozlabs.org/patch/549173/
http://patchwork.ozlabs.org/patch/553683/
2016-03-26 14:28:26 +01:00
Matthias Schiffer
1ccd24df77 generic: mtd: spi-nor: always disable software protection
Fixes unwriteable flash when the bootloader leaves it protected.
2016-03-26 13:23:13 +01:00
Matthias Schiffer
a26f781404 ar71xx: make bootconsole wait for both THRE and TEMT
Original commit message:

    MIPS: ath79: make bootconsole wait for both THRE and TEMT

    This makes the ath79 bootconsole behave the same way as the generic 8250
    bootconsole.

    Also waiting for TEMT (transmit buffer is empty) instead of just THRE
    (transmit buffer is not full) ensures that all characters have been
    transmitted before the real serial driver starts reconfiguring the serial
    controller (which would sometimes result in garbage being transmitted.)
    This change does not cause a visible performance loss.

    In addition, this seems to fix a hang observed in certain configurations on
    many AR7xxx/AR9xxx SoCs during autoconfig of the real serial driver.

    A more complete follow-up patch will disable 8250 autoconfig for ath79
    altogether (the serial controller is detected as a 16550A, which is not
    fully compatible with the ath79 serial, and the autoconfig may lead to
    undefined behavior on ath79.)
2016-03-24 18:34:34 +01:00
Alexander Dahl
d2b74b4cf0 openwrt: add patch fixing sysupgrade on Xen DomU
Patch tested on v2016.1.x branch with Freifunk Magdeburg firmware on
Debian Jessie amd64 Xen host. See the same patch in our gluon fork here:
https://github.com/FreifunkMD/gluon/blob/fix-sysupgrade-xen/patches/openwrt/0058-x86-fix-platform_export_bootpart-for-Xen-virtual-disks.patch

Sysupgrade was tested successfully by manually making the change before
upgrading in the filesystem of the running node and upgrading to the
fixed FFMD experimental build in config mode via expert settings in
webgui.

Patch also submitted to OpenWRT trunk already.

Signed-off-by: Alexander Dahl <alex@netz39.de>
2016-03-17 22:12:44 +01:00
Matthias Schiffer
e729d33bab netifd: update to latest git master 2016-03-09 06:47:53 +01:00
Matthias Schiffer
01878f4bbc Backport GPIO control support
Backport of rr46271 and r46922.

Based-on-patch-by: Julian Kornberger <jk+github@digineo.de>
2016-03-07 06:08:32 +01:00
Matthias Schiffer
1f06d20705 ath10k: remove hard dependency on ath10k-firmware-qca988x
We use our own firmware package.
2016-03-04 17:40:56 +01:00
Matthias Schiffer
6f23ef9eb7 Update OpenWrt base
We got most of our patches backported by upstream :)
2016-03-01 12:52:12 +01:00
Matthias Schiffer
ff574cfe65 ar71xx/lzma-loader: fix O32 ABI conformance
Backport of r48279
2016-02-28 05:00:50 +01:00
Matthias Schiffer
b6c576645f kernel/gpio_keys: load module on pre-init
fix rescue mode on wdr4900

Backport of r48793
2016-02-28 04:41:39 +01:00
Matthias Schiffer
00b620ae51 Update mac80211 backport to r48810 2016-02-28 03:27:49 +01:00
Matthias Schiffer
c9f7a17d3a brcm2708-gpu-fw: move pkg build dir to kernel build dir to fix rebuild bugs after cleaning the kernel tree
Backport of r48732
2016-02-28 02:30:34 +01:00
Matthias Schiffer
d2ab156605 Update OpenWrt base 2016-02-28 02:02:56 +01:00
Matthias Schiffer
89b3dca8b5 kernel: disable software protection bits for macronix flash chips at init
The bootloader of AirOS 5.6.x doesn't remove the flash protection for us,
so we have to do this ourselves.
2016-02-26 04:39:50 +01:00
Matthias Schiffer
56f1cd5383 firmware-utils: mkfwimage: fix firmware_max_length for XM layout
This should fix problems with flashing from AirOS 5.6.x.
2016-02-25 22:50:58 +01:00
Matthias Schiffer
b9161061fa Merge branch 'ubnt-detection' of https://github.com/oakey-dev/gluon 2016-02-25 17:40:36 +01:00
Neal Oakey
a07419bbfe fix UBNT XM model detection 2016-02-14 20:59:49 +01:00
Matthias Schiffer
a40d3cddba mac80211: update backport to r48681 2016-02-09 18:44:22 +01:00
Matthias Schiffer
9a10ad688d build: add support for choosing a different url filename part than the output file
Backport of r47591 and r48427
2016-02-09 13:50:22 +01:00
Matthias Schiffer
19242f4deb Remove all uses of batman-adv-visdata
Should be redundant after 0bd0df6f93
2016-02-08 20:58:28 +01:00
Matthias Schiffer
c523238f82 Update routing packages 2016-02-08 20:13:15 +01:00
Matthias Schiffer
d84028301e Update LuCI packages 2016-02-08 19:49:20 +01:00
Matthias Schiffer
4ebbf01a51 Update OpenWrt packages 2016-02-08 19:42:55 +01:00
Matthias Schiffer
43ceba8cb9 Update OpenWrt base 2016-02-08 18:41:58 +01:00
Felix Kaechele
d45b2def40 backport: Futro support in x86-generic
Signed-off-by: Felix Kaechele <felix@kaechele.ca>
2016-02-08 14:16:11 +01:00
Matthias Schiffer
10f7a88ba9 Backport fix for CVE-2016-0728 (local root exploit)
We're too close to the release of Gluon 2016.1 to do a full update of our
OpenWrt tree, therefore just make a backport of this.
2016-02-06 07:39:51 +01:00
Matthias Schiffer
7c67ff0cf1 ath9k: fix HSR tuner support for UniFi Outdoor Plus
Also remove the BROKEN check as the UniFi Outdoor Plus support seems to
work fine now.

Fixes #272
2016-01-17 23:17:34 +01:00
Matthias Schiffer
0bd0df6f93 kernel: fs, seq_file: fallback to vmalloc instead of oom kill processes
Fixes #177
2016-01-04 10:26:40 +01:00
Matthias Schiffer
97471a1bb7 lua-cjson: add host build support 2016-01-02 23:49:25 +01:00
Matthias Schiffer
289f58d5b9 ar71xx: another fix to wndr3700_board_detect 2016-01-02 23:46:48 +01:00
Matthias Schiffer
73a818b896 alfred: use batman-adv-visdata 2015-12-18 17:46:24 +01:00
Matthias Schiffer
3655a5b228 Revert "bzip2: extend/fix the Host/Install rule to install libbz2.so files"
Fixes #589
2015-12-08 19:53:21 +01:00
Ranlvor
e73d3c5c52
OpenSSL: Added source/old to PKG_SOURCE_URL
OpenSSL moves old versions of the library from http://www.openssl.org/source/
to http://www.openssl.org/source/old/1.0.2/ breaking the old links. That
behavior breaks the OpenWRT-build every time OpenSSL releases a new version.

This patch adds http://www.openssl.org/source/old/1.0.2/ to the PKG_SOURCE_URL
of OpenSSL to avoid breaking the build whenever OpenSSL releases a new
version.
2015-12-06 16:14:51 +01:00
Matthias Schiffer
6110d3d444 acx-mac80211: mark as BROKEN to avoid compile failure on mipsel targets 2015-11-28 22:41:42 +01:00
Matthias Schiffer
fabb0143c4 base-files: add missing public key
This patch is already included in the current OpenWrt CC branch.
Cherry-pick for now as we're very close to the Gluon 2015.2 release.
2015-11-21 18:36:45 +01:00
Matthias Schiffer
77829cda98 ar71xx: fix wndr3700_board_detect for some NETGEAR WNDR3700v2 (again) 2015-11-20 15:23:02 +01:00
Matthias Schiffer
3f70440527 ar71xx: fix AR71XX_MODEL on TP-Link TL-WR703N 2015-11-20 00:04:59 +01:00
Matthias Schiffer
ef38d386cb Fix the mac80211 backport not to remove the dependencies on kmod-crypto-arc4 and kmod-crypto-aes
The trunk version of mac80211 doesn't need these dependencies anymore as
they are compiled into the kernel.

While this didn't cause any issues for Gluon as we always build the kernel
with all modules, this fix makes the patch work on a plain OpenWrt CC as
well.
2015-11-18 23:07:46 +01:00
Matthias Schiffer
8ef02f33e9 ar71xx: backport ath10k calibration data load changes 2015-11-18 02:03:35 +01:00
Matthias Schiffer
0b77bee3d7 ar71xx: fix TL-WR941ND v6 switch PHY mask
Fixes #550
2015-11-08 20:48:17 +01:00
Matthias Schiffer
abd43c163c ar71xx: add support for TP-LINK TL-WR1043ND v3 2015-11-05 18:17:28 +01:00
Matthias Schiffer
a3feff21cf ar71xx: add TP-LINK TL-WR941ND v6 support (again) 2015-11-02 19:26:15 +01:00
Matthias Schiffer
2c6484ca15 mac80211: backport from trunk r47249 + additional patches 2015-11-02 02:58:55 +01:00
Matthias Schiffer
6be3893a7b ipv6: fix crash on ICMPv6 redirects with prohibited/blackholed source
Fixes #540
2015-11-02 02:02:37 +01:00
Matthias Schiffer
7475ef8f14 Update OpenWrt base
Update kernel to 3.18.23
2015-11-02 00:16:09 +01:00
Matthias Schiffer
172ad68134 node: add python/host to HOST_BUILD_DEPENDS as well 2015-10-28 01:15:03 +01:00
Matthias Schiffer
3d862afb17 Update OpenWrt base 2015-10-26 19:02:12 +01:00
Matthias Schiffer
400613cb8b libuecc: update to v6 2015-10-25 17:32:30 +01:00
Matthias Schiffer
fe0fbcf2d5 ar71xx: fix ath79_soc_rev value for QCA9531 ver. 2
ath9k expects to get revision id 2 for the QCA9531 ver. 2 rev. 0. This
fixes the very low TX power on some devices like the TP-LINK
TL-WR841ND v10.

As ath79_soc_rev is only used to get the revision number to ath9k on the
QCA9533, just set it to the expected value on the ver. 2.
2015-10-22 13:58:08 +02:00
Matthias Schiffer
162c4b0cdd Update CPE210/510 v1.1 support patches
Some more cleanup.
2015-10-16 01:20:16 +02:00
Matthias Schiffer
cad2e8e4b7 ar71xx-generic: add support for CPE210/220/510/520 v1.1 (untested) 2015-10-15 22:03:20 +02:00
A.Kasper
b88c9f7877 kernel: add kernel modules for rtl8150 and rtl8152 based usb-to-ethernet converters
This patch adds the kernel modules to for the very common Realtek RTL8150 and Realtek 8152 based USB-to-Ethernet converters.
After this patch the following packages can be added to targets (or site.mk):
kmod-usb-net-rtl8150
kmod-usb-net-rtl8152

The modules are already available in openwrt trunk, but not in Chaos Calmer. This patch is just a temporary backport.
The modules are needed for Futros with additional USB-Ethernet-Interface and VMs with dedicated USB-NIC
2015-10-12 11:56:35 +02:00
Matthias Schiffer
cd751b8b9e Revert "ar71xx: remove WZR-600DHP from Buffalo WZR-HP-AG300H/WZR-600DHP model name string for now"
This reverts commit 8ad3c88179.
2015-10-11 20:56:53 +02:00
Matthias Schiffer
8ad3c88179 ar71xx: remove WZR-600DHP from Buffalo WZR-HP-AG300H/WZR-600DHP model name string for now
We can't use the same image for these two devices, so as a workaround,
remove ZR-600DHP from the name for now, so the autoupdater can work and
users aren't confused.
2015-10-11 20:30:15 +02:00
Matthias Schiffer
fddbc1df2e base-files: add /etc/profile.d support 2015-10-11 18:14:08 +02:00
Matthias Schiffer
ffc7baf9fb ar71xx: add support for TP-LINK TL-WR841N/ND v10 (untested) 2015-10-11 18:07:05 +02:00
Matthias Schiffer
46f996b4f0 Update modules
This also takes us past the OpenWrt 15.05 final release.
2015-09-21 21:02:31 +09:00
Matthias Schiffer
a71ab2fb72 Get rid of rpcd
LuCI's authentication won't work without rpcd, but we aren't using the
authentication anyways. Users who need it can just install rpcd explicitly.

Fixes #452
2015-09-06 01:37:42 +02:00
Matthias Schiffer
d19b05e7b7 Merge remote-tracking branch 'origin/br-client-ifname-list' 2015-09-04 21:13:08 +02:00
Nils Schneider
7c6703d84b luci.model.uci: add add_to_set / remove_from_set 2015-09-04 20:31:53 +02:00
Matthias Schiffer
faba9efb88 Merge branch 'jsonc-sink' of https://github.com/FreifunkBremen/gluon 2015-09-04 17:15:58 +02:00
Jan-Philipp Litza
961e6cc1c0 Add sink support to luci-lib-jsonc and use it where needed 2015-09-04 12:27:45 +02:00
Matthias Schiffer
e3d89ee8c4 ath9k: add HSR tuner support for UniFi Outdoor Plus 2015-09-03 23:51:19 +02:00
Matthias Schiffer
f0a6400d5d Refresh OpenWrt patches 2015-09-03 22:03:46 +02:00
Matthias Schiffer
d2909270a7 Merge remote-tracking branch 'origin/odhpc6c-minor-fixes' 2015-09-03 20:59:31 +02:00
Nils Schneider
40a1a3c16c odhcp6c: minor fixes 2015-09-03 18:07:48 +02:00
Matthias Schiffer
501affad08 Revert "mac80211: backport from trunk r46760"
This reverts commit 91b3c1d371.
2015-09-03 15:24:51 +02:00
Matthias Schiffer
740e8b67c5 Revert "ar71xx: fix TP-LINK TL-WR941ND v6 support"
This reverts commit 6da1677d92.
2015-09-03 15:24:42 +02:00
Matthias Schiffer
6da1677d92 ar71xx: fix TP-LINK TL-WR941ND v6 support 2015-09-01 22:14:57 +02:00
Matthias Schiffer
91b3c1d371 mac80211: backport from trunk r46760 2015-09-01 22:14:57 +02:00
Jan-Philipp Litza
8e670bd3fd Add patch "luci-lib-jsonc: Fix memory leak in stringify" 2015-08-31 19:56:00 +02:00
Jan-Philipp Litza
15a80aaffd Switch from luci-lib-json to luci-lib-jsonc
Apart from replacing a patch for the former by two patches for latter,
this involved minimal adaptations of the lua scripts in the following
packages:

* gluon-announce
* gluon-announced
* gluon-mesh-batman-adv-core
* gluon-status-page
2015-08-30 21:05:13 +02:00
Matthias Schiffer
3dbe4bc80f Update modules 2015-08-28 19:31:41 +02:00
Matthias Schiffer
0f427af474 Avoid build dependency on libopenssl 2015-08-28 10:48:41 +02:00
Matthias Schiffer
a1071bc5d4 Update modules 2015-08-13 20:27:07 +02:00
Matthias Schiffer
d432a0a214 alfred: not only wait for the interface, but also a link-local address 2015-08-09 18:13:45 +02:00
Matthias Schiffer
4b23674393 base-files: default_postinst: propagate the real postinst return code
Fixes site.conf checks.
2015-08-07 18:50:03 +02:00
Matthias Schiffer
11bffa59db Update routing packages
This also updates batman-adv & alfred to 2015.1
2015-08-06 22:31:28 +02:00
Matthias Schiffer
397d56e317 batman-adv: fix patch ordering 2015-08-06 21:42:48 +02:00
Matthias Schiffer
b408e1c99e batman-adv: decrease maximum fragment size
This should workaround batman-adv's inability to deal with different MTUs
which need fragmentation.

Fixes #435
2015-08-06 21:31:46 +02:00
Matthias Schiffer
be9182d377 Backport some QCA953x fixes
This might improve stability on the TL-WR841 v9.
2015-08-06 19:24:37 +02:00
Matthias Schiffer
912ab30d3a Update OpenWrt base 2015-08-06 16:37:23 +02:00
Matthias Schiffer
75cebd236d hostapd: prevent channel switch for 5GHz
hostapd would switch the primary and secondary channel on 5GHz networks in
certain circumstances, completely breaking the adhoc interfaces of the WLAN
adapter (they would lose their configuration).

As a temporary fix, disable this channel switch function.
2015-07-27 20:45:33 +02:00
Nils Schneider
03ed475a42 openwrt/mac80211: set mcast-rate for mesh point interfaces 2015-07-24 21:54:41 +02:00
Matthias Schiffer
1195760cb6 ath10k: update Candelatech firmware to v14 2015-07-23 02:27:04 +02:00
Matthias Schiffer
dfcac0aaa5 ar71xx: fix wndr3700_board_detect for some NETGEAR WNDR3700v2 2015-07-23 01:41:25 +02:00
Matthias Schiffer
f6498e8773 Update modules 2015-07-18 18:02:13 +02:00
Matthias Schiffer
303712d4b4 brcm2708: don't use gzip -k 2015-07-17 20:53:19 +02:00
Matthias Schiffer
2eb59ddec0 Add support for sunxi target and BananaPi profile (untested) 2015-07-16 23:07:10 +02:00
Matthias Schiffer
cee83c60c0 brcm2708: add sysupgrade support 2015-07-15 22:06:01 +02:00
Matthias Schiffer
efbc88ddba Update modules 2015-07-10 20:34:11 +02:00
Matthias Schiffer
cb40f149f3 Add support for brcm2708-bcm2708 and -bcm2709 targets
Original patch by @MPW1412
2015-07-10 19:38:41 +02:00
Matthias Schiffer
961d82e37f Add x86-64 target 2015-07-09 01:20:21 +02:00
Matthias Schiffer
1f3e66cf14 Update OpenWrt base 2015-07-04 17:22:40 +02:00
Matthias Schiffer
bccfc0419e Add support for TP-LINK TL-WR740N/TL-WR741ND
The TL-WR741ND will identify itself as a TL-WR740N/ND as well. This is fine as
the images are identical anyways.
2015-06-21 23:01:58 +02:00
Matthias Schiffer
0df337fbe4 Fix routing from node to mesh
Recent changes in the routing configuration of OpenWrt broke source address
selection, sometimes leading to the node trying to contact other addresses in
the mesh network from the next-node address.

Revert the problematic commits until this has been solved upstream.
2015-06-21 05:57:23 +02:00
Matthias Schiffer
6c378d1726 batman-adv: refresh no_rebroadcast patch to apply to 2015.0 cleanly 2015-06-15 12:37:38 +02:00
Matthias Schiffer
de0b59754d luci-lib-json: ignore null keys to allow encoding empty objects 2015-06-10 11:10:38 +02:00
Matthias Schiffer
4b01ecce7c Update modules 2015-06-10 11:01:25 +02:00
Matthias Schiffer
06cffbdde8 Update modules 2015-06-04 20:12:45 +02:00
Matthias Schiffer
ab10be9f50 We're on Chaos Calmer now 2015-05-22 01:09:19 +02:00
Matthias Schiffer
3f80b65856 iwinfo: update NanoStation (Loco) txpower offsets 2015-05-04 20:47:26 +02:00
Matthias Schiffer
531520032c mpc85xx: fix WDR4900 ethernet MAC address 2015-04-30 03:40:04 +02:00
Matthias Schiffer
326143f502 batman-adv (compat 15): fix application of no_rebroadcast option 2015-04-02 20:24:42 +02:00
Matthias Schiffer
9449f0f5d8 Update NETGEAR WNDR3700/3800 model string detection patch 2015-03-29 14:06:56 +02:00
Matthias Schiffer
5415806f33 x86: update PARTUUID patch to work with leading zeros 2015-03-23 21:33:43 +01:00
Matthias Schiffer
f573627462 base-files: disable reset button handling
This conflicts with our reset button usage.
2015-03-21 16:41:37 +01:00
Matthias Schiffer
34b34d0c3f luci: fall back to English if no language matches 2015-03-19 21:29:30 +01:00
Matthias Schiffer
7401d02ca4 Add i18n support 2015-03-18 20:21:24 +01:00
Matthias Schiffer
8fbe5d88e0 Refresh openwrt patches 2015-03-18 20:18:54 +01:00
Matthias Schiffer
ab3322079c Fix ath10k build on x86 2015-03-16 15:52:53 +01:00
Matthias Schiffer
630de84465 Get rid of the static kernel configuration files
With a backported patch from the OpenWrt trunk, it is now easy to generate an
equivalent configuration using CONFIG_ALL_KMODS.

The build will take a bit longer because all kernel module packages are actually
built even when they are not included in the image, but adding new targets
becomes a lot easier.

Also, related documentation updates and fixes.
2015-03-16 13:54:09 +01:00
Matthias Schiffer
c0200ebd42 ar71xx: fix TP-LINK TL-WDR3600/4300 RFKILL switch positions 2015-03-15 21:04:21 +01:00
Matthias Schiffer
692a7d5261 Add experimental fix for NETGEAR WNDR3700/3800 model string detection 2015-03-15 19:57:56 +01:00
Matthias Schiffer
22b14a5f54 x86: better rootfs handling 2015-03-15 18:18:13 +01:00
Matthias Schiffer
58d733f9a0 Add support for GL.iNet 6416A and 6408A 2015-03-13 12:02:35 +01:00
Matthias Schiffer
ce0931384e uClibc: fix syscall() for syscalls with 6 arguments on PowerPC 2015-03-11 18:44:57 +01:00
Matthias Schiffer
ba26256138 ar71xx: Archer C5/C7 LED fixes 2015-03-10 14:09:34 +01:00
Matthias Schiffer
8aa65f1c2c mac80211: update ath10k to compat-wireless-2015-03-05
Also add some patches from OpenWrt trunk and use the CT ath10k firmware.
2015-03-10 13:20:12 +01:00
Matthias Schiffer
a376c6cf64 Add support for the UniFi AP Outdoor+ (broken because of WLAN issues) 2015-02-17 21:29:57 +01:00
Matthias Schiffer
f7e3bdc0a9 Add support the TP-LINK TL-WR941ND v5 and v6 (v6 untested) 2015-02-03 17:24:13 +01:00
Matthias Schiffer
07e9b94601 Update fastd and libuecc 2015-01-29 07:48:33 +01:00
Matthias Schiffer
3de13c5d03 Add OpenWrt patches for D-Link DIR-615 rev. C1 2015-01-28 15:04:11 +01:00
Matthias Schiffer
27655d216c Update OpenWrt base 2015-01-21 00:10:09 +01:00
Matthias Schiffer
8e41ff616a Add support for TP-LINK TL-WA860RE 2015-01-16 20:07:58 +01:00
Matthias Schiffer
fbc1eb12b0 build: explicitly unexport CONFIG_SITE 2015-01-16 04:36:27 +01:00
Matthias Schiffer
334858f4cf Backport another MacOSX build fix 2015-01-11 09:15:07 +01:00
Matthias Schiffer
59a9ea1978 ar71xx: replace "workaround" reboot patch with the real fix (hopefully) 2015-01-09 09:29:25 +01:00
Matthias Schiffer
28f3e182a7 Update fastd package to v16-2 2015-01-08 01:27:43 +01:00
Matthias Schiffer
69c94b3f9f Update batman-adv and alfred to v2014.4 2015-01-07 16:48:51 +01:00
Matthias Schiffer
a766fb095d batman-adv (compat 15): add two more patches from the upstream 'maint' branch 2014-12-15 01:45:46 +01:00
Matthias Schiffer
edbf5ca186 ar71xx: add workaround patch for WDR3600/4300 reboot
While it isn't clear why this patch helps, it doesn't seem to have any negative
effects, so let's include it for now...
2014-12-15 00:18:49 +01:00
Matthias Schiffer
111cf1268a busybox: enable telnet only when root password is really empty, not when it is locked
Otherwise, telnet login is allowed by default when neither a password nor SSH
keys are configured.
2014-12-05 19:06:04 +01:00
Matthias Schiffer
4113b17746 Add support for Ubiquiti NanoStation and Loco M XW (marked as broken for now) 2014-11-26 23:57:34 +01:00
Matthias Schiffer
ab729ed307 Add support for TP-LINK CPE210/220/510/520 2014-11-26 21:35:15 +01:00
Matthias Schiffer
246f6751b7 fastd: update to v16 2014-11-15 18:51:02 +01:00
Matthias Schiffer
d42b20e8b8 odhcp6c: always accept RDNSS, independent of the default router lifetime 2014-11-13 01:18:16 +01:00
Matthias Schiffer
3949cf367d Update OpenWrt core and packages 2014-11-13 00:24:28 +01:00
Matthias Schiffer
bb6d0f1179 Update LuCI 2014-09-09 19:49:44 +02:00
Matthias Schiffer
b739881fe4 Update OpenWrt 2014-09-01 15:54:43 +02:00
Matthias Schiffer
db9376ed4a Update batman-adv (15) to v2014.3 2014-08-30 19:57:59 +02:00
Matthias Schiffer
62268d4ab0 Update OpenWrt and packages
This significantly improves fastd performance, to the level it was before
Barrier Breaker.
2014-08-30 19:49:13 +02:00
Matthias Schiffer
80fd91d2b1 Re-introduce 'no_rebroadcast' option for batman-adv compat 15 2014-08-22 13:54:10 +02:00
Matthias Schiffer
0efe5e81fd Update OpenWrt patch 2014-08-22 13:53:48 +02:00
Matthias Schiffer
c504c5e118 ar71xx: correctly detect hardware revision on TP-Link Archer C5 and C7 2014-08-16 17:59:32 +02:00
Nils Schneider
793e422c10 luci: add label to fvalue 2014-08-09 09:59:38 +02:00
Matthias Schiffer
e53f3102a7 Add support for TL-WR1043N/ND v2 2014-08-07 16:21:56 +02:00
Matthias Schiffer
e164bac87a Switch to Barrier Breaker 2014-08-07 16:21:56 +02:00
Matthias Schiffer
547fc42ff9 Improve haveged patch 2014-08-06 14:19:09 +02:00
Matthias Schiffer
51c0ea9078 Switch to "official" LuCi git mirror on git.openwrt.org and update to current master 2014-08-06 12:09:15 +02:00
Matthias Schiffer
f204ca87f0 Update routing repo to 14.07
This gets us an up-to-date alfred (and batman-adv 2014.x, as soon as we start to
support it).
2014-08-06 11:56:45 +02:00
Matthias Schiffer
c30f075ea7 Update OpenWrt packages repo to 14.07
The only packages we use from this repo are haveged and (now) fastd and its
dependencies, so we can make the switch safely without updating OpenWrt itself
to Barrier Breaker yet.
2014-08-06 11:55:24 +02:00
Matthias Schiffer
0a6523d347 Remove now unneeded dnsmasq patch 2014-08-04 20:34:08 +02:00
Matthias Schiffer
a15ad8fee4 Update netifd from Barrier Breaker (r41888) 2014-07-29 22:33:23 +02:00
Matthias Schiffer
9b5fbc4601 Reduce fw3 log spam in netifd scripts 2014-07-26 17:08:26 +02:00
Matthias Schiffer
5f82a0815b Update netifd from Barrier Breaker 2014-07-26 16:48:48 +02:00
Matthias Schiffer
e9aa0533ce Update netifd and odhcp6c from Barrier Breaker 2014-07-26 04:02:21 +02:00