Search Linux Wireless

Beacon frame missing TSF timestamp (local looped back)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I'm developing a multi client sample synced low latency audio streaming solution, and on the server side I'm using a RPi5 with 6.6.51 kernel and a Qualcomm Atheros AR9271 based USB WLAN card (using the ath9k_htc driver with 1.4.0 firmware), and on the client side Espressif ESP32-S3s. The WLAN card is setup as an AP, sending out beacon frames.

On the client side I can reliably receive the beacon frames and deduce a ESP32 vs TSF clock drift.

On the server side however, using raw sockets (and a monitor type interface, on the AR9271 card), I can receive the beacon frame, but the timestamp value is always zero, suggesting that the frame is looped back prior to the driver actually doing the TSF timestamp. This is also confirmed by using tshark (sudo tshark -i wlan1m -f "type 0 subtype 0x80" -x):

0000  00 00 0d 00 04 80 02 00 48 00 00 00 01 80 00 00   ........H.......
0010  00 ff ff ff ff ff ff 30 14 4a 00 27 4b 30 14 4a   .......0.J.'K0.J
0020  00 27 4b 00 00 00 00 00 00 00 00 00 00 64 00 01   .'K..........d..

Question: Is it possible to modify the linux driver (or firmware) to get the timestamped frame? Or any other way to get the TSF? I'm open to all suggestions :D

TIA
/Robert

The information in this email (including any attachments) may contain confidential and/or proprietary material. Any review, retransmission or use of this information by persons or entities other than the intended, authorized recipient is prohibited. If you received this email in error, please notify the sender and delete the material. For information regarding how Dirac handles personal data, please visit https://www.dirac.com/privacy-policy.




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux