Skip to content

gnrc_mac: compress MAC info and consolidate with gnrc_netdev2#2

Merged
zhuoshuguo merged 1 commit intozhuoshuguo:gnrc_mac_typefrom
miri64:shuguo/enh/merge-mac-gnrc_netif
Oct 20, 2016
Merged

gnrc_mac: compress MAC info and consolidate with gnrc_netdev2#2
zhuoshuguo merged 1 commit intozhuoshuguo:gnrc_mac_typefrom
miri64:shuguo/enh/merge-mac-gnrc_netif

Conversation

@miri64
Copy link
Copy Markdown

@miri64 miri64 commented Oct 20, 2016

I think it's better to move gnrc_mac_t into gnrc_netdev2 completely. This type wastes 2 bytes on 32-bit platforms anyway due to alignment. This includes the MAC info as a 2-byte-bitfield, so we save the 8 byte your choice of type generated. ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants