WIP: wireless/ieee802154: More work on association/beacon-enabled networks

This commit is contained in:
Anthony Merlino
2017-06-02 18:49:22 -04:00
parent c5816b719f
commit 908d438047
7 changed files with 1307 additions and 569 deletions
+6
View File
@@ -15,6 +15,12 @@ menuconfig WIRELESS_IEEE802154
if WIRELESS_IEEE802154
config IEEE802154_DEFAULT_EADDR
hex "IEEE 802.15.4 Default Extended Address"
default 0x00fade00deadbeef
---help---
Set the default extended address to be used by MAC networks on init
config IEEE802154_MAC_DEV
bool "Character driver for IEEE 802.15.4 MAC layer"
default n
File diff suppressed because it is too large Load Diff
-2
View File
@@ -58,8 +58,6 @@
* Public Data Types
****************************************************************************/
/* Callback operations to notify the next highest layer of various asynchronous
* events, usually triggered by some previous request or response invoked by the
* upper layer.
+3 -1
View File
@@ -600,6 +600,8 @@ static ssize_t mac802154dev_write(FAR struct file *filep,
ret = mac802154_req_data(dev->md_mac, &tx->meta, iob);
if (ret < 0)
{
/* TODO: Should the IOB be freed here? */
wlerr("ERROR: req_data failed %d\n", ret);
return ret;
}
@@ -616,7 +618,7 @@ static ssize_t mac802154dev_write(FAR struct file *filep,
****************************************************************************/
static int mac802154dev_ioctl(FAR struct file *filep, int cmd,
unsigned long arg)
unsigned long arg)
{
FAR struct inode *inode;
FAR struct mac802154_chardevice_s *dev;