|
esp-sdr-zephyr
Raw I/Q receive and transmit on the ESP32-S3/C6 Wi-Fi radio, for Zephyr
|
#include <esp_sdr/ieee154_esp_sdr.h>
Data Fields | |
| uint32_t | captures |
| uint32_t | frames |
| uint32_t | tx_frames |
| uint32_t | acks |
| int32_t | tx_last_err |
| uint32_t | filter_us |
| uint32_t | ring_status |
| uint32_t | ring_cycles_x100 |
| uint32_t | ring_irq_windows |
| uint32_t | ring_late_max |
| uint32_t | verdict_n |
| uint32_t | ack_due |
| uint32_t | ack_verdict_max_us |
Driver counters, ieee154_esp_sdr_get_stats().
| uint32_t ieee154_esp_sdr_stats::ack_due |
ACKs sent (CONFIG_ESP_SDR_IEEE802154_AUTO_ACK): frames that asked this node for one, armed bursts that failed, fired, refused by the ring (too late), cancelled (FCS failed); frames without a destination address (not acknowledged).
| uint32_t ieee154_esp_sdr_stats::ack_verdict_max_us |
Armed frames: the verdict after the frame's end (max, sum, how many after the ACK delay), and how far the PHY was behind at the arm (max), in us.
| uint32_t ieee154_esp_sdr_stats::acks |
ACKs received for frames that asked for one, and frames left without.
| uint32_t ieee154_esp_sdr_stats::captures |
Receive captures processed, and failed captures.
| uint32_t ieee154_esp_sdr_stats::filter_us |
Last capture's mix/decimate time; PHY time in us (ring: total).
| uint32_t ieee154_esp_sdr_stats::frames |
Frames with a good FCS, and those the stack could not take.
| uint32_t ieee154_esp_sdr_stats::ring_cycles_x100 |
Last ring run: filter cycles per pair x 100, longest slice in cycles, units abandoned.
| uint32_t ieee154_esp_sdr_stats::ring_irq_windows |
Last ring run: interrupt windows opened, and the CPU interrupt lines pending in them.
| uint32_t ieee154_esp_sdr_stats::ring_late_max |
Worst bank switch lateness of all runs, in ring pairs.
| uint32_t ieee154_esp_sdr_stats::ring_status |
Ring receive: last run's status; units and pairs lost, summed over all runs; samples the PHY skipped and read.
| uint32_t ieee154_esp_sdr_stats::tx_frames |
Frames transmitted, and transmissions that failed.
| int32_t ieee154_esp_sdr_stats::tx_last_err |
Error of the last failed transmission.
| uint32_t ieee154_esp_sdr_stats::verdict_n |
Ring receive: frames decided, and the time from a frame's last sample to the PHY's decision (min, max, sum), in us.