Skip to content
  1. Mar 14, 2018
  2. Mar 13, 2018
  3. Mar 12, 2018
  4. Mar 03, 2018
  5. Feb 20, 2018
  6. Feb 19, 2018
  7. Feb 01, 2018
  8. Jan 31, 2018
  9. Jan 30, 2018
  10. Jan 25, 2018
    • Gregory Nutt's avatar
      The existence of the network driver ioctl() method should depend on... · fccd4438
      Gregory Nutt authored
      The existence of the network driver ioctl() method should depend on CONFIG_NETDEV_IOCTL rather than CONFIG_NETDEV_PHY_IOCTL.  The former enables the method, the later enables a subset of possible driver IOCTLs.  This change should be basically a no-operation.  The affected ioctl methods only support those subset of driver IOCTLs selected by CONFIG_NETDEV_PHY_IOCTL and the network logic will tolerate a nul ioctl method.
      fccd4438
  11. Jan 22, 2018
    • Gregory Nutt's avatar
      The existence of the network driver ioctl() method should depend on... · a8b6be4a
      Gregory Nutt authored
      The existence of the network driver ioctl() method should depend on CONFIG_NETDEV_IOCTL rather than CONFIG_NETDEV_PHY_IOCTL.  The former enables the method, the later enables a subset of possible driver IOCTLs.  This change should be basically a no-operation.  The affected ioctl methods only support those subset of driver IOCTLs selected by CONFIG_NETDEV_PHY_IOCTL and the network logic will tolerate a nul ioctl method.
      a8b6be4a
  12. Nov 03, 2017
  13. Nov 01, 2017
    • Anthony Merlino's avatar
      Merged in antmerlino/nuttx/sixlowpan-mac802154 (pull request #526) · 14fb37c9
      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: default avatarGregory Nutt <gnutt@nuttx.org>
      14fb37c9
    • Anthony Merlino's avatar
      net/icmpv6: Add some header file necessary for correct build. · 02721f9d
      Anthony Merlino authored
      drivers/wireless/ieee80211:  Fix typos and spelling errors as needed for Photon build.
      02721f9d
  14. Oct 16, 2017
  15. Oct 11, 2017
  16. Oct 10, 2017
    • Gregory Nutt's avatar
      Squashed commit of the following: · e11e3b26
      Gregory Nutt authored
          Change all calls to mq_receive() and mq_timedreceive() in the OS to calls to nxmq_receive() and nxmq_timedreceive(), making appropriate changes for differences in return values.
      
          sched/mqueue:  Add nxmq_receive() and mxmq_timedreceive() which are functionally equivalent to the standard mq_receive and mq_timedreceive() except that (1) they do not create cancellation points, and (2) the do not modify the application's errno variable.
      e11e3b26
    • Gregory Nutt's avatar
      Squashed commit of the following: · fca07be1
      Gregory Nutt authored
          Change all calls to mq_send() and mq_timedsend() in the OS to calls to nxmq_send() and nxmq_timedsend(), making appropriate changes for differences in return values.
      
          sched/mqueue:  Add internal function nxmq_send() and nxmq_timedsend() that are equivalent to mq_send() and mq_timedsend() except that they do not create cancellation points and do to not modify the errno variable.
      fca07be1
  17. Oct 07, 2017
  18. Oct 06, 2017
    • Gregory Nutt's avatar
      Adds new OS internal functions nxsig_sleep() and nxsig_usleep. These differ... · 936df1bc
      Gregory Nutt authored
      Adds new OS internal functions nxsig_sleep() and nxsig_usleep.  These differ from the standard sleep() and usleep() in that (1) they don't cause cancellation points, and (2) don't set the errno variable (if applicable).  All calls to sleep() and usleep() changed to calls to nxsig_sleep() and nxsig_usleep().
      
      Squashed commit of the following:
      
          Change all calls to usleep() in the OS proper to calls to nxsig_usleep()
      
          sched/signal:  Add a new OS internal function nxsig_usleep() that is functionally equivalent to usleep() but does not cause a cancellaption point and does not modify the errno variable.
      
          sched/signal:  Add a new OS internal function nxsig_sleep() that is functionally equivalent to sleep() but does not cause a cancellaption point.
      936df1bc
  19. Oct 05, 2017
  20. Oct 04, 2017
    • Gregory Nutt's avatar
      Squashed commit of the following: · 9568600a
      Gregory Nutt authored
          This commit backs out most of commit b4747286.  That change was added because sem_wait() would sometimes cause cancellation points inappropriated.  But with these recent changes, nxsem_wait() is used instead and it is not a cancellation point.
      
          In the OS, all calls to sem_wait() changed to nxsem_wait().  nxsem_wait() does not return errors via errno so each place where nxsem_wait() is now called must not examine the errno variable.
      
          In all OS functions (not libraries), change sem_wait() to nxsem_wait().  This will prevent the OS from creating bogus cancellation points and from modifying the per-task errno variable.
      
          sched/semaphore:  Add the function nxsem_wait().  This is a new internal OS interface.  It is functionally equivalent to sem_wait() except that (1) it is not a cancellation point, and (2) it does not set the per-thread errno value on return.
      9568600a
  21. Oct 03, 2017
    • Gregory Nutt's avatar
      Squashed commit of the following: · 42a07966
      Gregory Nutt authored
          sched/semaphore:  Add nxsem_post() which is identical to sem_post() except that it never modifies the errno variable.  Changed all references to sem_post in the OS to nxsem_post().
      
          sched/semaphore:  Add nxsem_destroy() which is identical to sem_destroy() except that it never modifies the errno variable.  Changed all references to sem_destroy() in the OS to nxsem_destroy().
      
          libc/semaphore and sched/semaphore:  Add nxsem_getprotocol() and nxsem_setprotocola which are identical to sem_getprotocol() and set_setprotocol() except that they never modifies the errno variable.  Changed all references to sem_setprotocol in the OS to nxsem_setprotocol().  sem_getprotocol() was not used in the OS
      42a07966
    • Gregory Nutt's avatar
      Squashed commit of the following: · 83cdb0c5
      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.
      83cdb0c5
  22. Sep 30, 2017
    • Gregory Nutt's avatar
      Squashed commit of the following: · 8394f9b6
      Gregory Nutt authored
          configs/z80sim and xtrs:  Serial driver lower halfs ioctl methods should return a negated errno value, not set the errno variable.
      
          drivers/wireless:  CC1101 driver not permitted to set errno.
      
          drivers/sensors:  LIS331DL driver not permitted to set errno.
      
          drivers/lcd: ILI9341 initialize method not permitted to set errno,
      
          drivers/serial: 16550 UART driver IOCTL method must not set errno; it must return a negated errno value.
      8394f9b6
  23. Sep 15, 2017
    • Anthony Merlino's avatar
      Merged in merlin17/nuttx (pull request #485) · 046a94e3
      Anthony Merlino authored
      
      
      drivers/xbee: Fixes a few warnings
      
      * drivers/xbee: Fixes a few warnings
      
      * configs/clicker2-stm32: Updates sections about i8sak usage in the README
      
      Approved-by: default avatarGregory Nutt <gnutt@nuttx.org>
      046a94e3
    • Anthony Merlino's avatar
      Merged in merlin17/nuttx/xbee (pull request #484) · 22754053
      Anthony Merlino authored
      
      
      drivers/wireless:  Adds XBee S2C (802.15.4 firmware) support. XBee driver emulates mac802154 interface
      
      * drivers/wireless/xbee: Adds xbee_netdev. Very similar to mac802154_netdev
      
      * configs/same70-xplained: Starts adding support for XBee radio
      
      * drivers/wireless/ieee802154/xbee: More structuring of XBee driver
      
      * drivers/wireless/ieee802154/xbee: More Xbee work. Starts adding support on Clicker2
      
      * drivers/wireless/ieee802154/xbee: More XBee MAC code
      
      * configs/clicker2-stm32: More work to add XBee radio support
      
      * drivers/wireless/ieee802154/xbee: Most of driver is now structured. No build errors
      
      * configs/clicker2-stm32: Adjustments to XBee click module support
      
      * drivers/xbee: Changes md_ prefix to xd_ prefix for xbeenet_driver_s fields
      
      * drivers/xbee: XBee network device now passes MAC events via IOCTL
      
      * drivers/xbee: Support querying device for parameters, setting parameters, and structures association/startpan logic
      
      * configs/clicker2-stm32: Fixes Xbee lower half ATTN poll logic
      
      * drivers/xbee: Removes dependce on CONFIG_IEEE802154_NETDEV
      
      * drivers/xbee: Supports MAC RESET.request primitive
      
      * drivers/xbee: Exposes generic AT query to the rest of driver
      
      * drivers/xbee: Sets local values when writing setting change to Xbee device
      
      * drivers/xbee: Finish association logic
      
      * drivers/xbee: Adds xbee_get_mhrlen( ) allocating enough space for API frame header to frame
      
      * drivers/xbee: Finishes transmit/receive logic
      
      * drivers/xbee: Fixes xbee_netdev to match logic in mac802154_netdev.c
      
      * drivers/xbee: Rearranges logic to prevent a loop condition where recursion could potentially occur to the point of deadlocking the system
      
      Approved-by: default avatarGregory Nutt <gnutt@nuttx.org>
      22754053
    • Anthony Merlino's avatar
      Squashed commit of the following: · 9af6b7cd
      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: default avatarGregory Nutt <gnutt@nuttx.org>
      9af6b7cd
  24. Sep 11, 2017