nRF Connect SDK API 3.4.99
Loading...
Searching...
No Matches
lmac_sleep_timing_stats Struct Reference

Tracks wake/sleep durations, counters, and interval stats. More...

#include <nrf71_wifi_debug_stats.h>

Data Fields

unsigned int index
unsigned int bcn_delay_after_wakeup
unsigned int last_one_minute_bcn_rcv_cnt
unsigned int last_one_second_bcn_rcv_cnt
unsigned int current_one_minute_bcn_rcv_cnt
unsigned int current_one_second_bcn_rcv_cnt
unsigned int wake_duration [32]
unsigned int sleep_duration [32]
unsigned int temp_time_stamp_minute
unsigned int temp_time_stamp_second
double time_stamps [INTERVAL_COUNT]
double last_wake_sleep_stats [INTERVAL_COUNT][2]
double cur_wake_sleep_stats [INTERVAL_COUNT][2]

Detailed Description

Tracks wake/sleep durations, counters, and interval stats.

  • last_wake_sleep_stats[i][type]: Stores previous completed interval stats for wake/sleep. i = interval index, type = 0 (wake), 1 (sleep)
  • cur_wake_sleep_stats[i][type]: Accumulates stats for current ongoing interval.
  • time_stamps[i]: Timestamp marking the start of each interval tracking window.

The documentation for this struct was generated from the following file: