]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: pcs: rtl930x: adjust initial vth_min value 22450/head
authorJonas Jelonek <jelonek.jonas@gmail.com>
Wed, 18 Mar 2026 10:24:19 +0000 (11:24 +0100)
committerRobert Marko <robimarko@gmail.com>
Sat, 21 Mar 2026 22:06:10 +0000 (23:06 +0100)
commit2f74f9188fb81b95e259110bb8336f5e62e6f6d0
tree66af87d0f8d68267fe0226f55481789d1c780e9a
parent6f4c43199027dfa07e0e8035c52f4ada0a13fd73
realtek: pcs: rtl930x: adjust initial vth_min value

During RX calibration we use a vth_min value of 0 while the SDK always
uses a value of 1 [1]. While we do not know right now which effect this
really has, sync this to the SDK. In worst case we might have an
insufficient calibration result at the moment which usually might be
fine.

[1] https://github.com/plappermaul/realtek-doc/blob/82af3a36b7f65dbe2158fef3a9b71e7aab94315e/sources/rtk-dms1250/src/dal/longan/dal_longan_sds.c#L173

Suggested-by: Bevan Weiss <bevan.weiss@gmail.com>
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22450
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c