Commit Graph

3366 Commits

Author SHA1 Message Date
Gregory Nutt
69d3188687 Merge branch 'beacon802154' of bitbucket.org:nuttx/nuttx into beacon802154 2017-07-05 11:06:40 -06:00
Gregory Nutt
ffae9f0251 include/nuttx/input: Remove bogus, obsolete keypad.h header file. 2017-07-04 15:58:39 -06:00
Gregory Nutt
c0c275c8fc IP forwarding. Adds a little more structure to handle passing packets received on one network device to another network device. Logic is still incomplete. 2017-07-04 10:19:52 -06:00
Gregory Nutt
e2dc0c4de8 Merge remote-tracking branch 'origin/master' into beacon802154 2017-07-03 08:03:43 -06:00
Gregory Nutt
68315b7444 Merged clang into master 2017-07-03 07:04:57 -06:00
Gregory Nutt
c004fcc226 Merge remote-tracking branch 'origin/master' into beacon802154 2017-07-02 11:30:15 -06:00
Gregory Nutt
09ab651e02 samv71-xult: Add support for the MRF24J40 radio and create a mrf24j40-starhub configuration. A few fixes to IPv6 and 6LoWPAN were required to have 6LoWPAN and Ethernet coexisting. Untested and expect some complexity in the bring-up. 2017-07-02 11:04:57 -06:00
Goran Mekić
44bd7d3b7f Initial clang compile 2017-07-02 06:24:26 -06:00
Anthony Merlino
06b99588c0 ieee802154: Fixes resp_waittime field in ieee802154_macattr_u 2017-07-01 17:05:42 -04:00
Anthony Merlino
29e028f7ac ieee802154: Minor renaming to align better with coding guidelines 2017-07-01 17:05:42 -04:00
Anthony Merlino
b981ced4d4 ieee802154: Finishes beacon association functionality 2017-07-01 17:05:42 -04:00
Anthony Merlino
6b17d5ccc9 ieee802154: Minor changes to align closer with coding standard 2017-07-01 17:05:42 -04:00
Gregory Nutt
d280f8854e include/nuttx/net and net/: Move private prototype of netdev_foreach() from the public include/nuttx/net/net.h to the private net/netdev/ndetdev.h header file where it belongs. 2017-07-01 08:39:39 -06:00
Gregory Nutt
28e9fe32b6 include/: Remove dangling space at the end of lines. 2017-06-28 13:30:08 -06:00
Gregory Nutt
1f81b14610 Beacon logic: Damage control. Looks like something went wrong with the PR merge. 2017-06-26 11:03:44 -06:00
Anthony Merlino
da8afe9d9e ieee802154: Finishes transmission of beacon frames, and performing a passive scan 2017-06-25 18:08:00 -04:00
Anthony Merlino
683bd6e10e ieee802154: Adds some missing elements to start support for beacon-enabled networks 2017-06-25 18:08:00 -04:00
Gregory Nutt
2fb938202c 6LoWPAN: TCP logic was not obeying MTU packet size limitations. Other TCP-specific issues also fixed. There remains a major outstanding issue with ACK handling. 2017-06-24 09:48:41 -06:00
Gregory Nutt
328a464f99 6LoWPAN: Fix a typo in an index that prevented use with HC1 and extended addresses. 2017-06-23 10:08:03 -06:00
Gregory Nutt
1a46ea644d 6LoWPAN: Add missing IPv6 address creation to HC1 decode logic. 2017-06-23 09:45:09 -06:00
Gregory Nutt
4a517ad48d 6LoWPAN: Just adds more debug output 2017-06-22 15:19:18 -06:00
Gregory Nutt
bc8ad02ee5 6LoWPAN: Various fixes from retesting on simulator with short addressing. 2017-06-22 11:42:52 -06:00
Gregory Nutt
05590a2228 6LoWPAN: Correct a few addressing issues. The apps/examples/udp test now appears to be fully functional. Also reserve two bytes at the end of the frame for the FCS. 2017-06-21 13:43:53 -06:00
Anthony Merlino
b1ce07deb1 Swithches IEEE 802.15.4 based code to using byte arrays instead of uint16_t values for short address and PAN ID 2017-06-19 05:55:28 -04:00
Gregory Nutt
cfea8adacb L should be capitalized in 6LoWPAN 2017-06-18 16:00:08 -06:00
Gregory Nutt
698dd6d7d1 Merge remote-tracking branch 'origin/master' into ieee802154 2017-06-18 08:23:42 -06:00
Gregory Nutt
3ad71ce4b7 rfc6775: Fix header, add references, correct naming. This is NOT ICMPv6, but part of 6LoWPAN that acts like ICMPv6. 2017-06-18 08:23:18 -06:00
Gregory Nutt
f31e20753c Update TODO list; Add RFC6775 header file. 2017-06-18 08:09:33 -06:00
Anthony Merlino
d5481aabf4 wireless/ieee802154: Fixes ordering of strings associated with changed enum 2017-06-17 13:50:50 -04:00
Gregory Nutt
c27cee2a94 configs/sim/sixlowpan: Refresh configuration. 2017-06-17 07:34:35 -06:00
Anthony Merlino
ca30b6c02a wireless/ieee802154: Fixes issue with wrong information being sent in a rejected association response frame 2017-06-15 13:01:28 -04:00
Gregory Nutt
77757410c8 Remove dangling white space at the end of lines. 2017-06-15 10:46:48 -06:00
Gregory Nutt
535ea4e0f5 Merge remote-tracking branch 'origin/master' into ieee802154 2017-06-15 10:34:38 -06:00
Gregory Nutt
4a88d6a50a Merge branch 'ieee802154' of bitbucket.org:nuttx/nuttx into ieee802154 2017-06-15 10:32:55 -06:00
Anthony Merlino
e30501ebd4 wireless/ieee802154: Lots of fixes, cleanup, new functionality. Functional 2017-06-15 12:11:52 -04:00
Gregory Nutt
a86f46bc54 MCP1515: Eliminate some warnings 2017-06-14 09:38:58 -06:00
Gregory Nutt
23a6ff5846 pthreads: Move pthread_barrier_init, pthread_barrier_destroy, and pthread_barrier_wait from sched/pthreads to libc/pthreads. This just coordinate other OS interface calls but are not a fundamental OS interfaces and, hence, do not belong within the OS. 2017-06-14 07:59:54 -06:00
Gregory Nutt
ae168bffa0 pthreads: Move pthread_cond_init and pthread_cond_destory from sched/pthreads to libc/pthreads. This just coordinate other OS interface calls but are not a fundamental OS interfaces and, hence, do not belong within the OS. 2017-06-14 07:48:45 -06:00
Gregory Nutt
557fd6504f pthreads: Move pthread_once from sched/pthreads to libc/pthreads. pthread_once just coordinates other OS interface calls but is not a fundamental OS interface and, hence, does not belong within the OS. 2017-06-14 07:31:10 -06:00
Gregory Nutt
8ae5450268 pthreads: Move pthread_yield from sched/pthreads to libc/pthreads. it is a simple wrapper for sched_yield and does not belong within the OS. 2017-06-14 07:31:10 -06:00
Anthony Merlino
908d438047 WIP: wireless/ieee802154: More work on association/beacon-enabled networks 2017-06-14 02:49:32 -04:00
Juha Niskanen
e577072790 power: battery_charger: add ioctl for charging input current 2017-06-06 06:56:50 -06:00
Jussi Kivilinna
05e5841000 include/nuttx/spi/spi/h: Use of argument to SPI_SEND should be within parentheses. 2017-05-31 09:20:14 -06:00
Juha Niskanen
80cc19d6b0 drivers/input: add Cypress MBR3108 CapSense touch button driver 2017-05-31 06:31:53 -06:00
Gregory Nutt
ae17e6bcf0 Cosmetic 2017-05-30 12:04:48 -06:00
Alan Carvalho de Assis
ef53800fa9 remove pcd8544_power() comment, this function doesn't exist for this driver 2017-05-26 11:38:17 -03:00
Alan Carvalho de Assis
8df5c29857 Add driver for Nokia 5110 (Philips PCD8544) 2017-05-26 10:53:13 -03:00
Gregory Nutt
38ae28e978 MCP2515: Changes from review of last PR 2017-05-23 12:22:49 -06:00
Alan Carvalho de Assis
001919ffe9 Add CANBUS SPIDEV definition 2017-05-23 14:33:52 -03:00
Alan Carvalho de Assis
eb7373cedf Add Microchip MCP2515 CAN Bus controller driver 2017-05-23 14:28:52 -03:00
Taras Drozdovsky
4ab2a3661e STM32F4: add cs43l22 audio driver and i2s driver 2017-05-21 14:14:09 -06:00
Gregory Nutt
679a08e371 Merge remote-tracking branch 'spiriou/wapi_scan' 2017-05-21 09:25:02 -06:00
Simon Piriou
6b15c26e56 bcmf: add SIOCGIWSCAN ioctl support 2017-05-20 22:13:15 +02: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
Gregory Nutt
7fd08a60a3 Move prototype from nuttx/include/nuttx/arch.h to apps/include/platform/cxxinitialize.h 2017-05-13 16:53:55 -06:00
Gregory Nutt
14ae6df182 locale.h: Add a bogus definition of locale_t 2017-05-12 10:13:18 -06:00
Gregory Nutt
7698790be1 Changes from review of last PR 2017-05-12 09:04:52 -06:00
Alan Carvalho de Assis
853d332b6c Move CAN subsystem to its own directory and put device drivers there
Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com>
2017-05-12 11:48:47 -03:00
Gregory Nutt
0de294a586 Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they. 2017-05-11 13:35:56 -06:00
Gregory Nutt
d3b9f5b37f Syslog buffering: Use IOBs to buffer data, not an on-stack buffer 2017-05-10 17:36:08 -06:00
Gregory Nutt
20727d17c3 SYSLOG: Add option to buffer SYSLOG output to avoid interleaving. 2017-05-10 14:42:43 -06:00
Juha Niskanen
4f18b40429 mtd/config: erase block between block read and write 2017-05-10 08:25:39 -06:00
Anthony Merlino
806dcd9a47 wireless/ieee802154: Brings closer to Nuttx coding style 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
3fa8e32e36 wireless/ieee802154: MRF24J40: Finishes receive functionality, supports promicuous mode, and rxonidle attributes 2017-05-08 16:23:13 -04:00
Anthony Merlino
bbb85332fd wireless/ieee802154: Finishes MAC char driver read functionality 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
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
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
Anthony Merlino
b98ba3b6fe wireless/ieee802154: Fixes ieee802154_data_ind_s 2017-05-05 12:07:38 -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
2c57c3f83b wireless/ieee802154: Changes rxenable at radio layer 2017-05-05 11:15:38 -04:00
Gregory Nutt
14fc1b2d39 6loWPAN: Local MAC address is fixed by the configuration. The remote address be with short or extended. 2017-05-04 19:17:38 -06: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
d385f46130 6loWPAN: The last vestiges of MAC header generate stripped out. 2017-05-04 13:19:11 -06:00
Gregory Nutt
1cf891bbe1 Another baby step in removing MAC knowledge from 6loWPAN. 2017-05-04 11:33:22 -06:00
Gregory Nutt
6f6e61769a 6loWPAN: Remove final references to Rime from code. 2017-05-04 09:05:41 -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
Gregory Nutt
6a45afdd75 Merge remote-tracking branch 'origin/master' into ieee802154 2017-05-04 07:11:19 -06:00
Jussi Kivilinna
afc46cb7ba fixedmath: add square root and b32_t conversion operators 2017-05-04 06:50:08 -06:00
Simon Piriou
b5e1ea4bef bcmf: fix frame not freed when dropped + cleanup 2017-05-03 23:19:28 +02: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
Gregory Nutt
0afae22638 MAC: meta data must be const to assure that it is not modified. 2017-05-03 08:01:30 -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
Gregory Nutt
e94865a317 Merge remote-tracking branch 'origin/master' into photon 2017-05-02 08:49:19 -06:00