Skip to content

Commit

Permalink
[link-metrics] add missing initialization of noisefloor for link metr…
Browse files Browse the repository at this point in the history
…ics (#695)

The commit adds missing initialization of noise floor in link metrics
module. Without this commit, the link margin obtained in link metrics
enhanced-ack probing is incorrect.
  • Loading branch information
Irving-cl authored Nov 28, 2023
1 parent c37e159 commit a265943
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/src/radio.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,9 @@ void otPlatRadioSetShortAddress(otInstance *aInstance, uint16_t aShortAddress)
void nrf5RadioInit(void)
{
dataInit();
#if OPENTHREAD_CONFIG_MLE_LINK_METRICS_SUBJECT_ENABLE
otLinkMetricsInit(NRF528XX_RECEIVE_SENSITIVITY);
#endif
nrf_802154_init();
}

Expand Down

0 comments on commit a265943

Please sign in to comment.