Commit Graph

427 Commits

Author SHA1 Message Date
Matthias Schiffer
154567dfdd
openwrt: Revert "kernel: nf_conntrack_rtcache: fix cleanup on netns delete and rmmod" 2019-11-23 17:28:17 +01:00
Matthias Schiffer
c3e764d1df
modules: update OpenWrt base
6160f773fef2 ipq40xx: add support for AVM FRITZ!Repeater 1200
63b1e8f8d226 ipq-wifi: add AVM FRITZ!Repeater 1200 bdf
496489ea95af uboot-fritz4040: update to latest HEAD
e30ca0d90a98 mac80211: update to version 4.19.85
b1ef0e443720 layerscape: Fix kernel patch
ad0463c2e875 kernel: Add missing configuration option
b0adf79c9e7c firewall: update to latest Git HEAD
b41619592792 firewall: update to latest git HEAD
3685f86cefac cns3xxx: use proper macros for defining partition regions
db345220b485 kernel: bump 4.14 to 4.14.155
538ca42ddad8 wireless-regdb: fix build when python2 from package feeds exists
2751c5c75219 wireless-regdb: fix patch fuzz
d6ecadb05c2b wireless-regdb: fix Makefile indentation
0a4071b550eb wireless-regdb: set PKGARCH:=all
e8d528af7e91 wireless-regdb: prefer python provided by make variable
53d8de0207e8 wireless-regdb: Make it build with python2
f2ef9b4feafe wireless-regdb: update to 2019.06.03
8fac0b398c34 ar71xx: fix buttons for TP-Link TL-WDR4900 v2
3c65c47ce6fd ar71xx: fix LED setup for TL-WDR4900 v2
b6c80f85cb7b ramips: set uImage name of WeVO 11AC NAS and W2914NS v2
e945c43142ab ar71xx: fix MAC address setup for TL-WDR4900 v2
8a21bc36229d ar71xx: fix MAC addresses for Archer C5 v1, C7 v1/v2, WDR4900 v2
2019-11-22 22:45:19 +01:00
Matthias Schiffer
02cbe0b794
kernel: refresh patches 2019-11-19 23:43:37 +01:00
Matthias Schiffer
0374526a8e
kernel: remove obsolete kernel 4.9 patch files 2019-11-19 23:36:20 +01:00
David Bauer
fd3fa7728a ipq40xx: add support for AVM FritzRepeater 1200 2019-11-18 22:23:16 +01:00
Matthias Schiffer
0ff396b213
ath10k-ct: drop memory reduction patch
With the removal of IBSS support, Gluon doesn't use ath10k-ct anymore, so
we can drop this patch.
2019-11-08 21:10:11 +01:00
Matthias Schiffer
2a009a8328
hostapd: drop obsolete channel selection patch
As of OpenWrt commit b3d8b3ab8e6f ("mac80211: set noscan=1 if sta/adhoc/
mesh interfaces are present"), the issue workarounded by this patch cannot
occur anymore.
2019-11-06 22:02:04 +01:00
David Bauer
966f398782 modules: switch to OpenWrt 19.07 2019-10-30 00:06:14 +01:00
Matthias Schiffer
5b97d36c7e gluon-mesh-batman-adv: remove gluon-mesh-batman-adv-14 2019-09-25 21:57:52 +02:00
Matthias Schiffer
fdf552e55e
uboot-fritz4040: add fixes for bootloader image generation
This seems to unbreak bootloader image generation with certain shells /
build setups.

Fixes #1766
2019-09-04 21:03:08 +02:00
Linus Lüssing
011187e9f5
batman-adv: remove module autoload
Instead of unconditionally loading this module on boot the gluon_bat0
netifd protocol script will later take care of loading either the
batman-adv or batman-adv-legacy module, depending on the configured routing
algorithm in UCI.
2019-08-22 20:09:10 +02:00
Matthias Schiffer
6867cc98a5
Refresh patches 2019-07-20 13:19:57 +02:00
David Bauer
9abce01e87 ramips: add support for ASUS RT-AC57U (#1786) 2019-07-13 14:32:22 +02:00
Adrian Schmutzler
851dfc6a93 ar71xx-generic: Add support for TP-Link CPE210 V3 (#1696)
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-06-29 14:49:54 +02:00
Matthias Schiffer
c1a7733956
Revert "batman-adv: update to current openwrt-routing / batman-adv v2019.2"
This reverts commit 8dd13cbbca.

Fixes #1756
2019-06-20 20:53:29 +02:00
Matthias Schiffer
b41ee49aac
Revert "batctl: upgrade package to latest release 2019.2"
This reverts commit 3d3617ed2c.
2019-06-20 20:48:31 +02:00
Linus Lüssing
3d3617ed2c batctl: upgrade package to latest release 2019.2 2019-06-18 03:45:50 +02:00
Linus Lüssing
8dd13cbbca batman-adv: update to current openwrt-routing / batman-adv v2019.2
This updates the batman-adv OpenWrt package to the current version
provided in the master branch of the openwrt-routing packages
repository:

* e26096a batman-adv: Fix duplicated OGMs on NETDEV_UP
* 1ff00ee batman-adv: upgrade package to latest release 2019.2

Small difference to the original:

* Compat code for batadv_genl_dump_check_consistent()
* Compat code for cfg80211_sinfo_release_content()
* 0001-batman-adv-add-compat-hacks.patch kept
* batctl dependency kept removed
* config related files unchanged

The new config format was not backported yet to keep this patch small
and less invasive.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2019-06-07 15:16:40 +02:00
David Bauer
dca50d2f26 ramips: fix R6120 factory image
The factory firmware omits the JFFS2 end-marker while flashing via
web-interface. Add a 64k padding after the marker fixes this problem.

When the end-marker is not present, OpenWRT won't save the overlayfs
after initial flash.
2019-05-10 11:25:24 +02:00
Matthias Schiffer
6412177a45
Refresh openwrt patches 2019-04-21 19:39:27 +02:00
Linus Lüssing
a2bbc125b3 batctl: remove kmod-batman-adv dependency
This always pulls in the batman-adv compat 15 kernel module. However,
batctl works just as well with batman-adv-legacy (compat 14).

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2019-04-16 12:03:20 +02:00
Martin Weinelt
6e1a834bbc patches/openwrt: refresh 0006-generic-vxlan-backport-support-for-VXLAN-over-link-local-IPv6-to-4.9.patch (#1663) 2019-03-09 11:06:15 +01:00
Sven Eckelmann
b2f249e995 ath10k/ath10k-ct: fix incorrect multicast/broadcast rate setting
If no mcast_rate is set for the wifi-iface then there is no rate_idx (0)
set for the bss. This breaks for example 5GHz meshpoint interfaces because
0 maps to a CCK rate (11Mbit/s).

It must also be avoided that the ath10k-ct internal state for the rates is
not synced with the mac80211 rates state. Otherwise, the user specified
rate (e.g. a wifi-iface mcast_rate for a meshpoint interface) will only be
set on startup. And a short while after that, ath10k-ct specific code in
ath10k_check_apply_special_rates is missing a valid rate in its own
structures and is then recalculating a new default rate. This default rate
is in most situations not the requested rate.

Fixes: a399b60735 ("ath10k/ath10k-ct: support multicast and management rate control")
2019-02-26 15:16:37 +01:00
David Bauer
5b97b07f6a ramips-mt76x8: add support for Netgear R6120 (#1650) 2019-02-16 14:41:48 +01:00
Sven Eckelmann
a399b60735 ath10k/ath10k-ct: support multicast and management rate control
Drivers with software rate control can directly use the selected multicast
rate for multicast/broadcast frames and the minimal basic rate for
management frames. But drivers with offloaded rate control algorithms must
be informed about such upper layer decisions to configure the
hardware/firmware.

A new BSS_CHANGED_MCAST_RATE is introduced in mac80211 to automatically
inform all drivers. ath10k can detect this event and forward it via WMI to
the driver. The already existing BSS_CHANGED_BASIC_RATES can be used to
select the management rate.

Without the WMI commands, a low rate (not necessarily one from the basic
rates) is used for bcast/mcast/management frames. This means that the
/etc/config/wireless settings basic_rate and mcast_rate would have no
effect on the rates selected by this driver for the mentioned frames.
2019-02-11 01:22:22 +01:00
David Bauer
1ace3d5bb0 ramips-mt76x8: add support for TP-Link Archer C50 v4 (#1641)
This backports the TP-Link Archer C50 v4.

We are dropping the following upstream commits. They add support for the
TP-Link recovery-flag which enabled the web-recovery. As they are not
needed for the router to work, we drop them for now.

28cd2ca base-files: sysupgrade: support additional mtd options
1e06482 mtd: add logic for TP-Link ramips recovery magic
2019-02-08 02:48:09 +01:00
Martin Weinelt
3ed0ba5a74 modules: update OpenWrt
6e16dd1234 mt76: update to the latest version
76037756d0 kernel: bump 4.14 to 4.14.94
455bfd1065 kernel: bump 4.9 to 4.9.151
fafd7691e6 opkg: update to latest Git head
e789bd2243 opkg: drop argument from check_signature in opkg.conf
3603c2321d ramips: mt7621: fix 5GHz WiFi LED on ZBT WG3526
7f98cd8d50 odhcpd: fix onlink IA check (FS#2060)
abd0f7995e kmod-sched-cake: bump to latest cake

Compile-tested: ar71xx-{tiny,generic}, ramips-mt7621, x86-64
2019-01-26 16:41:47 +01:00
Andreas Ziegler
276c6c3dae ramips-mt7621: fix 5GHz WiFi LED on ZBT WG3526 2018-12-28 21:15:29 +01:00
Martin Weinelt
c6ad711940 modules: update OpenWrt
50789acf4e ar71xx: add support for UniFi-AC-Mesh-Pro
40e1450f59 kernel: bump 4.14 to 4.14.88
85f42a74d3 kernel: bump 4.9 to 4.9.145

Compile-tested: ar71xx-generic, ramips-mt7620, ipq40xx
2018-12-16 01:04:42 +01:00
Martin Weinelt
01a5a79129
modules: update OpenWrt
6f74e269c8 kernel: bump 4.14 to 4.14.87
b2f243394e kernel: bump 4.9 to 4.9.144
2213b20aee kernel: bump 4.14 to 4.14.86
bcd7644007 kernel: bump 4.9 to 4.9.143
d5afaa4114 openvpn: re-add option comp_lzo
629073e86d rpcd: update to latest Git head
1cd945ea22 ramips: fix leds on GL.iNet GL-MT300N-V2
fbadfecbb5 ipq40xx: fix openmesh sysupgrade with tar content out of order
06a20afb34 rules.mk: fix syntax error
d40e90986c rules.mk: add INSTALL_SUID macro
d40de11d1b base-files: fix prerm return value, align with postinst code
cc8e875039 sdk: find kernel modules when KDIR is a symlink
a8b292afe6 uhttpd: update to latest Git head
7a8b75375c uhttpd: support multiple Lua prefixes
fede6df09e uhttpd: update to latest Git head
9671a2d2c8 apm821xx: MBL: load kernel/dtb from SATA 0:1 first
26ebcc88e3 apm821xx: wndr4700: restore sd-card media detection
5337319bdf uclient: update to latest Git head

Compile-tested: ar71xx, ipq40xx, x86-64
Runtime-tested: ar71xx
2018-12-14 01:50:10 +01:00
Christoph Krapp
1c590ca148 ar71xx: add support for UniFi-AC-Mesh-Pro
Signed-off-by: Christoph Krapp <achterin@googlemail.com>
2018-12-09 20:41:56 +01:00
Sven Eckelmann
6845688016
ath10k-ct: reduce memory consumption
ath10k-ct uses a rather high number of buffers to communicate with the
QCA/Candelatech firmware. Especially the HTC (host-target-communication)
and HTT (host-target-transport) can take up a lot of memory when data is
transferred over a ath10k wifi link.

Even a 256MB device with three radios can go OOM (while sending to three
devices using UDP unicast/multicast packets) with the default buffer
limits. Unfortunately, this also reduced the maximum 5GHz throughput on an
IPQ40xx device from 494/432 Mbit/s for TCP transfers (download/upload) to
438/343 Mbit/s. These throughput values should still be good enough for a
Freifunk installation. And these changes are already used by ath10k in
OpenWrt 18.06.
2018-11-30 20:50:18 +01:00
Matthias Schiffer
7620d41c29
modules: update OpenWrt
0d549271d397 ar71xx: fix TP-Link Archer C7 v5 switch LEDs
dd6d554b2c1e kernel: fix ubifs loosing O_TMPFILE data after power cut
4db74fbd6908 kernel: bump 4.14 to 4.14.81
6f388adef820 kernel: bump 4.9 to 4.9.137
b0d08ec3aef3 sunxi: remove kernel 4.9 support
2018-11-17 16:42:27 +01:00
Martin Weinelt
3601c9aba6 mt76x8: add support for GL.iNet GL-MT300N-V2 (#1548)
Signed-off-by: Martin Weinelt <martin@darmstadt.freifunk.net>
2018-11-14 23:35:02 +01:00
David Bauer
a51ec56363 ipq40xx: add support for ZyXEL NBG6617 (#1560) 2018-11-14 23:02:25 +01:00
David Bauer
ffb46c40d9 ar71xx: add Archer C7 v5 switch LEDs 2018-10-15 00:38:18 +02:00
Matthias Schiffer
7b23e443e1
modules: update OpenWrt
bc7abe8729f3 include/kernel-build.mk: fix kernel rebuild on backport patch changes
c99c70e05303 kernel: backport page fragment API changes from 4.10+ to 4.9
2018-07-14 13:11:47 +02:00
Matthias Schiffer
83301241ec
mt76: depend on kernel 4.14
Do not break the build on kernel 4.9 (ar71xx).
2018-07-14 01:24:13 +02:00
Matthias Schiffer
79b20b6e12
modules: update OpenWrt
514a4b3e1b4e include/feeds.mk: rework generation of opkg distfeeds.conf
3e89f58a5ead base-files: fix feed list in PKG_CONFIG_DEPENDS
7fa7c854fe33 include/feeds.mk: always add available feeds to PACKAGE_SUBDIRS
a5b9553cf592 scripts/feeds: add src-dummy method
2f306873efbe ramips: TP-Link TL-WR902AC v3: add missing wps button
36a4681b2bef ramips: TP-Link TL-WR902AC v3: don't build factory image
ca903c73c705 kernel: bump 4.14 to 4.14.54 for 18.06
3a5498c5e55d kernel: bump 4.9 to 4.9.111 for 18.06
27014da237f1 mac80211: Expose support for ath9k Dynack
5a40fad22a39 kernel: bcm47xxpart: fix getting user-space data partition name
2018-07-12 21:40:49 +02:00
Matthias Schiffer
210d97c53e
Switch to OpenWrt 18.06 branch 2018-07-10 22:57:40 +02:00
David Bauer
2fda1a1f86 ar71xx: use Power-LED as Diag-LED on FRITZBox 4020 (#1453)
This commit makes use of the Power-LED as Diag-LED, allowing the LED to
work as a status indicator for config-mode.

Signed-off-by: David Bauer <mail@david-bauer.net>
2018-06-30 19:23:12 +02:00
Sven Eckelmann
3d18ae02d8 ar71xx: Add support for TP-Link CPE210 v2 (#1445) 2018-06-26 01:19:55 +02:00
Christoph Krapp
54ff903633 ar71xx: add support for TP-Link TL-WA901ND v5 (#1423) 2018-06-07 22:36:18 +02:00
Matthias Schiffer
998cc6e16e
modules: update LEDE
b6a1f43075f9 base-files: fix UCI config parsing and callback handling
6734f32d91cd mtd: add build hack to reintroduce shared mtd for older releases
aaac9e82aa60 mtd: mark as nonshared to fix FS#484
0fee4906d5c0 ustream-ssl: update to latest git HEAD
f34a0756fd94 ustream-ssl: update to latest git HEAD
98b9d8a3d3fd mbedtls: Activate the session cache
88ba88e5adc4 mbedtls: update mbedtls to version 2.7.3
2018-06-06 22:33:23 +02:00
Matthias Schiffer
0563473abb
ar71xx: fix boot with increased kernel size on CPE/WBS 210/510
Fixes: d139a13563 ("Add various patches to deal with bigger kernels")
Fixes #1417
2018-06-06 22:29:01 +02:00
Sven Eckelmann
c840a588b9 mac80211: initialize sinfo in cfg80211_get_station
Most of the implementations behind cfg80211_get_station will not initialize
sinfo to zero before manipulating it. For example, the member "filled",
which indicates the filled in parts of this struct, is often only modified
by enabling certain bits in the bitfield while keeping the remaining bits
in their original state. A caller without a preinitialized sinfo.filled can
then no longer decide which parts of sinfo were filled in by
cfg80211_get_station (or actually the underlying implementations).

cfg80211_get_station must therefore take care that sinfo is initialized to
zero. Otherwise, the caller may tries to read information which was not
filled in and which must therefore also be considered uninitialized. In
batadv_v_elp_get_throughput's case, an invalid "random" expected throughput
may be stored for this neighbor and thus the B.A.T.M.A.N V algorithm may
switch to non-optimal neighbors for certain destinations.
2018-06-06 11:39:00 +02:00
Matthias Schiffer
184dc54317
modules: update routing packages
2dfb22876414 batman-adv: add patches from 2018.1-maint 2018-06-03
2018-06-04 19:20:05 +02:00
Sven Eckelmann
e1a741be4f batman-adv: Fix best gw refcnt after netlink dump (#1411)
A reference to the best gateway is taken when the list of gateways in the
mesh is sent via netlink. This is necessary to check whether the currently
dumped entry is the currently selected gateway or not. This information is
then transferred as flag BATADV_ATTR_FLAG_BEST.

After the comparison of the current entry is done,
batadv_*_gw_dump_entry() has to decrease the reference counter again.
Otherwise the reference will be held and thus prevents a proper shutdown of
the batman-adv interfaces (and some of the interfaces enslaved in it).

Fixes: 899235a4a637 ("Merge pull request #241 from ecsv/batman-adv-2016.4-maint-2016-10-29")
Reported-by: Andreas Ziegler <dev@andreas-ziegler.de>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2018-06-03 14:37:59 +02:00
Christoph Krapp
114d4688d2 ar71xx: generic: enable CONFIG_MTD_SPLIT_TPLINK_FW (#1406) 2018-05-26 22:25:14 +02:00
Christoph Krapp
7ce4fac1a9 ar71xx: add model detection for Ubiquiti AC Mesh (#1400) 2018-05-21 15:51:26 +02:00