openwrt-pf/target/linux/realtek
Markus Stockhausen 3a7595dcde
realtek: pcs: simplify gray code to binary conversion
Gray conversion is b[i] = g[i] XOR g[i+1] XOR ... XOR g[n-1]
Make the code a 3 liner. For more details see [1].

[1] https://en.wikipedia.org/wiki/Gray_code#Converting_to_and_from_Gray_code

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/23984
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2026-06-28 23:44:31 +02:00
..
base-files realtek: rtl930x: add support for Zyxel XGS1010-12 B1 2026-06-20 15:26:36 +02:00
dts realtek: rtl930x: add support for Zyxel XGS1010-12 B1 2026-06-20 15:26:36 +02:00
files-6.18 realtek: pcs: simplify gray code to binary conversion 2026-06-28 23:44:31 +02:00
image realtek: rtl930x: add support for Zyxel XGS1010-12 B1 2026-06-20 15:26:36 +02:00
patches-6.18 kernel: bump 6.18 to 6.18.36 2026-06-23 09:05:22 +02:00
profiles
rtl838x realtek: add hasivo-mcu sensor driver 2026-06-14 15:44:24 +02:00
rtl839x realtek: add hasivo-mcu sensor driver 2026-06-14 15:44:24 +02:00
rtl930x realtek: add hasivo-mcu sensor driver 2026-06-14 15:44:24 +02:00
rtl930x_nand realtek: add hasivo-mcu sensor driver 2026-06-14 15:44:24 +02:00
rtl931x kernel: reorder kernel config symbols 2026-06-23 09:03:54 +02:00
rtl931x_nand realtek: add hasivo-mcu sensor driver 2026-06-14 15:44:24 +02:00
Makefile realtek: switch to 6.18 2026-04-11 20:59:10 +02:00
modules.mk realtek: add hasivo-mcu sensor driver 2026-06-14 15:44:24 +02:00