feat(openthread): use the actual receive sensitivity for link quality evaluation

This commit is contained in:
Shu Chen
2026-08-04 02:39:08 +00:00
committed by Zhang Wen Xu
parent 08e0d30a74
commit 52790bf4f5
16 changed files with 22 additions and 13 deletions
+5 -1
View File
@@ -20,7 +20,6 @@
#include "esp_ieee802154_util.h"
#include "esp_log.h"
#include "esp_coex_i154.h"
#include "hal/ieee802154_ll.h"
#include "hal/ieee802154_common_ll.h"
esp_err_t esp_ieee802154_event_callback_list_register(esp_ieee802154_event_cb_list_t cb_list)
@@ -49,6 +48,11 @@ esp_err_t esp_ieee802154_disable(void)
return ieee802154_mac_deinit();
}
int8_t esp_ieee802154_get_receive_sensitivity(void)
{
return IEEE802154_RX_SENSITIVITY;
}
uint8_t esp_ieee802154_get_channel(void)
{
return ieee802154_pib_get_channel();