openwrt/target/linux
Thibaut VARÈNE 3fecb06fb1 ar71xx: mikrotik: bypass id check in __rb_get_wlan_data()
The id parameter in __rb_get_wlan_data() was incorrectly used on the
assumption that id "0" would always be tied to ath9k with RLE encoding
and positive id (in fact, only id "1" was valid) would always be tied to
("external") ath10k with LZO encoding.

Newer hardware revisions of supported devices prove this assumption to
be invalid, with ath9k caldata being now wrapped in MAGIC_ERD and LZO
compressed, so disable this check to allow newer hardware to correctly
decode caldata for ath9k. Since ath10k caldata is no longer pulled from
this implementation, this commit also disables the publication in sysfs
to avoid wasting memory.

Note: this patch assumes that ath9k caldata is never stored with the new
"LZOR" encoding scheme found on some ath10k devices.

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
2020-05-12 12:43:38 +02:00
..
apm821xx kernel: bump 4.14 to 4.14.176 2020-04-16 13:23:52 +02:00
ar71xx ar71xx: mikrotik: bypass id check in __rb_get_wlan_data() 2020-05-12 12:43:38 +02:00
arc770 treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
archs38 treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
armvirt kernel: Remove CONFIG_COMPAT 2019-05-11 17:15:41 +02:00
at91 at91: disable legacy PTYs and virtual terminals 2019-12-17 11:27:20 +02:00
ath25 kernel: bump 4.14 to 4.14.171 2020-02-24 14:20:14 +01:00
ath79 ath79: dts: add missing 'serial0' alias for TP-Link TL-MR3040v2 2020-05-11 11:17:59 +02:00
bcm53xx bcm53xx: add support for Luxul FullMAC WiFi devices 2020-04-07 15:51:11 +02:00
brcm47xx kernel: bump 4.14 to 4.14.171 2020-02-24 14:20:14 +01:00
brcm63xx kernel: bump 4.14 to 4.14.178 2020-05-04 21:05:21 +02:00
brcm2708 kernel: bump 4.14 to 4.14.178 2020-05-04 21:05:21 +02:00
cns3xxx kernel: bump 4.14 to 4.14.156 2019-11-29 10:00:35 +01:00
gemini kernel: bump 4.14 to 4.14.156 2019-11-29 10:00:35 +01:00
generic generic: platform/mikrotik: support LZOR encoding 2020-05-12 12:43:38 +02:00
imx6 treewide: remove 4.19 leftovers 2019-10-08 12:45:13 +02:00
ipq40xx kernel: bump 4.14 to 4.14.172 2020-03-09 20:44:27 +01:00
ipq806x kernel: bump 4.14 to 4.14.172 2020-03-09 20:44:27 +01:00
kirkwood kirkwood: fix HDD LED labels for Zyxel NSA325 in 01_leds 2020-01-21 13:55:03 +01:00
lantiq kernel: bump 4.14 to 4.14.159 2019-12-24 15:29:32 +01:00
layerscape kernel: bump 4.14 to 4.14.178 2020-05-04 21:05:21 +02:00
malta malta: remove CONFIG_LEGACY_PTY from kernel config 2019-12-17 11:27:30 +02:00
mediatek kernel: bump 4.14 to 4.14.176 2020-04-16 13:23:52 +02:00
mpc85xx kernel: bump 4.14 to 4.14.171 2020-02-24 14:20:14 +01:00
mvebu mvebu: cortexa9: correct cpu subtype 2020-04-18 00:18:13 +02:00
mxs kernel: bump 4.14 to 4.14.178 2020-05-04 21:05:21 +02:00
octeon treewide: remove 4.19 leftovers 2019-10-08 12:45:13 +02:00
octeontx kernel: bump 4.14 to 4.14.176 2020-04-16 13:23:52 +02:00
omap treewide: use new procd sysupgrade $UPGRADE_BACKUP variable 2019-09-12 13:27:29 +02:00
oxnas kernel: bump 4.14 to 4.14.178 2020-05-04 21:05:21 +02:00
pistachio kernel: bump 4.14 to 4.14.171 2020-02-24 14:20:14 +01:00
ramips kernel: bump 4.14 to 4.14.178 2020-05-04 21:05:21 +02:00
rb532 kernel: bump 4.14 to 4.14.86 2018-12-10 11:48:44 +01:00
samsung kernel: Do not set CONFIG_DEVMEM or CONFIG_DEVKMEM 2019-05-11 17:15:41 +02:00
sunxi kernel: bump 4.14 to 4.14.169 2020-02-04 18:11:26 +01:00
tegra tegra: correct cpu subtype 2020-04-18 00:18:13 +02:00
uml uml: remove CONFIG_LEGACY_PTY from kernel config 2019-12-17 11:27:16 +02:00
x86 x86: fix missing led variable warning during boot 2020-01-06 08:40:06 +01:00
zynq zynq: make title consistent for all devices 2019-05-17 21:41:43 +02:00
Makefile