tn3399_openwrt/target/linux/ar71xx
Thibaut VARÈNE 1c6990fe6d 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:41:08 +02:00
..
base-files ar71xx/mikrotik: ath10k: use new sysfs driver 2020-05-08 15:17:17 +02:00
files ar71xx: mikrotik: bypass id check in __rb_get_wlan_data() 2020-05-12 12:41:08 +02:00
generic treewide: remove kmod-usb-core from DEVICE_PACKAGES 2019-10-06 21:28:49 +02:00
image build: image: move IMAGE_SIZE to image.mk 2020-03-11 18:25:06 +01:00
mikrotik ar71xx/mikrotik: enable mikrotik platform driver 2020-05-08 15:17:17 +02:00
nand treewide: remove kmod-usb-core from DEVICE_PACKAGES 2019-10-06 21:28:49 +02:00
patches-4.14 kernel: bump 4.14 to 4.14.180 2020-05-12 12:36:28 +02:00
tiny treewide: remove kmod-usb-core from DEVICE_PACKAGES 2019-10-06 21:28:49 +02:00
config-4.14 ar71xx: add support for Gainstrong MiniBox V3.2 2018-11-15 19:49:51 +01:00
Makefile ar71xx: make target source-only 2019-06-17 09:42:37 +02:00
modules.mk ar71xx: add LED driver NU801 2015-12-11 15:04:57 +00:00