Commit Graph

179 Commits

Author SHA1 Message Date
Gregory Nutt
77757410c8 Remove dangling white space at the end of lines. 2017-06-15 10:46:48 -06:00
Anthony Merlino
e30501ebd4 wireless/ieee802154: Lots of fixes, cleanup, new functionality. Functional 2017-06-15 12:11:52 -04:00
Anthony Merlino
908d438047 WIP: wireless/ieee802154: More work on association/beacon-enabled networks 2017-06-14 02:49:32 -04:00
Anthony Merlino
06634afbe0 wireless/ieee802154: Restructuring of MAC notifications. Simplifes some interfaces 2017-05-15 21:44:57 -04:00
Anthony Merlino
8ec0b71a59 wireless/ieee802154: Updates configuration settings 2017-05-14 17:59:19 -04:00
Anthony Merlino
2b5e415fab wireless/ieee802154: Starts implementing START.request primitive 2017-05-14 17:55:15 -04:00
Anthony Merlino
07c47b0dde wireless/ieee802154: Starts implementing START.request primitive 2017-05-09 17:22:30 -04:00
Anthony Merlino
806dcd9a47 wireless/ieee802154: Brings closer to Nuttx coding style 2017-05-09 17:20:57 -04:00
Anthony Merlino
1186cd4e56 wireless/ieee802154: Fixes missing handle of read/write being able to be interrupted 2017-05-09 17:20:57 -04:00
Gregory Nutt
2043e1a114 IOBs: Move from driver/iob to a better location in mm/iob 2017-05-09 07:35:30 -06:00
Anthony Merlino
bbb85332fd wireless/ieee802154: Finishes MAC char driver read functionality 2017-05-08 16:23:13 -04:00
Anthony Merlino
2da6f71e84 wireless/ieee802154: Finishes MAC processing of received data frame 2017-05-08 16:23:13 -04:00
Anthony Merlino
2ea6bb4dc1 wireless/ieee802154: Moves ind allocator from mac802154.h to ieee802154_mac.h 2017-05-08 16:23:13 -04:00
Gregory Nutt
b0b0c7ac49 IEEE 802.15.4 network driver. Remove support for multicast address filtering; doesn't work that way on an IEEE 802.15.4 network 2017-05-08 08:34:21 -06:00
Gregory Nutt
d785893a65 Update some comments. 2017-05-07 16:58:49 -06:00
Gregory Nutt
47793aa8f8 Update ieee802.15.4 network driver so that it compiles cleanly. 2017-05-07 08:47:48 -06:00
Anthony Merlino
a19a44ad3d wireless/ieee802154: Completes Rx data flow through MAC layer to callback 2017-05-06 10:20:19 -04:00
Anthony Merlino
1490599b69 wireless/ieee802154: Reworks data_ind allocation to include IOB allocation/deallocation. Hides private data. 2017-05-06 10:20:19 -04:00
Anthony Merlino
88fb514b42 Merged in merlin17/nuttx/ieee802154 (pull request #351)
wireless/ieee802154: Removes msdu_length from meta-data since it is intrinsically in the IOB

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-06 11:53:15 +00:00
Gregory Nutt
a1a68216a9 Trivial changes to spacing 2017-05-05 14:43:44 -06:00
Gregory Nutt
3fcdc28a59 ieee 802.15.4: Add a pool-based memory allocator for RX frame meta-data. 2017-05-05 12:50:34 -06:00
Gregory Nutt
0eb7ec046e 6loWPAN: Use information in struct ieee802154_data_ind_s when reassembling a packet 2017-05-05 11:36:16 -06:00
Anthony Merlino
b87fac776f wireless/ieee802154: Removes msdu_length from meta-data since it is intrinsically in the IOB 2017-05-05 12:44:34 -04:00
Gregory Nutt
95bacb6a34 6loWPAN: Some fixed to get a clean compile after last big changes to the radio IOCTLs. 2017-05-05 10:00:18 -06:00
Anthony Merlino
dd40014279 wireless/ieee802154: Removes radio IOCTL. Starts bringing radio and MAC closer with well-defined interface. 2017-05-05 11:15:38 -04:00
Anthony Merlino
abc15c8429 wireless/ieee802154: Finishes promiscuous mode IOCTL 2017-05-05 11:15:38 -04:00
Anthony Merlino
8435e93fe8 Merged in merlin17/nuttx/ieee802154 (pull request #344)
wireless/ieee802154:  Simplifies some primitive prototypes

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-04 19:29:48 +00:00
Gregory Nutt
1cf891bbe1 Another baby step in removing MAC knowledge from 6loWPAN. 2017-05-04 11:33:22 -06:00
Gregory Nutt
969c1ab614 6loWPAN: Replace some Rime address naming with more consistent short/exended address terminology 2017-05-04 08:20:59 -06:00
Anthony Merlino
ba32b65813 wireless/ieee802154: Simplifies some primitive prototypes 2017-05-03 13:26:15 -04:00
Gregory Nutt
2b8d60970b Merge branch 'ieee802154' of bitbucket.org:nuttx/nuttx into ieee802154 2017-05-03 11:14:59 -06:00
Gregory Nutt
cf988309aa 6loWPAN: Fixes hang in loopback test. 2017-05-03 11:13:07 -06:00
Anthony Merlino
2c2cddd44b wireless/ieee802154: Starts work on setting PIB attributes 2017-05-03 11:42:52 -04:00
Anthony Merlino
352d8260f2 Merged in merlin17/nuttx/ieee802154 (pull request #342)
Ieee802154

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-03 15:41:50 +00:00
Gregory Nutt
858685e977 6loWPAN: Changes to use new MAC interfaces. Incomplete and needs some clean-up of dangling, unused definitions. 2017-05-03 09:40:42 -06:00
Anthony Merlino
653a0217f2 wireless/ieee802154: Finishes some IOCTL logic for MAC layer 2017-05-03 10:52:25 -04:00
Anthony Merlino
893c42561f wireless/ieee802154: Sets up default PIB attributes 2017-05-03 10:45:37 -04:00
Gregory Nutt
1ac1b6e68f MAC: meta data must be const to assure that it is not modified. 2017-05-03 08:04:20 -06:00
Gregory Nutt
4ec14bb2e4 6loWPAN: Add basic call path to interface with the MAC layer through the MAC network driver. Logic has not yet been implemented. This is just a structural change in preparation for additional changes. 2017-05-02 16:03:26 -06:00
Gregory Nutt
2ece0c57dd Remove dangling whitespace at the end of lines 2017-05-02 14:42:40 -06:00
Anthony Merlino
f02d98d15e wireless/ieee802154: Changes transmit data path to use IOBs and exposes function for getting size of MAC header 2017-05-02 09:58:54 -04:00
Anthony Merlino
c4007a111c wireless/ieee802154: Fixes semaphore logic and list logic 2017-05-01 09:27:44 -04:00
Anthony Merlino
b1ff257215 wireless/ieee802154: Minor fixes to account for moved IOCTL definitions 2017-05-01 09:27:44 -04:00
Gregory Nutt
3482172a16 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-29 10:06:35 -06:00
Gregory Nutt
8262c05713 sixlowpan: Can't reuse same header on each fragment. DSN needs to increment. 2017-04-29 08:23:59 -06:00
Anthony Merlino
9e760dcf6a wireless/ieee802154: Lots of little fixes and changes to get everything to build 2017-04-26 11:36:06 -04:00
Gregory Nutt
0ea071f7eb Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-22 11:58:07 -06:00
Gregory Nutt
7da031aea1 6loWPAN: Add IEEE802.15.4 Rime address to union of link layer addresses in the network driver. 2017-04-22 11:52:45 -06:00
Gregory Nutt
309f0abc14 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-21 16:34:10 -06:00
Gregory Nutt
d5207efb5a Be consistent... Use Name: consistent in function headers vs Function: 2017-04-21 16:33:14 -06:00
Gregory Nutt
5d68eb6059 6loWPAN: Remove the PAN ID from the 6loWPAN data structure. This is owned by the radio driver. Rather, use an IOCTL to obtain the PAN ID from the downstream radio driver. 2017-04-21 16:23:40 -06:00
Gregory Nutt
b2292cd2cb Some trivial spacing changes from review of last PR; Remove some dangling whitespace at the end of lines. 2017-04-21 13:21:43 -06:00
Anthony Merlino
b1c8f008d6 wireless/ieee802154: Simplifies TX completion interface. Documents and cleans up some functions 2017-04-21 14:57:27 -04:00
Anthony Merlino
1abe4ae4da wireless/ieee802154: Starts structuring transmission completion handling 2017-04-19 16:35:02 -04:00
Gregory Nutt
ec5b0a0ef3 Minor changes to spacing only from review of last PR 2017-04-19 13:40:52 -06:00
Anthony Merlino
3b5f350656 wireless/ieee802154: Removes uneccessary structs surrounding bit-fields in mac802154.c 2017-04-19 14:47:35 -04:00
Anthony Merlino
37e7c67373 wireless/ieee802154: Changes radio interface to match MAC callback design 2017-04-19 13:26:44 -04:00
Anthony Merlino
3950541136 wireless/ieee802154: Renames mac802154_devwrapper_s to mac802154_chardevice_s 2017-04-19 13:26:44 -04:00
Gregory Nutt
dbafc0fc49 ieee802154: Purely cosmetic changes from review of last PR. 2017-04-19 09:53:32 -06:00
Anthony Merlino
de4e2d84c4 wireless/ieee802154: Simplifies MAC callback interface. Adds missing data type definitions 2017-04-19 11:30:43 -04:00
Gregory Nutt
35756d6295 ieee802.15.4: Cosmetic changes from review of last PR. 2017-04-18 14:25:23 -06:00
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
bbeadc2274 6loWPAN network driver: Still only a skeleton but has some added though experimentation. 2017-04-16 07:50:11 -06:00
Gregory Nutt
8786770d7d Costmetic change from review of last PR 2017-04-15 15:59:00 -06:00
Anthony Merlino
2bc758c3eb wireless/ieee802154: Bind MAC phyif to radio 2017-04-15 13:44:15 -04:00
Anthony Merlino
16edc77965 wireless/ieee802154: Skeleton code for request associate 2017-04-15 13:26:03 -04:00
Anthony Merlino
36a6bda755 wireless/ieee802154: Starts adding MAC request data functionality 2017-04-15 13:22:36 -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
30db2835a1 Trivial fix to spacing 2017-04-15 09:36:11 -06:00
Gregory Nutt
a8706d8afa wireless/ieee802154: Correct a few more compile issues. 2017-04-14 13:58:25 -06:00
Gregory Nutt
92c83489ba radio802154_device.c now accesses the PHY layer via the IOCTL helper functions. 2017-04-14 13:04:24 -06:00
Gregory Nutt
0c4ff5e60b wireless/ieee802154: Add radio IOCTL helpers 2017-04-14 12:59:49 -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
6004f33f61 Trivial cleanup 2017-04-14 10:47:46 -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
fae1df31dc ieee802.15.4 netdev: Add IOCTL support. 2017-04-13 10:18:57 -06:00
Gregory Nutt
af1a9db4f6 Some trivial addtions to the still fragmentary IEEE802.15.4 MAC network driver. 2017-04-09 06:15:55 -06:00
Gregory Nutt
5a0636d8bc Trivial change to spacing 2017-04-09 05:49:30 -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
11bd9afe53 wireless/ieee802154: Add a partial implementation of the IEEE802.15.4 network driver. This is very incomplete on the initial commit. 2017-04-08 14:21:20 -06:00
Gregory Nutt
83660ac30e Add configuration/build support for an IEEE802.15.4 network device. 2017-04-08 13:27:03 -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
94730f69d1 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-07 17:05:37 -06:00
Gregory Nutt
19f19e31eb 6loWPAN: Correct some list handling logic. 2017-04-07 08:13:18 -06:00
Gregory Nutt
9893b7243b Trivial changes from review of last PR. 2017-04-05 13:28:35 -06:00
Anthony Merlino
21673f942d Merged in merlin17/nuttx/ieee802154 (pull request #311)
Ieee802154

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-04-05 19:17:32 +00:00
Anthony Merlino
2ecca492ad wireless/ieee802154: WIP for MAC char driver write functionality 2017-04-05 15:07:58 -04:00
Anthony Merlino
aada26f903 wireless/ieee802154: Defines more data types/macros. Some renaming and cleanup 2017-04-05 15:03:47 -04:00
Gregory Nutt
cd64339413 Still try to recover from bad merge. 2017-04-03 15:31:18 -06:00
Gregory Nutt
ca7040b7c1 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-03 15:28:46 -06:00
Gregory Nutt
2c06f8ab78 6loWPAN: Updates/fixes from early testing with the IEEE802.15.4 loopback driver. 2017-04-03 12:01:04 -06:00
Gregory Nutt
e9d831ac60 wireless/ieee802154: Add initialization logic for loopback driver; configs/sim: Add configuration for testing 6loWPAN; net/sixlowpan: Fix for compilation with debug output enabled. 2017-04-03 09:15:00 -06:00
Gregory Nutt
068ac948e1 sim: Add a configuration for testing 6loWPAN. 2017-04-03 08:46:16 -06:00
Gregory Nutt
1b3cb3752a Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-03 08:12:04 -06:00