[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:21 CET 2021

@jia200x commented on this pull request.

> @@ -185,10 +185,9 @@ static int _read(ieee802154_dev_t *dev, void *buf, size_t size, ieee802154_rx_in
             /* The number of dB above maximum sensitivity detected for the
              * received packet */
-            info->rssi = -CC2538_RSSI_OFFSET + rssi_val + IEEE802154_RADIO_RSSI_OFFSET;
+            info->rssi = (CC2538_RSSI_OFFSET + rssi_val) - IEEE802154_RADIO_RSSI_OFFSET;

I'm fine with it, we never know what kind of bugs may appear in the silicon

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/2df8d860/attachment.htm>

More information about the notifications mailing list