mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
WIP: wireless/ieee802154: More work on association/beacon-enabled networks
This commit is contained in:
@@ -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
|
||||
|
||||
+1133
-458
File diff suppressed because it is too large
Load Diff
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user