a8e1620f3c
mac802154: Fixes issues with extended address. 1) Extended address should be read-only. 2) Extended address should be placed in frame in "reverse-canonical" order. The extended address is a read-only attribute and thus an attempt to write the extended address should be denied. Instead, the extended address should really be either set by the PHY/radio itself, or provided at board bring-up time to the radio layer. The MAC layer now pulls in the extended address from the radio any time the MAC is reset. The extended address is also supposed to be sent in the frame in reverse-canonical order. This is very confusing in the standard and it wasn't until I realized it was backwards in Wireshark that I researched this further. Searching online I find documents from the committee for suggestions/feedback on the future standard. It isn't in the 2015 standard but a newer version of the standard will presumably clarify this. It says that the extended address should be written in reverse-canonical form, meaning the OUI comes last, not first inside the frame. Approved-by: Gregory Nutt <gnutt@nuttx.org> |
||
---|---|---|
.. | ||
ieee802154_primitive.c | ||
Kconfig | ||
mac802154_assoc.c | ||
mac802154_assoc.h | ||
mac802154_bind.c | ||
mac802154_data.c | ||
mac802154_data.h | ||
mac802154_device.c | ||
mac802154_disassoc.c | ||
mac802154_get_mhrlen.c | ||
mac802154_getset.c | ||
mac802154_gts.c | ||
mac802154_internal.h | ||
mac802154_ioctl.c | ||
mac802154_loopback.c | ||
mac802154_netdev.c | ||
mac802154_orphan.c | ||
mac802154_poll.c | ||
mac802154_poll.h | ||
mac802154_purge.c | ||
mac802154_reset.c | ||
mac802154_rxenable.c | ||
mac802154_scan.c | ||
mac802154_scan.h | ||
mac802154_start.c | ||
mac802154_sync.c | ||
mac802154.c | ||
mac802154.h | ||
Make.defs | ||
README.txt |
This will eventually hold some general documentation for the IEEE 802.15.4 MAC implementation. NOTE: Throughout the code, excerpts from the standard are quoted as to make the code thoroughly readable. I have tried, to always put a reference [1] and page number. Below is the references that correspond with the reference number [1]