[riot-notifications] [RIOT-OS/RIOT] sys/inet/ieee802154/radio: fix wrong rssi conversions treewide (#15616)

José Alamos notifications at github.com
Wed Jan 13 14:56:51 CET 2021

@jia200x commented on this pull request.

> -            radio_info->rssi = _hwval_to_ieee802154_dbm(hwlqi) + IEEE802154_RADIO_RSSI_OFFSET;
+            radio_info->rssi = _hwval_to_ieee802154_dbm(hwlqi) - IEEE802154_RADIO_RSSI_OFFSET;

if it comes from the hardware, I would prefer to have it clamped. As described above, we never know what might happen in the radio

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210113/64fdd45e/attachment-0001.htm>

More information about the notifications mailing list