Morse Micro IoT SDK  2.9.7

Detailed Description

API to get stats from the UMAC.

Data Structures

struct  mmwlan_stats_umac_data
 Data structure to contain all stats from the UMAC. More...
 
enum  mmwlan_stats_connect_timestamp_index {
  MMWLAN_STATS_CONNECT_TIMESTAMP_START , MMWLAN_STATS_CONNECT_TIMESTAMP_SCAN_REQUESTED , MMWLAN_STATS_CONNECT_TIMESTAMP_SCAN_COMPLETE , MMWLAN_STATS_CONNECT_TIMESTAMP_SEND_AUTH_1 ,
  MMWLAN_STATS_CONNECT_TIMESTAMP_RECV_AUTH_1 , MMWLAN_STATS_CONNECT_TIMESTAMP_SEND_AUTH_2 , MMWLAN_STATS_CONNECT_TIMESTAMP_RECV_AUTH_2 , MMWLAN_STATS_CONNECT_TIMESTAMP_SEND_ASSOC ,
  MMWLAN_STATS_CONNECT_TIMESTAMP_RECV_ASSOC , MMWLAN_STATS_CONNECT_TIMESTAMP_LINK_UP , MMWLAN_STATS_CONNECT_TIMESTAMP_N_ENTRIES
}
 Enumeration of valid indexes for connect_timestamp. More...
 
enum mmwlan_status mmwlan_get_umac_stats (struct mmwlan_stats_umac_data *stats_dest)
 Gets the current values of the UMAC statistics. More...
 
enum mmwlan_status mmwlan_clear_umac_stats (void)
 Clear all current values of the UMAC statistics. More...
 

Enumeration Type Documentation

◆ mmwlan_stats_connect_timestamp_index

Enumeration of valid indexes for connect_timestamp.

Definition at line 28 of file mmwlan_stats.h.

Function Documentation

◆ mmwlan_clear_umac_stats()

enum mmwlan_status mmwlan_clear_umac_stats ( void  )

Clear all current values of the UMAC statistics.

Returns
MMWLAN_SUCCESS

◆ mmwlan_get_umac_stats()

enum mmwlan_status mmwlan_get_umac_stats ( struct mmwlan_stats_umac_data stats_dest)

Gets the current values of the UMAC statistics.

Parameters
stats_destAn mmwlan_umac_stats pointer where the data will be stored.
Returns
MMWLAN_SUCCESS if stats retrieved or MMWLAN_INVALID_ARGUMENT if the buffer is NULL.