Commit Graph

30044 Commits

Author SHA1 Message Date
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
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
Gregory Nutt
6618336a39 pthread_mutex_unlock(): Missing check for the case where pthread_mutex_lock() is called when the mutex is not locked. In that case, it would increment the underlying semaphore avove 1. This is the fix for a problem noted by initialkjc@yahoo.com. 2017-06-21 06:40:09 -06:00
Anthony Merlino
9b2df31adc ieee802154: Fixes Kconfig naming for number of TX desc and number of notifications 2017-06-21 01:00:42 -04:00
Anthony Merlino
45a32a116b wireless/ieee802154: Minor naming change to align better with coding guidelines 2017-06-20 19:14:05 -04:00
Gregory Nutt
cca0013674 Fix some backward arguments in the debug statement 2017-06-20 16:06:35 -06:00
Gregory Nutt
691442a7df Merge branch 'ieee802154' 2017-06-20 15:09:18 -06:00
Gregory Nutt
22257c41cb Merge remote-tracking branch 'origin/master' into ieee802154 2017-06-20 15:08:41 -06:00
Gregory Nutt
cd8ac3f070 ieee802154 MAC: Free allocated TX descriptor if an error occurs after the descriptor has been allocated. 2017-06-20 15:00:23 -06:00
Gregory Nutt
d9f549121c ieee802154_req_data: Don't modify the IOB until we are certain that no EINTR errors will occur. Otherwise, the retry will fail 2017-06-20 14:27:22 -06:00
David Sidrane
345ea957cf Merged in david_s5/nuttx/upstream_kinetis (pull request #414)
Kinetis:I2C fixed mis-placed kinetis_i2c_endwait

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-20 20:22:17 +00:00
David Sidrane
839a6e09f4 Kinetis:I2C fixed mis-placed kinetis_i2c_endwait
Fixed accedently replaced post with wait.
2017-06-20 10:01:35 -10:00
Gregory Nutt
5de74441a6 Costmetic change from review of last PR 2017-06-20 13:33:14 -06:00
David Sidrane
1ee03d7500 Merged in david_s5/nuttx/upstream_kinetis (pull request #413)
Kinetis:I2C driver added I2C3, reference counting and reset

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-06-20 19:31:38 +00:00
Gregory Nutt
192bacbd7f ieee802154 network driver now retries if ieee802154_req_data() returns EINTR. In clicker2-stm32 6LoWPAN configuration, increased the number of TX descriptors to match then number of IOBs. 2017-06-20 13:30:17 -06:00
David Sidrane
9e0f583774 Kinetis:I2C driver added I2C3, reference counting and reset
Refactored the driver to support reference counting and reset
   added I2C3
2017-06-20 08:34:12 -10:00
Sebastien Lorquet
0bf4893b2c STM32: Allow clock frequencies > 168 Mhz on stm32f427/429. We need to enable the power overdrive for this case. This patch allows the required bits to be set in proper sequence. It also modifies the local register access operations to allow more than 16-bit registers. 2017-06-20 11:56:54 -06:00
Gregory Nutt
d3b9ea9d66 Trivial.. missing newlines in debug output 2017-06-20 11:50:04 -06:00
Gregory Nutt
e0b1bb6c5f 802.15.4 MAC: Fix some errors in the previous commit. 2017-06-20 11:33:03 -06:00
Gregory Nutt
a82ab4b729 mac802154_req_data() can return without releasing the exclsem 2017-06-20 11:23:31 -06:00
Gregory Nutt
6dafb4f532 6LoWPAN: Add debug statements; Update configuration, need to specific 6LoWPAN compatible port numbers. 2017-06-20 10:37:32 -06:00