zephyr/subsys/net/l2
Lu Ding 818d90efda net: gptp: Fix sync_receipt_time calculation in gptp_mi
Fix #42800
Both pss->rate_ratio and port_ds->neighbor_rate_ratio are double type
but sync_receipt_time is uint64_t. If pss->rate_ratio is less than 1
or sync_receipt_time * port_ds->neighbor_rate_ratio is less than 1,
sync_receipt_time becomes 0 due to double to uint64_t cast.
Assign port_ds->neighbor_prop_delay to sync_receipt_time first to fix
this issue.

Signed-off-by: Lu Ding <lucasdinglu@gmail.com>
2022-03-07 10:54:49 +01:00
..
bluetooth samples: conn_cb replace to const zsector 2021-08-11 13:42:28 +02:00
canbus drivers: can: rename API functions for better consistency 2022-01-10 10:44:37 +01:00
dummy
ethernet net: gptp: Fix sync_receipt_time calculation in gptp_mi 2022-03-07 10:54:49 +01:00
ieee802154 drivers: crypto: Rename cipher file 2022-03-01 16:32:43 -05:00
openthread net: openthread: remove CONFIG_OPENTHREAD_CSL_SAMPLE_WINDOW 2022-03-07 10:54:30 +01:00
ppp net: ppp: Properly terminate LCP state at modem side when closing down 2022-02-09 13:56:54 +01:00
virtual net: ipv6: Remove in6_addr from packed net_ipv6_hdr struct 2021-11-25 10:46:35 -05:00
wifi net: l2: wifi_shell: mac address in scanning results 2021-10-07 10:55:37 +02:00
CMakeLists.txt
Kconfig net: l2: Add symbols for custom IEEE802154 L2 2021-11-23 13:25:01 -05:00