immortalwrt/target/linux
Thibaut VARÈNE ad8c4d3e8d
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.

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>
(cherry picked from commit 1c6990fe6d)
[keep publishing ath10k caldata in sysfs: it's the way it's done on 18.06]
Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
Tested-by: Baptiste Jonglez <git@bitsofnetworks.org> [Mikrotik RB941-2nD r3]
2020-10-23 17:47:04 +08:00
..
apm821xx kernel: bump 4.19 to 4.19.148 2020-09-30 21:08:22 +08:00
ar7 kernel: bump 4.9 to 4.9.237 2020-09-30 20:08:29 +08:00
ar71xx ar71xx: mikrotik: bypass id check in __rb_get_wlan_data() 2020-10-23 17:47:04 +08:00
arc770
archs38
armvirt
at91
ath25 target: replace remaining occurrences of ifconfig with ip 2020-08-03 20:58:21 +08:00
ath79 ath79: ar8216: make switch register access atomic 2020-10-17 18:38:35 +08:00
bcm27xx kernel: bump to 4.9.240, 4.14.202, 4.19.152 2020-10-17 19:46:46 +08:00
bcm53xx kernel: bump 4.19 to 4.19.149 2020-10-01 21:53:50 +08:00
brcm47xx kernel: bump 4.19 to 4.19.145 2020-09-12 23:08:12 +08:00
brcm63xx kernel: bump 4.19 to 4.19.148 2020-09-30 21:08:22 +08:00
cns3xxx kernel: bump to 4.9.234, 4.14.195, 4.19.142 2020-08-27 04:27:45 +08:00
gemini gemini: Add swap partition to DNS-313 2020-08-03 00:21:24 +08:00
generic kernel: bump to 4.9.240, 4.14.202, 4.19.152 2020-10-17 19:46:46 +08:00
imx6 kernel: bump 4.19 to 4.19.110 2020-03-19 17:50:48 +08:00
ipq40xx kernel: bump to 4.9.240, 4.14.202, 4.19.152 2020-10-17 19:46:46 +08:00
ipq806x treewide: remove empty default cases 2020-09-18 16:37:37 +08:00
ipq807x ipq807x: add very basic target support 2020-02-29 22:59:08 -08:00
ixp4xx kernel: bump 4.9 to 4.9.238 2020-10-03 01:14:39 +08:00
kirkwood treewide: omit IMAGE_SIZE argument from check-size 2020-07-30 23:44:37 +08:00
lantiq kernel: bump 4.19 to 4.19.149 2020-10-01 21:53:50 +08:00
layerscape kernel: bump to 4.9.240, 4.14.202, 4.19.152 2020-10-17 19:46:46 +08:00
malta
mediatek kernel: bump to 4.9.240, 4.14.202, 4.19.152 2020-10-17 19:46:46 +08:00
mpc85xx kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3375) 2020-02-29 16:28:07 +08:00
mvebu kernel: bump to 4.9.234, 4.14.195, 4.19.142 2020-08-27 04:27:45 +08:00
mxs kernel: bump 4.14 to 4.14.177 2020-05-03 19:32:54 +08:00
octeon
octeontx kernel: bump to 4.9.219, 4.14.176, 4.19.115 (#4350) 2020-04-17 11:50:34 +08:00
omap
orion
oxnas oxnas: fix qc_prep return in sata driver after kernel 4.14.200 2020-10-17 18:37:26 +08:00
pistachio kernel: bump 4.14 to 4.14.186 2020-06-25 23:30:20 +08:00
ramips kernel: bump 4.14 to 4.14.200 2020-10-01 21:53:20 +08:00
rb532
samsung kernel: Update kernel 4.14 to version 4.14.187 2020-07-05 11:53:32 +08:00
sunxi sunxi: rework nanopi r1s (h5) compilation for kernel 4.14 2020-10-18 00:36:02 +08:00
tegra
uml kernel: bump to 4.9.240, 4.14.202, 4.19.152 2020-10-17 19:46:46 +08:00
x86 x86: apply MMC config to kernel 4.9 2020-10-07 03:06:34 +08:00
zynq
Makefile build: add 'make kernel_xconfig' command 2020-07-09 12:03:26 +08:00