feat(802.15.4): IEEE802.15.4 add rx buffer statistic

This commit is contained in:
Tan Yan Quan
2024-11-14 10:35:29 +08:00
parent 3730567940
commit 9039ffeb62
12 changed files with 350 additions and 18 deletions
+20 -1
View File
@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2020-2023 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2020-2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
@@ -414,3 +414,22 @@ void esp_ieee802154_txrx_statistic_print(void)
ieee802154_txrx_statistic_print();
}
#endif // CONFIG_IEEE802154_TXRX_STATISTIC
#if CONFIG_IEEE802154_RX_BUFFER_STATISTIC
void esp_ieee802154_rx_buffer_statistic_clear(void)
{
ieee802154_rx_buffer_statistic_clear();
}
void esp_ieee802154_rx_buffer_statistic_printf(void)
{
ieee802154_rx_buffer_statistic_printf();
}
#endif // CONFIG_IEEE802154_RX_BUFFER_STATISTIC
#if CONFIG_IEEE802154_RECORD
void esp_ieee802154_record_print(void)
{
ieee802154_record_print();
}
#endif // CONFIG_IEEE802154_RECORD