Commit Graph

30063 Commits

Author SHA1 Message Date
Gregory Nutt
5a8668b362 6LoWPAN TCP: Fix more ACK handling, fix some callback flag settings. Now the TCP test appears fully functional on 6LoWPAN. 2017-06-25 13:00:42 -06:00
Gregory Nutt
ff08f799ca IEEE802.15.4: Update RX statistics in network driver. Update README files. 2017-06-25 11:18:27 -06:00
Gregory Nutt
58e3558c55 6LoWPAN: Modify the the way TCP headers are transferred -- yet again. TCP packet reassembly now seems to work OK, but no there now does not seem to be a listener on the port. 2017-06-24 21:12:46 -06:00
Gregory Nutt
73d32a962d 6LoWPAN: HC06, copy TCP header as though it were data. 2017-06-24 18:29:07 -06:00
Gregory Nutt
74c97f7e7f 6LoWPAN: Various fixes for a clean build if either TCP or UDP are disabled. Given the current state of TCP, it is recommended that you disable TCP. 2017-06-24 16:53:00 -06:00
Gregory Nutt
3203f0a93a 6LoWPAN TCP: Major re-architecting of TCP logic to properly handle TCP stuf like ACKs and TPC windowing which were not properly covered in the initial design. Still does not work; hangs waiting of ACKs. 2017-06-24 16:00:41 -06:00
Gregory Nutt
96af668ab8 6LoWPAN: Handle case where the local address is zero (listen socket) 2017-06-24 11:57:59 -06: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
fa1d95dee2 configs/sim/sixlowpan: Disable I2C tool. Not so useful in a simulation. 2017-06-23 19:12:52 -06:00
Gregory Nutt
f0cdb0e6b4 clicker2-stm32/mrg24j40-6lowpan: Add apps/examples/nettest. Refresh all configurations that enable the nettest. 2017-06-23 18:11:15 -06:00
Gregory Nutt
d6daa24f4a Merge branch 'master' of bitbucket.org:nuttx/nuttx 2017-06-23 15:51:52 -06:00
Gregory Nutt
f5856282f5 defconfigs: examples/nettest configuration name change 2017-06-23 15:50:02 -06:00
Anthony Merlino
a8370240dc Merged in merlin17/nuttx (pull request #418)
ieee802154: Minor renaming to align better with coding style standard

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-23 19:01:18 +00:00
Anthony Merlino
8831d6e1d4 ieee802154: Minor renaming to align better with coding style standard 2017-06-23 14:51:29 -04:00
Gregory Nutt
ee74a76eca clicker2-stm: Fix naming of a configuration setting 2017-06-23 12:24:31 -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
Masayuki Ishikawa
66f3186c76 Merged in masayuki2009/nuttx.nuttx/network_test (pull request #417)
drivers/net/tun.c: Use critical section instead of semaphore in tun_ifdown()

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-23 12:54:28 +00:00
Ritjaina
3e3729d35f netdb: Fixed buffer size used for sending DNS queries should depend on the configured DNS name size. 2017-06-23 06:30:33 -06:00
Masayuki Ishikawa
32a8d09901 drivers/net/tun.c: Use critical section instead of semaphore in tun_ifdown() 2017-06-23 14:28:53 +09:00
Gregory Nutt
096f72a365 Merge branch 'ieee802154' 2017-06-22 16:28:32 -06:00
Gregory Nutt
b3b3630991 6LoWPAN: fix yet another addressing problem. That does it. Several recent, proper bugfixes unmasked a few errors in the 6LoWPAN logic. But I think full functionality is restored. 2017-06-22 16:27:58 -06:00
Gregory Nutt
9c2f67c477 6LoWPAN: Fix a src/dest address confusion 2017-06-22 16:04:40 -06:00
Gregory Nutt
4a517ad48d 6LoWPAN: Just adds more debug output 2017-06-22 15:19:18 -06:00
Gregory Nutt
922454d515 6LoWPAN: Loopback driver needs to initialize the MAC meta data; Address decompression logic must have the MAC address to handle the most common compression cases. 2017-06-22 13:55:08 -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
b5994560cc 6LoWPAN: Fixes needed when extended addressing is enabled. Currently breaks short addressing. 2017-06-22 09:28:25 -06:00
Gregory Nutt
6903e5895c Merge remote-tracking branch 'origin/master' into ieee802154 2017-06-22 07:04:07 -06:00
Gregory Nutt
2442a9872b Logic of a353602aa9 only applies if CONFIG_NETDEV_MULTINIC 2017-06-22 07:03:37 -06:00
Roland Takacs
81650ad883 Merged in rtakacs/nuttx/all_zeros_addr (pull request #416)
Do not search net device when all-zeros address is used.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-22 12:29:34 +00:00
Gregory Nutt
5e8037390c Fix problems in last commit noted by Jeongchan Kim: last change returned -EINVAL vs EINVAL; Treat the case where the mutex is already unlocked just like the case where the mutex is held by another thread -- return EPERM. 2017-06-22 06:26:00 -06:00
Roland Takacs
a353602aa9 Do not search net device when all-zeros address is used. 2017-06-22 09:14:59 +02:00
Gregory Nutt
b49c52226e Update README 2017-06-21 18:05:36 -06:00
Gregory Nutt
a8282c0c39 Merge branch 'ieee802154' 2017-06-21 13:46:39 -06:00
Gregory Nutt
e795a56493 Merge remote-tracking branch 'origin/master' into ieee802154 2017-06-21 13:46:15 -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
Gregory Nutt
2397bc728b Add some comments to a Kconfig file; Fix a typo introduced in previous commit. 2017-06-21 10:40:36 -06:00
Gregory Nutt
8db9461e0e mrf24j40: Fix a warning (which is actually an error) 2017-06-21 10:28:52 -06:00
Gregory Nutt
a12ff2836c Fixes from review of last PR 2017-06-21 10:15:23 -06:00
Anthony Merlino
cf53c9767e Merged in merlin17/nuttx/ieee802154 (pull request #415)
wireless/ieee802154: Minor naming change to align better with coding guidelines

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-21 16:11:12 +00:00
Gregory Nutt
26cfafdbca Back out a previous (good) change in hope of eliminating PR conflict. 2017-06-21 10:10:13 -06:00
Gregory Nutt
0d290904af Renaming in hope of eliminating a conflict with a pending PR. 2017-06-21 10:08:25 -06:00
Gregory Nutt
a53be51733 6LoWPAN: Correct an error in calculating the location of the UDP header. 2017-06-21 09:17:47 -06:00
Juha Niskanen
90ccdf287d STM32 L4 DMA: Correct USART3_RX bad channel definition 2017-06-21 08:40:33 -06:00
Gregory Nutt
ce9588bbb6 Merge branch 'ieee802154' 2017-06-21 08:22:58 -06:00
Gregory Nutt
e2195077d4 Merge remote-tracking branch 'origin/master' into ieee802154 2017-06-21 08:22:07 -06:00
Gregory Nutt
a3bb6fc139 clicker2-stm32/mrf24j40-6lowpan: Network now runs on LP work queue. 2017-06-21 08:20:51 -06:00
Gregory Nutt
e7e8228b00 Missing option to select CONFIG_MAC802154_NNOTIF in Kconfig 2017-06-21 07:35:09 -06:00
Gregory Nutt
4931792700 Make naming of NTXDESC consistent. I don't know where it should be MAC or IEEE, gut I changed the one that affects the fewest files. 2017-06-21 06:56:34 -06:00
Gregory Nutt
0c3aef9591 Trivial typo fix 2017-06-21 06:48:13 -06:00