firmware/bsp
Adrian Schmutzler aca1223f06 bsp: use mainline/QCA driver and firmware for ath10k WiFi
OpenWrt offers two variants of ath10k driver and firmware, the
"normal" mainline/QCA variant and the "CT" variant [1]
developed as fork by Candela Technologies.
Both deviate from each other with respect to their feature set,
level of support and system impact (i.e. memory consumption).

Since the 19.07 release, OpenWrt has made the "CT" variant its
default for supporting (almost) all ath10k chips. [2]
However, for this firmware the CT driver/firmware introduces a number
of (potential) drawbacks:

- CT memory consumption seems to be higher. (This still needs to be
  verified for the new kmod-ath10k-ct-smallbuffers variant.) This
  is particularly a problem on several ath10k devices with 64 MB RAM,
  where the devices run into OOM regularly (i.e. C60 v1/v2). [3]
- Though CT has active support, it is still just a fork effectively
  maintained by one person.
- With CT driver/firmware there are frequent reports that the
  combination of AP and 802.11s is not working. [4] While this issue
  couldn't be reproduced in recent tests, it still is explicitly
  not supported, and there is no interest to change that at the
  moment. [5]

Due to these reasons, it seems more appropriate for us to use the
mainline/QCA variant of ath10k driver and firmwares. This patch
applies that to all affected devices.

Note that currently the mainline driver also benefits from a local
patch in OpenWrt that reduces the memory footprint. This patch has
been removed in master, so we will need to keep it locally when using
a 20.xx OpenWrt release. [6]

[1] https://github.com/greearb/ath10k-ct.git
[2] 61b5b4971e
[3] 1ac627024d
[4] https://github.com/freifunk-berlin/firmware/issues/696
    https://forum.openwrt.org/t/ath10k-ct-and-802-11s-mesh-not-working-on-archer-c7/13877
[5] https://github.com/openwrt/openwrt/pull/2341#issuecomment-580904873
[6] 1e27befe63

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: Fabian Bläse <fabian@blaese.de>
Tested-by: Fabian Bläse <fabian@blaese.de>
2020-04-02 13:06:40 +02:00
..
ar71xx bsp: use mainline/QCA driver and firmware for ath10k WiFi 2020-04-02 13:06:40 +02:00
default/root_file_system/etc root_file_system: Remove sysctl.conf 2018-10-24 18:33:48 +02:00
ipq806x bsp: use mainline/QCA driver and firmware for ath10k WiFi 2020-04-02 13:06:40 +02:00
mt7621 Add support for Ubiquiti EdgeRouter X (SFP) 2019-09-29 21:18:11 +02:00
wdr4900 bsp: Remove explicit pull of LED trigger packages 2019-06-15 12:32:17 +02:00
board_ar71xx.bsp Add support for Archer C60 v2 2019-11-19 22:21:42 +01:00
board_ipq806x.bsp Add support for Archer C2600 2020-03-30 11:56:17 +02:00
board_mt7621.bsp mt7621: adjust for new filenames in OpenWrt 19.07 2020-03-22 20:17:28 +01:00
board_wdr4900.bsp buildscript: Do not use target-dependent build directory 2019-11-10 14:27:46 +01:00