Skip to content
  1. Mar 15, 2018
  2. Mar 14, 2018
  3. Mar 13, 2018
  4. Mar 12, 2018
  5. Mar 03, 2018
  6. Feb 20, 2018
  7. Feb 19, 2018
  8. Feb 01, 2018
  9. Jan 31, 2018
  10. Jan 30, 2018
  11. 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
  12. 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
  13. Nov 03, 2017
  14. 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
  15. Oct 16, 2017
  16. Oct 11, 2017
  17. 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
  18. Oct 07, 2017
  19. 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
  20. Oct 05, 2017
  21. 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
  22. 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
  23. 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