- Mar 28, 2018
-
-
Anthony Merlino authored
mac802154: Fixes bug where primitive was freed when it shouldn't have been, causing double free call Approved-by: Gregory Nutt <gnutt@nuttx.org>
-
- Nov 01, 2017
-
-
Anthony Merlino authored
ieee802154: Simplifies notify() and rxframe() calls to a single notify() call. dataind's and all other "notifs" are now "primitives" which aligns with standard terminology * mac802154: Adds missing breaks from case statement * sixlowpan: Fixes bad logic where ACK is not requested if address is not a broadcast * ieee802154: Simplification of "notifs" and "datainds" to generic primitives passed via a single notify call to the layer above the MAC * Directories.mk should reference CONFIG_WIRELESS instead of CONFIG_DRIVERS_WIRELESS * xbee_netdev: Network must be locked when calling sixlowpan_input * sixlowpan: Reassembly buffer can't be freed if provided by radio driver * sixlowpan: Don't free IOB if there is an error processing it as the MAC will try to pass it along to another receiver * ieee802154: Adds basic logging to ieee802154_primitive.c * Minor fixes after rebase * xbee: Adds AT query timeout to retry if XBee doesn't respond to request * same70-xplained: Adds Xbee support. Makes mikroBus slot Kconfig 'choice' * mac802154: Removes unused function declaration * drivers/mrf24j40: Fixes compilation error using . operator rather than -> operator * mac802154_device: Changes a few mac802154_primtive_free's to ieee802154_primitive_free() and changes notif to primitive in a couple places. * mac802154: Adds promiscous mode logic to bypass parsing of incoming frames. MAC char device also checks for promiscous mode and passes whole frames including header and FCS to the application if promiscous mode is enabled. * sixlowpan: Fixes logic to correctly check if packet is large enough to include header. This would cause packets to be considered too small when they are sufficiently sized. * sixlowpan: Fixes forwarding logic to use forwarding device rather than received device to look up destination link layer address * net/ipforward: Fixes typo that caused build error when IP forwarding was enabled with CONFIG_NET_ICMPv6_NEIGHBOR enabled as well. * configs/same70-xplained: Simple spelling fix Approved-by: Gregory Nutt <gnutt@nuttx.org>
-
- Oct 05, 2017
-
-
Gregory Nutt authored
sched/semaphore: sem_trywait() modifies the errno value and, hence, should not be used within the OS. Use nxsem_trywait() instead.
-
- Oct 03, 2017
-
-
Gregory Nutt authored
libc/semaphore: Add nxsem_getvalue() which is identical to sem_getvalue() except that it never modifies the errno variable. Changed all references to sem_getvalue in the OS to nxsem_getvalue(). sched/semaphore: Rename all internal private functions from sem_xyz to nxsem_xyz. The sem_ prefix is (will be) reserved only for the application semaphore interfaces. libc/semaphore: Add nxsem_init() which is identical to sem_init() except that it never modifies the errno variable. Changed all references to sem_init in the OS to nxsem_init(). sched/semaphore: Rename sem_tickwait() to nxsem_tickwait() so that it is clear this is an internal OS function. sched/semaphoate: Rename sem_reset() to nxsem_reset() so that it is clear this is an internal OS function.
-
- Sep 15, 2017
-
-
Anthony Merlino authored
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>
-
- Jul 18, 2017
-
-
Anthony Merlino authored
-
- Jul 17, 2017
-
-
Anthony Merlino authored
-
Anthony Merlino authored
-
- Jul 13, 2017
-
-
Anthony Merlino authored
-
- Jul 10, 2017
-
-
Anthony Merlino authored
-
Anthony Merlino authored
Before, the MAC timer used a watchdog to schedule work with the high priority worker queue. However, since everything in the MAC is supposed to be serialized through the use of the high priority work queue, but the timer uses a watchdog, there are some unintended consequences. To simplify, we now use the delayed work feature of the work queue.
-
- Jul 09, 2017
-
-
Anthony Merlino authored
-
Anthony Merlino authored
-
- Jul 08, 2017
-
-
Anthony Merlino authored
-
- Jul 03, 2017
-
-
Gregory Nutt authored
-
- Jul 01, 2017
-
-
Anthony Merlino authored
-
Anthony Merlino authored
-
Anthony Merlino authored
-
Anthony Merlino authored
-
Anthony Merlino authored
-
Anthony Merlino authored
Each notification now has a number of clients. When the last client calls free, the notification is freed back to the pool
-
- Jun 26, 2017
-
-
Gregory Nutt authored
-
- Jun 25, 2017
-
-
Anthony Merlino authored
-
Anthony Merlino authored
-
- Jun 23, 2017
-
-
Anthony Merlino authored
-
- Jun 21, 2017
-
-
Gregory Nutt authored
-
Gregory Nutt authored
Make naming of NTXDESC consistent. I don't know where it should be MAC or IEEE, gut I changed the one that affects the fewest files.
-
- Jun 20, 2017
-
-
Anthony Merlino authored
-
Gregory Nutt authored
ieee802154 MAC: Free allocated TX descriptor if an error occurs after the descriptor has been allocated.
-
Gregory Nutt authored
-
Gregory Nutt authored
-
- Jun 19, 2017
-
-
Anthony Merlino authored
-
Anthony Merlino authored
Swithches IEEE 802.15.4 based code to using byte arrays instead of uint16_t values for short address and PAN ID
-
- Jun 18, 2017
-
-
Gregory Nutt authored
ieee 802.15.4: Need counting protection on the logic that releases the notification resources. Otherwise, notification handlers may be operating with a stale pointer.
-
Gregory Nutt authored
IEEE 802.15.4 MAC: Add list management and prioritization logic that will permit the MAC layer to support bound multiple clients.
-
- Jun 17, 2017
-
-
Gregory Nutt authored
-
Anthony Merlino authored
-
Anthony Merlino authored
-
Gregory Nutt authored
-
- Jun 15, 2017
-
-
Gregory Nutt authored
-