Anthony Merlino
9af6b7cdae
Squashed commit of the following:
...
Merged in merlin17/nuttx/mac802154-sock (pull request #479 )
wireless/ieee802154: Adds support for receiving MAC events via IOCTL through socket interface. Other small fixes and cleanup
* ioctl: Cleans up MAC802154IOC values
* wireless/ieee802154: Cleans up MAC802154IOC_NOTIFY_REGISTER logic in character driver
* wireless/ieee802154/mac802154_netdev: Adds support for MAC event notification via IOCTL
* wireless/ieee802154/mac802154: Changes reset logic. No longer reset extended address.
* wireless/ieee802154: Cleans up MAC802154IOC logic
Moves MAC802154IOC from ieee802154_ioctl.h and renames ieee802154_ioctl.h to ieee802154_device.h since it only contains types relevant to the MAC char device now.
* wireless/ieee802154/mac802154_device: Cleans up IOCTL logic for recent changes.
* drivers/wireless/ieee802154/mrf24j40: Adds missing break in case statement
* wireless/ieee802154/mac802154_netdev: Starts adding support for passing MAC events via IOCTL
* wireless/ieee802154/mac802154: Fixes issue with receiver enable logic
* wireless/ieee802154/mac802154: Fixes issue where extended address is cleared and not rewritten after radio reset
* configs/clicker2-stm32/mrf24j40-mac: Enables RAMLOG and wireless driver logging
* wireless/ieee802154/mac802154: Fixes poll logic meant to automatically choose address mode based on short address range.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-09-15 08:04:38 -06:00
Gregory Nutt
88a87f8e3f
6LoWPAN: The original, Contiki-based design used only a single buffer for reassemblying larger packets. This could be a problem issue for hub configurations which really need the capability concurrently reassemble multiple incoming streams concurrently. These was also a design issue in that the reassembly buffer could be corrupted by outgoing packets. The design was extended to support multiple reassembly buffers, each associated with the reassembly tag and source address. This assures that there can be be no corruption of the reassembly once it has started.
2017-08-26 10:00:47 -06:00
Gregory Nutt
a668806b94
Update some README files; Plus minor simplification to a preceding change.
2017-08-24 06:44:35 -06:00
Gregory Nutt
873de7b480
configs/*/README.txt: Update to the new URL for obtaining the ARM toolchain.
2017-08-13 07:18:19 -06:00
Gregory Nutt
2947ca06c9
Avoid some harsh, inappropriate DEBUGASSERT's.
2017-08-05 12:32:31 -06:00
Gregory Nutt
c2fbef2062
b-l475e-iot01a: Add configurations to support a star topology.
2017-08-05 07:53:55 -06:00
Anthony Merlino
706bce0eb7
configs/clicker2-stm32: Fixes Kconfig option dependency
2017-07-18 14:02:13 -04:00
Gregory Nutt
29eb183265
Merge remote-tracking branch 'origin/master' into beacon802154
2017-07-11 09:20:07 -06:00
Gregory Nutt
a6f595e89e
Remove more duplicate Make.defs files
2017-07-11 09:15:29 -06:00
Anthony Merlino
7ff2f90247
configs/clicker2-stm32/mrf24j40-mac: Updates stack size to 2048 to avoid random stack overflows when logging is enabled
2017-07-10 19:47:02 -04:00
Anthony Merlino
4b7d743f32
configs/clicker2-stm32: Adds support for per-function-call stack checking
2017-07-10 13:11:43 -04:00
Anthony Merlino
b9a9ba7dd0
ieee802154: Adds configuration options for verbose logging of certain features, to aid in debugging
2017-07-10 13:06:12 -04:00
Gregory Nutt
771cbc8e3a
Partial conversion of defconfig files to compressed format
2017-07-09 18:24:03 -06:00
Gregory Nutt
47be509d79
Rename CONFIG_STM32_STM32F40XX to CONFIG_STM32_STM32FXXXX since it is used by F4 parts other than F40x
2017-07-06 10:20:14 -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
Gregory Nutt
ae1771454a
6LoWPAN: TCP send logic was returning a failure in one case when, in fact, the send was successful.
2017-06-30 16:07:51 -06:00
Gregory Nutt
af8c5c86f3
6LowPan: Change how the destination node address is handled in the start endpoint configuration. When the star endpoint sent the IPv6 destination address, the HC06 compression logic elided the address -- meaning that it could be reconstructed by the recipient based on the receiver's assigned short address. However, when intercepted by the hub, the uncompressed address does not know the short address of the recipient and instead uses the short address of the hub. This means two things: (1) it looks like the hub address is the destination address, and (2) the uncompressed UDP packet has a bad checksum. This change assures that the destination IPv6 address is not elided in the case of the star endpoint configuration.
2017-06-30 09:32:17 -06:00
Gregory Nutt
ad3ea72ff5
Update a README; refresh some configurations.
2017-06-29 10:55:01 -06:00
Gregory Nutt
6d8df90b79
Clicker2-STM32 + net/: Add configurations to support the endpoint and hub roles in a star topology. Fix various things that broke when IPv6 forwarding was enabled.
2017-06-29 08:16:46 -06:00
Gregory Nutt
c67b807f43
configs/: Remove dangling spaces at the end of lines in *.c and *.h files.
2017-06-28 13:21:20 -06:00
Gregory Nutt
76644b6ead
Update a README.
2017-06-27 09:53:55 -06:00
Gregory Nutt
70cefcf551
Clicker2-STM32: Add support for the Telnet client to the mrf24j40-6lowpan configuration. Useless at the moment because the NuttX telnet daemon does not yet support IPv6.
2017-06-27 07:44:41 -06:00
Gregory Nutt
8cb4636bb1
Update README
2017-06-26 11:54:43 -06:00
Gregory Nutt
aa1708e7c0
6LoWPAN: Update README; fix duplicate and bad memcpy in loopback driver.
2017-06-26 10:53:57 -06:00
Gregory Nutt
249ab6eb18
6LoWPAN: Eliminate a global variable.
2017-06-26 10:49:02 -06:00
Anthony Merlino
da8afe9d9e
ieee802154: Finishes transmission of beacon frames, and performing a passive scan
2017-06-25 18:08:00 -04:00
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
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
96af668ab8
6LoWPAN: Handle case where the local address is zero (listen socket)
2017-06-24 11:57:59 -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
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
Gregory Nutt
4a517ad48d
6LoWPAN: Just adds more debug output
2017-06-22 15:19:18 -06:00
Gregory Nutt
b49c52226e
Update README
2017-06-21 18:05:36 -06:00
Gregory Nutt
a12ff2836c
Fixes from review of last PR
2017-06-21 10:15:23 -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
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
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
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
Gregory Nutt
68a2b84277
Update a README
2017-06-19 16:01:35 -06:00
Gregory Nutt
c5ae864624
/configs/clicker2-stm32/mrf24j40-6lowpan: Enables both client and server UDP tests on the target; Update a README file.
2017-06-19 13:28:48 -06:00
Gregory Nutt
476ca8238b
Update TODO list and some defconfigs.
2017-06-19 10:56:34 -06:00
Gregory Nutt
94b607bda0
Update TODO, enable UDP example in clicker1-stm32/mrf24j40-6lowpan example, make sure that CONFIG_EXAMPLES_UDP_NETINIT is set in all other examples/udp configurations.
2017-06-19 09:59:10 -06:00
Gregory Nutt
cfea8adacb
L should be capitalized in 6LoWPAN
2017-06-18 16:00:08 -06:00
Gregory Nutt
84a75996fb
IEEE 802.15.4 Network Driver: Add logic to setup the network mask, update the MAC-based IPv6 addressing when the network is brought up. The idea is that addressing changes are supposed to occur only while the network is down but won't take effect until the network is up again.
2017-06-18 15:26:56 -06:00
Gregory Nutt
50df37931d
ieee802.15.4: Missing one name change
2017-06-18 11:29:09 -06:00