P1 redboard WiFi Testing

I am working with 2 photon wifi communication using 802.11n. I am using P1 Redboard for 2 way communication. I am new to wifi communication.

I have to run test to measure delay between transmitter and receiver.

One transmitter pack message and send. Receiver receives message and unpack it. whats time delay between this.

Is there any test available to measure this?