Verge Aero has submitted the SGA
Anthony Merlino has submitted the SGA
Gregory Nutt has submitted the SGA
Sebastien Lorquet has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
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>
Merged in merlin17/nuttx/mac802154-sock (pull request #479)
wireless/ieee802154: Adds support for receiving MAC events via IOCTL through socket interface. Other small fixes and cleanup
* ioctl: Cleans up MAC802154IOC values
* wireless/ieee802154: Cleans up MAC802154IOC_NOTIFY_REGISTER logic in character driver
* wireless/ieee802154/mac802154_netdev: Adds support for MAC event notification via IOCTL
* wireless/ieee802154/mac802154: Changes reset logic. No longer reset extended address.
* wireless/ieee802154: Cleans up MAC802154IOC logic
Moves MAC802154IOC from ieee802154_ioctl.h and renames ieee802154_ioctl.h to ieee802154_device.h since it only contains types relevant to the MAC char device now.
* wireless/ieee802154/mac802154_device: Cleans up IOCTL logic for recent changes.
* drivers/wireless/ieee802154/mrf24j40: Adds missing break in case statement
* wireless/ieee802154/mac802154_netdev: Starts adding support for passing MAC events via IOCTL
* wireless/ieee802154/mac802154: Fixes issue with receiver enable logic
* wireless/ieee802154/mac802154: Fixes issue where extended address is cleared and not rewritten after radio reset
* configs/clicker2-stm32/mrf24j40-mac: Enables RAMLOG and wireless driver logging
* wireless/ieee802154/mac802154: Fixes poll logic meant to automatically choose address mode based on short address range.
Approved-by: Gregory Nutt <gnutt@nuttx.org>