Commit Graph

11 Commits

Author SHA1 Message Date
Anthony Merlino
9af6b7cdae Squashed commit of the following:
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>
2017-09-15 08:04:38 -06:00
Anthony Merlino
8610723ee6 ieee802154: Adds some wlinfo logs for debugging 2017-07-16 23:51:24 -04:00
Anthony Merlino
acc1ecd9a9 drivers/mrf24j40: Fixes math error for calculating sleep count values 2017-07-16 23:51:24 -04:00
Anthony Merlino
350776eca3 drivers/mrf24j40: Fixes issues with sleeping for beacon enabled networking 2017-07-13 03:18:22 -04:00
Anthony Merlino
b1eb796d97 drivers/mrf24j40: Hook in setdevmode from newly added radio attribute setting 2017-07-12 00:54:29 -04:00
Anthony Merlino
c3f51dce70 drivers/mrf24j40: Formatting fixes 2017-07-11 23:46:39 -04:00
Anthony Merlino
3148e62ca1 drivers/wireless/ieee802154/mrf24j40: Aligns better with coding standard after splitting up driver 2017-07-11 21:12:50 -04:00
Anthony Merlino
0eaf2925cf drivers/wireless/ieee802154/mrf24j40/: Fixes bug causing radio to cease transmitting 2017-07-11 21:11:52 -04:00
Anthony Merlino
35289e6d0e ieee802154: Minor reformatting 2017-07-11 20:36:50 -04:00
Anthony Merlino
bbf37a0db8 drivers/wireless/ieee802154/mrf24j40: Fixes issue with non-beacon enabled mode 2017-07-10 13:11:43 -04:00
Anthony Merlino
28d1db02b8 drivers/wireless/ieee802154/mrf24j40: Splits up driver into multiple files to make it easier to navigate 2017-07-10 13:11:43 -04:00