Commit Graph

3135 Commits

Author SHA1 Message Date
Anthony Merlino
9ad3b375e5 wireless/ieee802154: Lots of small fixes to eliminate build issues.
Generally cleans things up and fixes lots of small issues preventing a successful build.  Does not completely build, but there are significantly less errors
2017-04-18 15:34:28 -04:00
Gregory Nutt
1d1d633e6f ieee802.15.4: Fix some forbidden C11 syntax. 2017-04-17 11:47:33 -06:00
Gregory Nutt
6d3ec6e4a4 ieee802.15.4: Changes from review of last PR 2017-04-17 09:53:58 -06:00
Anthony Merlino
46d7a4bb03 wireless/ieee802154: Continues development on transmit structure 2017-04-17 11:34:41 -04:00
Gregory Nutt
edb8e6302d Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-16 12:20:59 -06:00
Gregory Nutt
41f3f1ced7 6loWPAN: Correct ordering of headers. fragmentation header was coming out before FCF. 2017-04-16 12:18:42 -06:00
Anthony Merlino
2bc758c3eb wireless/ieee802154: Bind MAC phyif to radio 2017-04-15 13:44:15 -04:00
Anthony Merlino
141d5574f8 wireless/ieee802154: Starts defining interface between PHY layer and next highest layer 2017-04-15 13:24:25 -04:00
Anthony Merlino
2aaec20bbb wireless/ieee802154: Minor formatting and new macros 2017-04-15 13:21:07 -04:00
Anthony Merlino
dce2e774df wireless/ieee802154: Fixes comments from previous commit 2017-04-15 12:00:43 -04:00
Anthony Merlino
5c32abb442 wireless/ieee802154: Adds ability to receive notifications from MAC char driver 2017-04-15 12:00:43 -04:00
Gregory Nutt
85d97a4d74 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-15 09:34:03 -06:00
Gregory Nutt
78bc1aa6bc Argument of network device IOCTL should be unsigned long, just as will all other IOCTL methods. 2017-04-15 09:33:27 -06:00
Gregory Nutt
beee02843a wireless/ieee802154: Fix some easy compilation problems introduced with header file changes. 2017-04-14 12:05:28 -06:00
Gregory Nutt
fba8c96540 ieee802.15.4: New global functions exported by the lower MAC layer should be private to the MAC module. Function prototypes moved from include/nuttx/wireless/ieee802154/ieee802154_mac.h to wireless/ieee802154/mac802154.h 2017-04-14 11:24:40 -06:00
Gregory Nutt
badd36170d IEEE802.15.4: There is only one instance of the IEEE802.15.4 MAC lower level. There is no need for the interface to be indirect via a vtable. In this case, standard global functions should be used. 2017-04-14 10:38:46 -06:00
Gregory Nutt
c1ddae5c5e ieee802.15.4: de-couple MAC driver interface. Now works more like other drivers. 2017-04-13 12:17:36 -06:00
Gregory Nutt
6b8a8bda35 ieee802.15.4 radio: Remove interface methods that duplicate IOCTL commands. 2017-04-13 11:14:02 -06:00
Gregory Nutt
fae1df31dc ieee802.15.4 netdev: Add IOCTL support. 2017-04-13 10:18:57 -06:00
Gregory Nutt
8288f53d4e ieee802154 radio: Implement IOCTL decode and dispatch in all radio drivers. 2017-04-13 09:13:16 -06:00
Gregory Nutt
32962fa6e3 Add missing field name 2017-04-13 08:17:34 -06:00
Gregory Nutt
241da3ec49 ieee802.15.4 MAC: Add data structure definitions for MAC IOCTLs. 2017-04-13 08:14:58 -06:00
Gregory Nutt
015ae22f28 ieee802.15.4 radio: Add data structure definitions for Radio IOCTLs. 2017-04-13 07:35:48 -06:00
Gregory Nutt
bfc71e971a Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-11 13:08:53 -06:00
Gregory Nutt
6560db912b Add more definitions needed by apps/examples/wapi 2017-04-11 12:41:30 -06:00
Gregory Nutt
3fb730040b include/nuttx/wireless/wireless.h: Add a few more definitions needed by apps/wireless/wapi 2017-04-11 10:23:46 -06:00
Gregory Nutt
4f35f196b1 included/nuttx/wireless/wireless.h: Fix/add a few things needed by apps/wireless/wapi 2017-04-10 16:14:12 -06:00
Gregory Nutt
aa823e8d6e Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-10 15:27:01 -06:00
Gregory Nutt
c08ba10d32 include/: Add some definitions needed by apps/wireless/wapi 2017-04-10 14:56:23 -06:00
Gregory Nutt
77f980e676 Buttons: Correct some comments left after last button-related change: 32- vs 8-bit bit set. 2017-04-09 14:44:49 -06:00
Gregory Nutt
c3a9c7eda6 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-09 10:16:57 -06:00
Gregory Nutt
f9e402018b Buttons: Change return value of board_buttons() and the type of btn_buttonset_t to uint32_t so that more than 8 buttons can be supported. 2017-04-09 07:22:49 -06:00
Gregory Nutt
51cd421ce7 Ieee802.15.4 MAC network driver. A little more logic (but still only partial). Add interface definitions to header file. 2017-04-08 19:11:57 -06:00
Gregory Nutt
d4e434278c Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-08 13:10:39 -06:00
Mark Schulte
35ca733108 pthread.h: Fix rwlock initializer 2017-04-08 12:34:08 -06:00
Gregory Nutt
11a8f8f4a9 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-08 10:32:53 -06:00
Gregory Nutt
3f51180cca 6loWPAN: Fix breakage in IPv6 dispatch caused by fixes to HC1 dispatch; Move some standard definitions from internal header file to include/nuttx/net/sixlowpan.h. Update a README. 2017-04-08 10:18:44 -06:00
Gregory Nutt
dea251783a pthread.h: Remove duplicate, possible erroneous definitino of PTHREAD_MUTEX_INITIALIZER that crept in with some recent changes. 2017-04-08 08:14:11 -06:00
Gregory Nutt
a35845bd09 Restore TCP_HDRLEN to MSS calculation. Also add to UDP MSS calculation where it never appearred. Add some missing MSS and RDVWNDO definitinos for 6loWOPAN. 2017-04-08 07:48:37 -06:00
Gregory Nutt
ee6700dbc7 Update README's and some comments. 2017-04-08 07:30:20 -06:00
Gregory Nutt
94730f69d1 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-07 17:05:37 -06:00
Gregory Nutt
7aff0f77d9 Merge remote-tracking branch 'origin/master' into rwlock 2017-04-07 15:49:03 -06:00
Mark Schulte
2b1ca79b4b pthread rwlock bugfixes 2017-04-07 15:45:24 -06:00
Gregory Nutt
f264e6aec2 6loWPAN: Fixes for fragmented packets. Change fixes some things, breaks other. Lots more to do. 2017-04-07 15:27:53 -06:00
Gregory Nutt
b631dc886f Remove CONFIG_PTHREAD_RWLOCK. Rwlock interfaces built unconditionally. 2017-04-07 07:34:22 -06:00
Mark Schulte
7bb26d2615 pthreads: Adding rwlock implementation
Adding an implementation for read/write locks into the pthread library.
These locks are writer priority, such that if any writers come in they
are given priority for writing.
2017-04-07 07:03:00 -06:00
Gregory Nutt
11ad71a2e6 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-06 10:01:02 -06:00
Jussi Kivilinna
e3b3e57e56 RTC: add interface for check if RTC time has been set
New interface allows checking if RTC time has been set.  This allows to application to detect if RTC has valid time (after
reset) or should application attempt to get real time by other means (for example, by launching ntpclient or GPS).
2017-04-06 09:53:11 -06:00
Gregory Nutt
d0aa22fb80 6loWPAN: Costmetic changes. 2017-04-05 17:26:12 -06:00
Gregory Nutt
9893b7243b Trivial changes from review of last PR. 2017-04-05 13:28:35 -06:00