[riot-notifications] [RIOT-OS/RIOT] at86rf2xx: move PHY and MAC layer components to netdev interface (#11717)

Kaspar Schleiser notifications at github.com
Wed Jun 19 10:50:29 CEST 2019


> In practice yes, there should be an API for the upper layers. Since `netdev` is the only layer on top so far, I didn't add these functions.

Well, ```ifconfig``` displays dbm values. Internal (register scale) values are not really interesting. ```netdev_ieee802154``` doesn't know any of them. If the driver <-> 802154 API is using internal values, 802154 can only get and then set again an internal values with no means of presenting them to the user, or use any kind device agnostic configuration. Thus I'm strongly for using dbm values for device <-> netdev_802154.

>  We might need them at some point anyway.

The conversion code is already there. Maybe we shouldn't remove it now just to add it as soon as we realize the rework doesn't allow displaying/setting dbm values anymore.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11717#issuecomment-503469425
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190619/6574105c/attachment.html>


More information about the notifications mailing list