Pass header-payload offset to application for use when the MAC layer is in promiscuous mode * mac802154_device: When in promiscuous mode, the char driver sends the entire frame, including the MAC header. This change adds an offset field indicating the header-payload boundary. It is set to 0 when not in promiscuous mode as the header is not passed to the application * mac802154: Adds support for getting promiscuous mode state Approved-by: Gregory Nutt <gnutt@nuttx.org>
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]