Ehh, secondary radar is still radar.
Swapping the passive reflector for a preamble/header triggered gated (after header received, active for some short duration) non-passive echo, doesn't negate the way of "send radio wave, receive echo, measure latency/delay, divide by twice light speed, get distance".