On 2/16/22 10:55 AM, Harry May wrote:
> I have been checking the response time of the Wifi RTS/CTS handshake
> using different network setups. I have noticed the time is the same,
> approximately 16 microseconds, no matter what the distance is between
> the nodes.
>
> I have several questions:
> - Is the response automatic without any calculations as to distance?
As someone else responded, the propagation delay is negligible compared
to the SIFS delay. You are probably observing the SIFS delay, which
defaults to 16 us for 802.11n/ac Wi-Fi standards:
https://en.wikipedia.org/wiki/Short_Interframe_Space
See the second figure in this blog post for a graphical explanation:
https://blogs.arubanetworks.com/industries/understanding-802-11-medium-contention/
> - Is there a procedure to generate time according to distance?
No, the delays in Wi-Fi are dominated by MAC timers and operation.
> - I know the RTS/CTS is located in the WifiRemoteStationManager
> module but so far I haven't been able to find it. My thought is, can I
> modify the module to generate the time according to distance between
> nodes or am I trying to do the impossible?
If you search that code (WifiRemoteStationManager) for the strings 'Rts'
and 'Cts' you should be able to find it.
- Tom