API for retrieving statistics information from the WLAN subsystem.
|
| enum | mmwlan_rc_stats_rate_info_offsets { MMWLAN_RC_STATS_RATE_INFO_BW_OFFSET = 0
, MMWLAN_RC_STATS_RATE_INFO_RATE_OFFSET = 4
, MMWLAN_RC_STATS_RATE_INFO_GUARD_OFFSET = 8
} |
| | Enumeration defined offsets into the bit field of rate information (rate_info in mmwlan_rc_stats). More...
|
| |
◆ mmwlan_rc_stats_rate_info_offsets
Enumeration defined offsets into the bit field of rate information (rate_info in mmwlan_rc_stats).
31 9 8 4 0
+----------+-------+------+----+
| Reserved | Guard | Rate | BW |
| 23 | 1 | 4 | 4 |
+----------+-------+------+----+
- BW: 0 = 1 MHz, 1 = 2 MHz, 2 = 4 MHz
- Rate: MCS Rate
- Guard: 0 = LGI, 1 = SGI
Definition at line 2615 of file mmwlan.h.
◆ mmwlan_clear_umac_stats()
Clear all current values of the UMAC statistics.
- Returns
- MMWLAN_SUCCESS
◆ mmwlan_free_morse_stats()
◆ mmwlan_free_rc_stats()
◆ mmwlan_get_morse_stats()
Retrieves statistics from the Morse transceiver.
The stats are returned as a binary blob that can be parsed by host tools.
- Parameters
-
| core_num | The core to retrieve stats for. |
| reset | Boolean indicating whether to reset the stats after retrieving. |
- Note
- The returned
mmwlan_morse_stats instance must be freed using mmwlan_free_morse_stats.
- Returns
- a
mmwlan_morse_stats instance on success or NULL on failure.
◆ mmwlan_get_rc_stats()
Retrieves WLAN rate control statistics.
- Note
- The returned data structure must be freed using mmwlan_free_rc_stats().
- Returns
- the statistics data structure on success or
NULL on failure.