Morse Micro IoT SDK  2.11.2
mmwlan_stats.h
1/*
2 * Copyright 2021-2025 Morse Micro
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 *
6 * Warning: this file is auto-generated. Do not modify by hand.
7 */
8
9/* */
10
11#pragma once
12
13#include <stdint.h>
14
30{
31 MMWLAN_STATS_CONNECT_TIMESTAMP_START,
32 MMWLAN_STATS_CONNECT_TIMESTAMP_SCAN_REQUESTED,
33 MMWLAN_STATS_CONNECT_TIMESTAMP_SCAN_COMPLETE,
34 MMWLAN_STATS_CONNECT_TIMESTAMP_SEND_AUTH_1,
35 MMWLAN_STATS_CONNECT_TIMESTAMP_RECV_AUTH_1,
36 MMWLAN_STATS_CONNECT_TIMESTAMP_SEND_AUTH_2,
37 MMWLAN_STATS_CONNECT_TIMESTAMP_RECV_AUTH_2,
38 MMWLAN_STATS_CONNECT_TIMESTAMP_SEND_ASSOC,
39 MMWLAN_STATS_CONNECT_TIMESTAMP_RECV_ASSOC,
40 MMWLAN_STATS_CONNECT_TIMESTAMP_LINK_UP,
41 MMWLAN_STATS_CONNECT_TIMESTAMP_N_ENTRIES
42};
43
50{
52 uint32_t last_tx_time;
53
56
59
61 uint32_t connect_timestamp[MMWLAN_STATS_CONNECT_TIMESTAMP_N_ENTRIES];
62
64 int16_t rssi;
65
68
71
74
77
80
84
87
91
94
98
101
104
107
110
113
116
120};
121
mmwlan_stats_connect_timestamp_index
Enumeration of valid indexes for connect_timestamp.
Definition: mmwlan_stats.h:30
Data structure to contain all stats from the UMAC.
Definition: mmwlan_stats.h:50
uint32_t datapath_rxq_frames_dropped
Number of RX frames that have been dropped due to RX Queue being full.
Definition: mmwlan_stats.h:55
uint8_t datapath_txq_high_water_mark
High water mark of the TX Queue.
Definition: mmwlan_stats.h:76
uint32_t timeouts_fired
Number of times any timer or timeout has fired.
Definition: mmwlan_stats.h:112
uint32_t datapath_rx_reorder_timedout
Number of frames that have been flushed from the RX reorder list due to timeout.
Definition: mmwlan_stats.h:100
uint32_t datapath_rx_reorder_retransmit_drops
Number of frames dropped due to repeated sequence control field value.
Definition: mmwlan_stats.h:106
uint32_t datapath_driver_tx_pending_status_timeout
Number of frames sent by the driver that timed out before receiving a TX status from the chip.
Definition: mmwlan_stats.h:119
uint8_t datapath_rx_reorder_list_high_water_mark
High water mark in terms of number of frames in the RX reorder list.
Definition: mmwlan_stats.h:93
uint8_t datapath_rx_mgmt_q_high_water_mark
High water mark of the RX Management Queue.
Definition: mmwlan_stats.h:79
uint32_t datapath_txq_frames_dropped
Number of TX frames that have been dropped due to TX Queue being full.
Definition: mmwlan_stats.h:58
uint16_t num_scans_complete
Count of the number of successfully conducted scans.
Definition: mmwlan_stats.h:70
int16_t rssi
Current RSSI value for AP.
Definition: mmwlan_stats.h:64
uint32_t datapath_rx_reorder_total
Total number of frames that have actually been put into the A-MPDU reordering buffer.
Definition: mmwlan_stats.h:109
uint32_t datapath_driver_tx_skbq_timeout
Number of frames dropped by the driver due to timeout before TX.
Definition: mmwlan_stats.h:115
uint16_t hw_restart_counter
Count of the number of times the driver has sent a hardware restart notification.
Definition: mmwlan_stats.h:67
uint32_t datapath_rx_reorder_overflow
Number of frames that have been flushed due to the RX A-MPDU reordering buffer overflowing.
Definition: mmwlan_stats.h:97
uint32_t datapath_rx_ccmp_failures
Total number of frames that have been dropped due to CCMP failures.
Definition: mmwlan_stats.h:83
uint32_t datapath_driver_rx_alloc_failures
Number of RX pages that have been dropped due to allocation failures.
Definition: mmwlan_stats.h:86
uint32_t connect_timestamp[MMWLAN_STATS_CONNECT_TIMESTAMP_N_ENTRIES]
Timestamps taken during the connection process.
Definition: mmwlan_stats.h:61
uint32_t datapath_rx_reorder_outdated_drops
Number of frames dropped due to outdated sequence control field value.
Definition: mmwlan_stats.h:103
uint8_t datapath_rxq_high_water_mark
High water mark of the RX Queue.
Definition: mmwlan_stats.h:73
uint32_t datapath_driver_rx_read_failures
Number of RX pages that have been dropped due to read failures.
Definition: mmwlan_stats.h:90
uint32_t last_tx_time
Time that the last TX frame was sent to the driver.
Definition: mmwlan_stats.h:52