mirror of
https://github.com/espressif/openthread.git
synced 2026-09-02 23:30:07 +00:00
Add otPlatRadioGetReceiveSensitivity() API (#1715)
* Add otPlatRadioGetReceiveSensitivity() API * Add a new otPlatRadioGetReceiveSensitivity() API to get sensitivity value; * Use the receive sensitivity value as the noise floor for link metric computation; * Remove some unused noise floor related functions. * Add SPINEL_PROP_PHY_RX_SENSITIVITY Spinel/NCP property
This commit is contained in:
@@ -61,7 +61,7 @@ struct RssTestData
|
||||
uint8_t mExpectedLinkQuality; // Expected final link quality value.
|
||||
};
|
||||
|
||||
static LinkQualityInfo sNoiseFloor;
|
||||
int8_t sNoiseFloor = -100; // dBm
|
||||
|
||||
// Checks the encoded average RSS value to match the value from GetAverageRss().
|
||||
void VerifyEncodedRssValue(LinkQualityInfo &aLinkInfo)
|
||||
|
||||
Reference in New Issue
Block a user