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

This commit is contained in:
Shu Chen
2026-08-04 14:40:51 +08:00
committed by zhuanghang
parent f0407c5a38
commit 9c859ab6ab
13 changed files with 19 additions and 13 deletions
@@ -9,3 +9,4 @@
#include "hal/ieee802154_common_ll.h"
#define IEEE802154_RSSI_COMPENSATION_VALUE 0
#define IEEE802154_RX_SENSITIVITY -104
@@ -9,3 +9,4 @@
#include "hal/ieee802154_common_ll.h"
#define IEEE802154_RSSI_COMPENSATION_VALUE 0
#define IEEE802154_RX_SENSITIVITY -104
@@ -12,9 +12,10 @@
extern "C" {
#endif
extern uint32_t bt_bb_get_rssi_comp(void);
#define IEEE802154_RSSI_COMPENSATION_VALUE bt_bb_get_rssi_comp()
#define IEEE802154_RX_SENSITIVITY -102
extern uint32_t bt_bb_get_rssi_comp(void);
#ifdef __cplusplus
}