Search found 5 matches
- Mon Aug 28, 2023 5:45 am
- Forum: General Discussion
- Topic: About the timestamp accuracy in wifi packet acceptance
- Replies: 6
- Views: 1168
Re: About the timestamp accuracy in wifi packet acceptance
Thanks for the answers, I probably understand what you guys are saying. I learned from a paper that you can use cpu cycle to record wifi packet arrival times as shown in the figure. Is there any way I can record the cpu cycle of wifi packet arrival?
- Sun Aug 27, 2023 11:04 am
- Forum: General Discussion
- Topic: About the timestamp accuracy in wifi packet acceptance
- Replies: 6
- Views: 1168
Re: About the timestamp accuracy in wifi packet acceptance
But the process of receiving the two wifi packets is the same. I can assume that the cpu count difference between the two wifi packets is correct, right?
- Sun Aug 27, 2023 6:32 am
- Forum: General Discussion
- Topic: About the timestamp accuracy in wifi packet acceptance
- Replies: 6
- Views: 1168
About the timestamp accuracy in wifi packet acceptance
I call the function esp_cpu_get_cycle_count() in the wifi sniffer's interrupt function wifi_sniffer_packet_handler() and record the current CPU cycle count . Can I assume that this CPU cycle count corresponds to the local timestamp when a wifi packet arrives at the receiving end, and that the precis...
- Thu Aug 24, 2023 9:14 am
- Forum: General Discussion
- Topic: About the timestamp in wifi_promiscuous_pkt_t
- Replies: 1
- Views: 703
About the timestamp in wifi_promiscuous_pkt_t
The timestamp precision of this wifi receive packet is 1 microsecond, but the CPU frequency of esp32 is up to 240MHz. obviously this timestamp precision is not enough. How can I get a more accurate timestamp for the wifi receiver packet?
- Thu Aug 24, 2023 8:57 am
- Forum: General Discussion
- Topic: Timestamp accuracy in wifi_promiscuous_pkt_type_t
- Replies: 1
- Views: 3238
Re: Timestamp accuracy in wifi_promiscuous_pkt_type_t
Hi, have you solved your problem yet? I have the same confusion and want to get an accurate timestamp