Attention is currently required from: fixeria.
Timur Davydov has posted comments on this change by Timur Davydov. ( https://gerrit.osmocom.org/c/osmo-bts/+/42693?usp=email )
Change subject: trx: factor out clock indication handling into helper ......................................................................
Patch Set 3:
(1 comment)
Commit Message:
https://gerrit.osmocom.org/c/osmo-bts/+/42693/comment/ddafaf1d_e34f60ab?usp=... : PS2, Line 12: This separates core FN processing from socket-specific code : an
I guess the idea here is that this new function will be called from somewhere else, bypassing the UD […]
Yes, exactly.
The intention is to make the FN/clock indication handling reusable from a non-socket clock source. In the WebSDR/WASM build, the clock indication can be delivered directly from the JS/WebUSB side via an in-memory callback, without going through the UDP socket path.
So this patch only factors out the common handling from `trx_clk_read_cb()`. The existing UDP behavior remains unchanged, while a later patch can call the same helper from the WebSDR-specific clock path.